Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SMSC LAN9118 Family driver



Hi! Tsutsui-san and all,


I had make this patch again.  ;-)

ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/gumstix/lan9118-20090728.diff


By the way,

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
Date: Fri, 17 Jul 2009 21:35:56 +0900

> >+    if (myea == NULL) {
>  :
> >+    } else
> >+            /* We set MACaddr to MAC CSR, after Soft reset. */
> >+            memcpy(sc->sc_enaddr, myea, ETHER_ADDR_LEN);
>
> I'm not sure how/when backends pass the myea values, but if it
> could be board specific, it might be better to pass it via proplib
> like wm(4) for iyonix.

I do not think like that. This has only wm_attach() though wm is obtained
via proplib.  On the other hand, smsh can obtain myea in each back end.
For instance, gumstix obtains it in if_smsh_gxio.c.
The proplib will only have to be used at that time if smsh@isa needs myea.

Thanks,
--
kiyohara


Home | Main Index | Thread Index | Old Index