diff options
Diffstat (limited to 'drivers/net/pcmcia/3c589_cs.c')
-rw-r--r-- | drivers/net/pcmcia/3c589_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/3c589_cs.c b/drivers/net/pcmcia/3c589_cs.c index b0772df31057..122ef4a9488c 100644 --- a/drivers/net/pcmcia/3c589_cs.c +++ b/drivers/net/pcmcia/3c589_cs.c | |||
@@ -298,7 +298,7 @@ static int tc589_config(struct pcmcia_device *link) | |||
298 | goto failed; | 298 | goto failed; |
299 | 299 | ||
300 | dev->irq = link->irq; | 300 | dev->irq = link->irq; |
301 | dev->base_addr = link->io.BasePort1; | 301 | dev->base_addr = link->resource[0]->start; |
302 | ioaddr = dev->base_addr; | 302 | ioaddr = dev->base_addr; |
303 | EL3WINDOW(0); | 303 | EL3WINDOW(0); |
304 | 304 | ||