Re: alc(4) support for Atheros AR815x

2011-06-29 Thread Mark Kettenis
> From: matteo filippetto > Date: Wed, 29 Jun 2011 08:26:21 +0200 > > > Hi, > > > > I have a eeepc 1001pxd with "Attansic Technology L2C" working > > and this patch didn't break the nic. > > > > One problem: very slow connectioncan I help? > > try to make some tests? > > > > Just an update:

Re: alc(4) support for Atheros AR815x

2011-06-28 Thread matteo filippetto
> Hi, > > I have a eeepc 1001pxd with "Attansic Technology L2C" working > and this patch didn't break the nic. > > One problem: very slow connectioncan I help? > try to make some tests? > Just an update: slow connection was a problem with my AP wifi. So my device is working well. Thank you,

Re: alc(4) support for Atheros AR815x

2011-06-28 Thread matteo filippetto
2011/5/16 Stuart Henderson : > So far, only had reports from L1C and the new devices (which is > not the point of sending out this sort of diff). This is a fairly > large diff and changes behaviour for existing devices. > > Has anyone with a currently-working L2C tested this to make sure > it doesn

Re: alc(4) support for Atheros AR815x

2011-05-18 Thread Stuart Henderson
Since nobody with a working PCI_PRODUCT_ATTANSIC_L2C seems interested, and the devices newly added in this diff are showing up more often in submitted dmesg than the L2C version matched by the current driver, I intend to commit this tomorrow unless there are objections. On 2011/05/16 11:16, Stuar

Re: alc(4) support for Atheros AR815x

2011-05-16 Thread Stuart Henderson
So far, only had reports from L1C and the new devices (which is not the point of sending out this sort of diff). This is a fairly large diff and changes behaviour for existing devices. Has anyone with a currently-working L2C tested this to make sure it doesn't break their nic? On 2011/05/01 20:1

Re: alc(4) support for Atheros AR815x

2011-05-05 Thread Edd Barrett
On Wed, May 04, 2011 at 09:32:47AM +0200, Gabriel Linder wrote: > I have an alc device too, and would like to fix it. Starting from > kevlo's diff I updated it some month ago to compile, and compared > FreeBSD driver to add some more things, finding some bugs in their > driver (reported and fixed i

Re: alc(4) support for Atheros AR815x

