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

Signed-off-by: Mikulas Patocka <mpato...@redhat.com>

---
 arch/alpha/kernel/setup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-stable/arch/alpha/kernel/setup.c
===================================================================
--- linux-stable.orig/arch/alpha/kernel/setup.c 2019-04-05 12:42:34.000000000 
+0200
+++ linux-stable/arch/alpha/kernel/setup.c      2019-04-05 12:42:34.000000000 
+0200
@@ -254,7 +254,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);

Reply via email to