alpha: fix rtc port ranges
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 5 Apr 2019 11:16:31 +0000 (07:16 -0400)
committerMatt Turner <mattst88@gmail.com>
Sat, 13 Jun 2020 00:43:17 +0000 (17:43 -0700)
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>
arch/alpha/kernel/setup.c

index f5c42a8fcf9c83a7a00c07516a6f0c96f0269f66..c3934ef703d8fa86bae83b4a5d9db794d09e5a55 100644 (file)
@@ -253,7 +253,7 @@ reserve_std_resources(void)
 
        /* Fix up for the Jensen's queer RTC placement.  */
        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)
                request_resource(io, standard_io_resources+i);