On Tue, Sep 01, 2009 at 07:13:10PM +0300, Eugene Perevyazko wrote: > On Wed, Aug 26, 2009 at 12:48:56PM +0300, Eugene Perevyazko wrote: > > On Wed, Aug 26, 2009 at 12:39:16PM +0300, Eugene Perevyazko wrote: > > > On Tue, Aug 25, 2009 at 11:25:53AM -0700, Pyun YongHyeon wrote: > > > > > > > > Try attached patch and let me know how it goes on your box. > > > > You can see statistics counters maintained in driver with sysctl. > > > > "sysctl dev.msk.0.stats" will show some numbers if it can see > > > > packets on wire. > > > > > > With attached patch NIC doesn't see link again. > > > All counters in dev.msk.0.stats are 0s. > > > > > > > At the same time the link led on NIC is on, and switch shows that port is > > up. > > That's different from the unpatched system, where led was off and switch > > port > > was down. > > > > Any chances to get that NIC working? I tried to look at linux driver for it > (sk98lin) but quickly got lost - it's about 700 lines only for > SkGmInitPhyMarv() - Initialize the Marvell PHY registers
sk98lin driver is much more complex than sky2 driver. I agree Linux sky2 driver is also hard to read but I guess it mainly cames from numerous workarounds for vendor's broken controller. > And hw programming is definitely not my expertise :( > Would you back out previous changes and apply the patch at the following URL? http://people.freebsd.org/~yongari/msk/msk.DGE560.diff2 Note, I have no more access to msk(4) hardwares so it wasn't tested at all except compilation. > -- > Eugene Perevyazko _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"