From: OTRS Notification Master Date: Thu, 25 Jan 2007 19:20:04 +0100 Subject: [U-Boot-Users] [DNX#2007012542000048] [PATCH 1/2] Add support for 802.3ae [...] Message-ID: <1169749204.66143.8569199674@castor.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello list, inside the automatic U-Boot patch tracking system a new ticket [DNX#2007012542000048] was created: > On 1/23/07, Ben Warren wrote: > > > +int miiphy_set_attribute(char *devname, enum miiphy_attr attr, void *value) > > Maybe it's just me, but the need for a function like this just screams > "give ownership of struct mii_dev back to the driver". And it's not > really about "attributes" at all -- it's about callbacks, so I think > the function is misnamed. > > Why not simply let the driver allocate its own struct mii_dev and > initialize it as it sees fit? It would simplify the interface a lot. > > Haavard Your U-Boot support team