|
@@ -882,7 +882,7 @@ static int smc9000_probe ( struct nic *nic, struct isa_device *isa ) {
|
882
|
882
|
|
883
|
883
|
/* is it using AUI or 10BaseT ? */
|
884
|
884
|
SMC_SELECT_BANK(nic->ioaddr, 1);
|
885
|
|
- if (inw(nic->ioaddr + CONFIG) & CFG_AUI_SELECT)
|
|
885
|
+ if (inw(nic->ioaddr + CFG) & CFG_AUI_SELECT)
|
886
|
886
|
media = 2;
|
887
|
887
|
else
|
888
|
888
|
media = 1;
|
|
@@ -911,12 +911,12 @@ static int smc9000_probe ( struct nic *nic, struct isa_device *isa ) {
|
911
|
911
|
/* Select which interface to use */
|
912
|
912
|
SMC_SELECT_BANK(nic->ioaddr, 1);
|
913
|
913
|
if ( media == 1 ) {
|
914
|
|
- _outw( inw( nic->ioaddr + CONFIG ) & ~CFG_AUI_SELECT,
|
915
|
|
- nic->ioaddr + CONFIG );
|
|
914
|
+ _outw( inw( nic->ioaddr + CFG ) & ~CFG_AUI_SELECT,
|
|
915
|
+ nic->ioaddr + CFG );
|
916
|
916
|
}
|
917
|
917
|
else if ( media == 2 ) {
|
918
|
|
- _outw( inw( nic->ioaddr + CONFIG ) | CFG_AUI_SELECT,
|
919
|
|
- nic->ioaddr + CONFIG );
|
|
918
|
+ _outw( inw( nic->ioaddr + CFG ) | CFG_AUI_SELECT,
|
|
919
|
+ nic->ioaddr + CFG );
|
920
|
920
|
}
|
921
|
921
|
|
922
|
922
|
smc_phy_configure(nic->ioaddr);
|