patch-2.4.4 linux/arch/ia64/sn/sn1/iomv.c
Next file: linux/arch/ia64/sn/sn1/irq.c
Previous file: linux/arch/ia64/sn/sn1/error.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Thu Apr 5 12:51:47 2001
- Orig file:
v2.4.3/linux/arch/ia64/sn/sn1/iomv.c
- Orig date:
Thu Jan 4 13:00:15 2001
diff -u --recursive --new-file v2.4.3/linux/arch/ia64/sn/sn1/iomv.c linux/arch/ia64/sn/sn1/iomv.c
@@ -25,11 +25,8 @@
* for accessing registers in bedrock local block
* (so we don't do port&0xfff)
*/
- if (port == 0x1f6 || port == 0x1f7
- || port == 0x3f6 || port == 0x3f7
- || port == 0x1f0 || port == 0x1f1
- || port == 0x1f3 || port == 0x1f4
- || port == 0x1f2 || port == 0x1f5) {
+ if (port >= 0x1f0 && port <= 0x1f7 ||
+ port == 0x3f6 || port == 0x3f7) {
io_base = __IA64_UNCACHED_OFFSET | 0x00000FFFFC000000;
addr = io_base | ((port >> 2) << 12) | (port & 0xfff);
} else {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)