I (think) the AR8327 switch support now works

Milan Obuch freebsd-mips at dino.sk
Sat Mar 8 22:41:32 UTC 2014


On Sat, 8 Mar 2014 14:18:46 -0800
Adrian Chadd <adrian at freebsd.org> wrote:

> Hi,
> 
> it's a different silicon version.
> 
> Try this patch. It'll get the ar8327 probing and attaching.
> 
> We'll worry about the AR9340 on-board switch after this.
> 
> 
> -a
> 
> Index: arswitch.c
> ===================================================================
> --- arswitch.c    (revision 262681)
> +++ arswitch.c    (working copy)
> @@ -135,6 +135,7 @@
>          sc->sc_switchtype = AR8X16_SWITCH_AR8316;
>          break;
>      case 0x1202:
> +    case 0x1204:
>          chipname = "AR8327";
>          sc->sc_switchtype = AR8X16_SWITCH_AR8327;
>          sc->mii_lo_first = 1;
> 

Well, not yet:

argemdio0: <Atheros AR71xx built-in ethernet interface, MDIO controller> at mem 0x19000000-0x19000fff on nexus0
mdio0: <MDIO> on argemdio0
mdioproxy0: <MII/MDIO proxy, MDIO side> on mdio0
arswitch0: readreg 0x00000000: 0x12041204
arswitch0: readreg 0x00000000: 0x00000000
arswitch0: <Atheros AR8327 Ethernet Switch> on mdio0
device_attach: arswitch0 attach returned 6

Milan


More information about the freebsd-mips mailing list