Date: Sat, 8 Mar 2014 23:41:29 +0100 From: Milan Obuch <freebsd-mips@dino.sk> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-mips@freebsd.org Subject: Re: I (think) the AR8327 switch support now works Message-ID: <20140308234129.76800b5c@zeta.dino.sk> In-Reply-To: <CAJ-VmomnycSYbhf4aKaiK%2BUL%2B-aWXy_tXioRUjMVO62r%2BDpEUA@mail.gmail.com> References: <CAJ-Vmok0cVLnH9DQh%2Bz6XF-NQmPKy_Ez37kLtuCSRThwjQHTJQ@mail.gmail.com> <20140301143607.13a96bd6@zeta.dino.sk> <CAJ-Vmom2coTLFn0zcTa=BzxAOopMjCDUBOtQwOVOyQmCeB19wA@mail.gmail.com> <20140301200546.7ff373d1@zeta.dino.sk> <20140301231239.023b8733@zeta.dino.sk> <CAJ-VmoknT-SWVmcDX-Cx8StUVuZNX%2BqNPzLcMBdLxN7qwssNoA@mail.gmail.com> <20140307140432.0a460da1@zeta.dino.sk> <CAJ-Vmok-nF4QdVmUMGJxt4tX=X%2Bvc4_-G100ZPRnQ-2aWyNCog@mail.gmail.com> <20140307204230.3c86b9b1@zeta.dino.sk> <CAJ-Vmo=B0CG1FSCKYeaCmORJuWbJ24g=%2BQkHV7WC8DTV9m1zKA@mail.gmail.com> <20140308140901.19782009@zeta.dino.sk> <CAJ-VmokM5mPxMbbVyaSpyDcn-Fs32g4heWMPZF7n2OpnFK31oA@mail.gmail.com> <20140308173642.0a48d2c2@zeta.dino.sk> <CAJ-VmomnycSYbhf4aKaiK%2BUL%2B-aWXy_tXioRUjMVO62r%2BDpEUA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 8 Mar 2014 14:18:46 -0800 Adrian Chadd <adrian@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140308234129.76800b5c>