--- stock-2.4.8/drivers/pcmcia/cs.c Wed Jun 20 11:19:02 2001 +++ linux-mips-dev/drivers/pcmcia/cs.c Wed Sep 5 12:51:24 2001 @@ -788,6 +788,10 @@ *base, align); align = 0; } + if ((s->cap.features & SS_CAP_STATIC_MAP) && s->cap.io_offset) { + *base = s->cap.io_offset | (*base & 0x0fff); + return 0; + } /* Check for an already-allocated window that must conflict with what was asked for. It is a hack because it does not catch all potential conflicts, just the most obvious ones. */ --- stock-2.4.8/include/pcmcia/ss.h Fri Feb 16 16:02:37 2001 +++ linux-mips-dev/include/pcmcia/ss.h Wed Sep 5 12:25:36 2001 @@ -52,6 +52,7 @@ u_int features; u_int irq_mask; u_int map_size; + ioaddr_t io_offset; u_char pci_irq; struct pci_dev *cb_dev; struct bus_operations *bus;