2011-05-04 Thread Gabriel Linder
On 05/02/11 14:23, Edd Barrett wrote: On Mon, May 02, 2011 at 11:02:41AM +0100, Stuart Henderson wrote: On 2011/05/02 01:16, Edd Barrett wrote: On Sun, May 01, 2011 at 08:10:56PM +0100, Stuart Henderson wrote: On 2011/05/01 18:35, Edd Barrett wrote: I have acquired a netboot (packard bell dot

Re: alc(4) support for Atheros AR815x

2011-05-03 Thread Alexey Suslikov
Edd Barrett wrote: > On Mon, May 02, 2011 at 11:02:41AM +0100, Stuart Henderson wrote: > > On 2011/05/02 01:16, Edd Barrett wrote: > > > On Sun, May 01, 2011 at 08:10:56PM +0100, Stuart Henderson wrote: > > > > On 2011/05/01 18:35, Edd Barrett wrote: > > > > > I have acquired a netboot (packard be

Re: alc(4) support for Atheros AR815x

2011-05-02 Thread Edd Barrett
On Mon, May 02, 2011 at 11:02:41AM +0100, Stuart Henderson wrote: > On 2011/05/02 01:16, Edd Barrett wrote: > > On Sun, May 01, 2011 at 08:10:56PM +0100, Stuart Henderson wrote: > > > On 2011/05/01 18:35, Edd Barrett wrote: > > > > I have acquired a netboot (packard bell dot s), which I think uses

Re: alc(4) support for Atheros AR815x

2011-05-02 Thread Stuart Henderson
On 2011/05/02 01:16, Edd Barrett wrote: > On Sun, May 01, 2011 at 08:10:56PM +0100, Stuart Henderson wrote: > > On 2011/05/01 18:35, Edd Barrett wrote: > > > I have acquired a netboot (packard bell dot s), which I think uses this > > > NIC. Is > > > there an updated diff? > > > > Yes I just took

Re: alc(4) support for Atheros AR815x

2011-05-02 Thread Kevin Lo
On Sun, 2011-05-01 at 18:35 +0100, Edd Barrett wrote: > On Thu, Apr 28, 2011 at 07:21:16AM +1000, Jonathan Gray wrote: > > On Tue, Jan 25, 2011 at 06:24:28PM +0800, Kevin Lo wrote: > > > Hi, > > > > > > The following diff adds support for Atheros AR8151/AR8152 chipsets; > > > mostly from FreeBSD.

Re: alc(4) support for Atheros AR815x

2011-05-01 Thread Edd Barrett
On Mon, May 02, 2011 at 01:16:55AM +0100, Edd Barrett wrote: > On Sun, May 01, 2011 at 08:10:56PM +0100, Stuart Henderson wrote: > > On 2011/05/01 18:35, Edd Barrett wrote: > > > I have acquired a netboot (packard bell dot s), which I think uses this > > > NIC. Is > > > there an updated diff? > >

Re: alc(4) support for Atheros AR815x

2011-05-01 Thread Edd Barrett
On Sun, May 01, 2011 at 08:10:56PM +0100, Stuart Henderson wrote: > On 2011/05/01 18:35, Edd Barrett wrote: > > I have acquired a netboot (packard bell dot s), which I think uses this > > NIC. Is > > there an updated diff? > > Yes I just took the 2 minutes it took to apply it and fix > the minor

Re: alc(4) support for Atheros AR815x

2011-05-01 Thread Abel Abraham Camarillo Ojeda
I mean... my alc0 still works... On Sun, May 1, 2011 at 2:49 PM, Abel Abraham Camarillo Ojeda wrote: > On Sun, May 1, 2011 at 2:10 PM, Stuart Henderson wrote: >> On 2011/05/01 18:35, Edd Barrett wrote: >>> I have acquired a netboot (packard bell dot s), which I think uses this NIC. Is >>> there

Re: alc(4) support for Atheros AR815x

2011-05-01 Thread Abel Abraham Camarillo Ojeda
On Sun, May 1, 2011 at 2:10 PM, Stuart Henderson wrote: > On 2011/05/01 18:35, Edd Barrett wrote: >> I have acquired a netboot (packard bell dot s), which I think uses this NIC. >> Is >> there an updated diff? > > Yes I just took the 2 minutes it took to apply it and fix > the minor conflicts and

Re: alc(4) support for Atheros AR815x

2011-05-01 Thread Stuart Henderson
On 2011/05/01 18:35, Edd Barrett wrote: > I have acquired a netboot (packard bell dot s), which I think uses this NIC. > Is > there an updated diff? Yes I just took the 2 minutes it took to apply it and fix the minor conflicts and linewrapping issue with the diff. Untested beyond "it builds". Te

Re: alc(4) support for Atheros AR815x

2011-05-01 Thread Edd Barrett
On Thu, Apr 28, 2011 at 07:21:16AM +1000, Jonathan Gray wrote: > On Tue, Jan 25, 2011 at 06:24:28PM +0800, Kevin Lo wrote: > > Hi, > > > > The following diff adds support for Atheros AR8151/AR8152 chipsets; > > mostly from FreeBSD. It also fixes an issue i386/6311. > > Tested on Acer AOD255E. > >

Re: alc(4) support for Atheros AR815x

2011-04-27 Thread Jonathan Gray
On Tue, Jan 25, 2011 at 06:24:28PM +0800, Kevin Lo wrote: > Hi, > > The following diff adds support for Atheros AR8151/AR8152 chipsets; > mostly from FreeBSD. It also fixes an issue i386/6311. > Tested on Acer AOD255E. Is there an updated diff for this? It seems this never made it into the tree.

Re: alc(4) support for Atheros AR815x

2011-02-15 Thread Gabriel Linder
On 01/25/11 11:24, Kevin Lo wrote: Hi, The following diff adds support for Atheros AR8151/AR8152 chipsets; mostly from FreeBSD. It also fixes an issue i386/6311. Tested on Acer AOD255E. Tried yesterday on EeePC 1005PX, some comments inline. @@ -515,6 +694,20 @@ alc_attach(struct device *pare

Re: alc(4) support for Atheros AR815x

2011-01-25 Thread Damien Bergamini
See my comments inline. Damien | void | -alc_aspm(struct alc_softc *sc) | +alc_aspm(struct alc_softc *sc, int media) | { | uint32_t pmcfg; | + uint16_t linkcfg; | | pmcfg = CSR_READ_4(sc, ALC_PM_CFG); | + if ((sc->alc_flags & (ALC_FLAG_APS | ALC_FLAG_PCIE)) == | +

alc(4) support for Atheros AR815x

2011-01-25 Thread Kevin Lo
Hi, The following diff adds support for Atheros AR8151/AR8152 chipsets; mostly from FreeBSD. It also fixes an issue i386/6311. Tested on Acer AOD255E. Index: share/man/man4/alc.4 === RCS file: /cvs/src/share/man/man4/alc.4,v retrievi