aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/pcnet_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcmcia/pcnet_cs.c')
-rw-r--r--drivers/net/pcmcia/pcnet_cs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c
index 69135761719a..68c46751f84f 100644
--- a/drivers/net/pcmcia/pcnet_cs.c
+++ b/drivers/net/pcmcia/pcnet_cs.c
@@ -420,7 +420,7 @@ static hw_info_t *get_ax88190(struct pcmcia_device *link)
420 int i, j; 420 int i, j;
421 421
422 /* Not much of a test, but the alternatives are messy */ 422 /* Not much of a test, but the alternatives are messy */
423 if (link->conf.ConfigBase != 0x03c0) 423 if (link->config_base != 0x03c0)
424 return NULL; 424 return NULL;
425 425
426 outb_p(0x01, ioaddr + EN0_DCFG); /* Set word-wide access. */ 426 outb_p(0x01, ioaddr + EN0_DCFG); /* Set word-wide access. */
@@ -564,7 +564,7 @@ static hw_info_t *pcnet_try_config(struct pcmcia_device *link,
564 564
565 if ((link->manf_id == MANFID_IBM) && 565 if ((link->manf_id == MANFID_IBM) &&
566 (link->card_id == PRODID_IBM_HOME_AND_AWAY)) 566 (link->card_id == PRODID_IBM_HOME_AND_AWAY))
567 link->conf.ConfigIndex |= 0x10; 567 link->config_index |= 0x10;
568 568
569 ret = pcmcia_request_configuration(link, &link->conf); 569 ret = pcmcia_request_configuration(link, &link->conf);
570 if (ret) 570 if (ret)
@@ -581,7 +581,7 @@ static hw_info_t *pcnet_try_config(struct pcmcia_device *link,
581 } else 581 } else
582 dev->if_port = 0; 582 dev->if_port = 0;
583 583
584 if ((link->conf.ConfigBase == 0x03c0) && 584 if ((link->config_base == 0x03c0) &&
585 (link->manf_id == 0x149) && (link->card_id == 0xc1ab)) { 585 (link->manf_id == 0x149) && (link->card_id == 0xc1ab)) {
586 dev_info(&link->dev, 586 dev_info(&link->dev,
587 "this is an AX88190 card - use axnet_cs instead.\n"); 587 "this is an AX88190 card - use axnet_cs instead.\n");