diff options
Diffstat (limited to 'drivers/net/pcmcia/smc91c92_cs.c')
-rw-r--r-- | drivers/net/pcmcia/smc91c92_cs.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c index 20fcc3576202..ae024bfc1ae4 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/pcmcia/smc91c92_cs.c | |||
@@ -999,12 +999,8 @@ static int smc91c92_config(struct pcmcia_device *link) | |||
999 | link->conf.ConfigBase = parse->config.base; | 999 | link->conf.ConfigBase = parse->config.base; |
1000 | link->conf.Present = parse->config.rmask[0]; | 1000 | link->conf.Present = parse->config.rmask[0]; |
1001 | 1001 | ||
1002 | tuple->DesiredTuple = CISTPL_MANFID; | 1002 | smc->manfid = link->manf_id; |
1003 | tuple->Attributes = TUPLE_RETURN_COMMON; | 1003 | smc->cardid = link->card_id; |
1004 | if (first_tuple(link, tuple, parse) == CS_SUCCESS) { | ||
1005 | smc->manfid = parse->manfid.manf; | ||
1006 | smc->cardid = parse->manfid.card; | ||
1007 | } | ||
1008 | 1004 | ||
1009 | if ((smc->manfid == MANFID_OSITECH) && | 1005 | if ((smc->manfid == MANFID_OSITECH) && |
1010 | (smc->cardid != PRODID_OSITECH_SEVEN)) { | 1006 | (smc->cardid != PRODID_OSITECH_SEVEN)) { |