Re: Automatic MAC address retrieval/access
Eddie Kohler <[email protected]>
| Newsgroups | gmane.network.routing.click |
|---|---|
| Organization | Harvard University |
| Message-ID | <[email protected]> |
Hey Markku, An interesting idea; I'd look at a patch. But I don't think it's a tremendous issue. The code for listing devices is qualitatively quite different from the code for working with devices. Eddie On 11/16/2011 02:47 AM, Markku Savela wrote: > On 11/14/2011 05:37 PM, Eddie Kohler wrote: >> What you should do is extend AddressInfo::create_deviceinfo if >> possible. This function should find ALL devices attached to the > > Thanks, I will explore this... but, doesn't AddressInfo use some > underlying directory object (element?) to store the information. > > I'm just wondering, if it would be better architecture if AddressInfo > didn't contain all these device specific ifdef's. Instead, the > elements interfacing to the drivers could populate the database > and address info would just find it? >