Add in the AR8327 probe/attach code and switch type.
It detects fine, but (as expected) it won't attach just yet, let alone pass traffic. Tested: * DB120, AR8327 switch
This commit is contained in:
parent
dd843f87d3
commit
0e67bf94fc
sys/dev/etherswitch/arswitch
@ -129,6 +129,11 @@ arswitch_probe(device_t dev)
|
||||
chipname = "AR8316";
|
||||
sc->sc_switchtype = AR8X16_SWITCH_AR8316;
|
||||
break;
|
||||
case 0x1202:
|
||||
chipname = "AR8327";
|
||||
sc->sc_switchtype = AR8X16_SWITCH_AR8327;
|
||||
sc->mii_lo_first = 1;
|
||||
break;
|
||||
default:
|
||||
chipname = NULL;
|
||||
}
|
||||
|
@ -35,6 +35,8 @@ typedef enum {
|
||||
AR8X16_SWITCH_AR8226,
|
||||
AR8X16_SWITCH_AR8316,
|
||||
AR8X16_SWITCH_AR9340,
|
||||
AR8X16_SWITCH_AR8327,
|
||||
AR8X16_SWITCH_AR8337,
|
||||
} ar8x16_switch_type;
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user