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 the 2 minutes it took to apply it and fix
> > the minor conflicts and linewrapping issue with the diff.
> > Untested beyond "it builds".
>
> Stu's diff seems to work,
kevlo's diff really..
> although the first time i booted my bsd.rd I was
> unable to install due to:
>
> alc0: watchdog timeout (missed link)
I had a report of a system with alc(4) which only works if the
cable is connected at boot. Is that what happens for you too?
If so, try this, similar to freebsd r214542.
Index: if_alc.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_alc.c,v
retrieving revision 1.11
diff -u -p -r1.11 if_alc.c
--- if_alc.c 5 Apr 2011 18:01:21 -0000 1.11
+++ if_alc.c 2 May 2011 10:01:12 -0000
@@ -236,8 +236,8 @@ alc_miibus_statchg(struct device *dev)
reg = CSR_READ_4(sc, ALC_MAC_CFG);
reg |= MAC_CFG_TX_ENB | MAC_CFG_RX_ENB;
CSR_WRITE_4(sc, ALC_MAC_CFG, reg);
+ alc_aspm(sc);
}
- alc_aspm(sc);
}
void