.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* Derived from Applicom driver ac.c for SCO Unix */ |
---|
2 | 3 | /* Ported by David Woodhouse, Axiom (Cambridge) Ltd. */ |
---|
3 | 4 | /* dwmw2@infradead.org 30/8/98 */ |
---|
.. | .. |
---|
52 | 53 | #define MAX_BOARD 8 /* maximum of pc board possible */ |
---|
53 | 54 | #define MAX_ISA_BOARD 4 |
---|
54 | 55 | #define LEN_RAM_IO 0x800 |
---|
55 | | -#define AC_MINOR 157 |
---|
56 | 56 | |
---|
57 | 57 | #ifndef PCI_VENDOR_ID_APPLICOM |
---|
58 | 58 | #define PCI_VENDOR_ID_APPLICOM 0x1389 |
---|
.. | .. |
---|
203 | 203 | if (pci_enable_device(dev)) |
---|
204 | 204 | return -EIO; |
---|
205 | 205 | |
---|
206 | | - RamIO = ioremap_nocache(pci_resource_start(dev, 0), LEN_RAM_IO); |
---|
| 206 | + RamIO = ioremap(pci_resource_start(dev, 0), LEN_RAM_IO); |
---|
207 | 207 | |
---|
208 | 208 | if (!RamIO) { |
---|
209 | 209 | printk(KERN_INFO "ac.o: Failed to ioremap PCI memory " |
---|
.. | .. |
---|
258 | 258 | /* Now try the specified ISA cards */ |
---|
259 | 259 | |
---|
260 | 260 | for (i = 0; i < MAX_ISA_BOARD; i++) { |
---|
261 | | - RamIO = ioremap_nocache(mem + (LEN_RAM_IO * i), LEN_RAM_IO); |
---|
| 261 | + RamIO = ioremap(mem + (LEN_RAM_IO * i), LEN_RAM_IO); |
---|
262 | 262 | |
---|
263 | 263 | if (!RamIO) { |
---|
264 | 264 | printk(KERN_INFO "ac.o: Failed to ioremap the ISA card's memory space (slot #%d)\n", i + 1); |
---|