mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 07:31:45 +00:00
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>
This commit is contained in:
parent
8b3ebda6d8
commit
5bea3044a7
@ -253,7 +253,7 @@ reserve_std_resources(void)
|
|||||||
|
|
||||||
/* Fix up for the Jensen's queer RTC placement. */
|
/* Fix up for the Jensen's queer RTC placement. */
|
||||||
standard_io_resources[0].start = RTC_PORT(0);
|
standard_io_resources[0].start = RTC_PORT(0);
|
||||||
standard_io_resources[0].end = RTC_PORT(0) + 0x10;
|
standard_io_resources[0].end = RTC_PORT(0) + 0x0f;
|
||||||
|
|
||||||
for (i = 0; i < ARRAY_SIZE(standard_io_resources); ++i)
|
for (i = 0; i < ARRAY_SIZE(standard_io_resources); ++i)
|
||||||
request_resource(io, standard_io_resources+i);
|
request_resource(io, standard_io_resources+i);
|
||||||
|
Loading…
Reference in New Issue
Block a user