Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

alpha: fix rtc port ranges

Alpha incorrectly reports "0070-0080 : rtc" in /proc/ioports.
Fix this, so that it is "0070-007f".

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>

authored by

Mikulas Patocka and committed by
Matt Turner
5bea3044 8b3ebda6

+1 -1
+1 -1
arch/alpha/kernel/setup.c
··· 253 253 254 254 /* Fix up for the Jensen's queer RTC placement. */ 255 255 standard_io_resources[0].start = RTC_PORT(0); 256 - standard_io_resources[0].end = RTC_PORT(0) + 0x10; 256 + standard_io_resources[0].end = RTC_PORT(0) + 0x0f; 257 257 258 258 for (i = 0; i < ARRAY_SIZE(standard_io_resources); ++i) 259 259 request_resource(io, standard_io_resources+i);