diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2019-04-05 14:16:31 +0300 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2020-06-13 03:43:17 +0300 |
commit | 5bea3044a74acb3d780288c0fecd0eb25bdda24d (patch) | |
tree | dc440aa431a27831600b334b8d5ca0eaa0ec7813 /arch/alpha | |
parent | 8b3ebda6d81af05b4827f18086d27bee9000f67c (diff) | |
download | linux-5bea3044a74acb3d780288c0fecd0eb25bdda24d.tar.xz |
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>
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/setup.c b/arch/alpha/kernel/setup.c index f5c42a8fcf9c..c3934ef703d8 100644 --- a/arch/alpha/kernel/setup.c +++ b/arch/alpha/kernel/setup.c @@ -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); |