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.  ;-)

By the way,

From: Izumi Tsutsui <>
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.


Home | Main Index | Thread Index | Old Index