On Wed, 2005-02-23 at 07:12 +0100, Markus Trippelsdorf wrote:
> On Tue, 2005-02-22 at 19:42 -0500, Brian Campbell wrote:
> > >On Sun, 2005-02-20 at 18:07 +0000, Bjoern A. Zeeb wrote:
> > >> On Sun, 20 Feb 2005, Markus Trippelsdorf wrote:
> > >> > My build in ethernet card (ASUS A8V mobo) does not work.
> > >> > (I've tried HEAD, RELENG_5 and RELENG_5_3):
> > >>
> > >> Could you please apply the patch at [1] and mail me the results.
> > >
> > >OK here is the relevant part of dmesg:
> > >
> > >skc0: <Marvell Gigabit Ethernet> port 0xb000-0xb0ff mem
> > >skc0: no PHY found! 6
> > >device_attach: sk0 attach returned 6
> > 
> > I'm running 4.7 and had the same problem ... my fix was, in
> > sk_init_yukon(), just after sc is assigned, add:
> > 
> >     sk_win_write_4(sc, SK_GPIO,
> >         (sk_win_read_4(sc, SK_GPIO) | SK_GPIO_DIR9) & ~SK_GPIO_DAT9);
> Hi Brian,
> thank you very much. Your patch completely solved the problem.
> IMHO it should be committed to the tree.

This is the patch:
--- sys/pci/if_sk.c.orig        Wed Feb 23 09:28:09 2005
+++ sys/pci/if_sk.c     Wed Feb 23 06:48:43 2005
@@ -2405,6 +2405,8 @@
        int                     i;
 
        sc = sc_if->sk_softc;
+       sk_win_write_4(sc, SK_GPIO, 
+                       (sk_win_read_4(sc, SK_GPIO) | SK_GPIO_DIR9) & 
~SK_GPIO_DAT9);
        ifp = &sc_if->arpcom.ac_if;
 
        /* GMAC and GPHY Reset */
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to