Skip to contentSkip to conversation

Add support for 802.3ae [...]

PATCH New OTRS Notification Master 1 participant 1 message Jan 25, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Add support for 802.3ae [...]

Hello list,

inside the automatic U-Boot patch tracking system a new ticket [DNX#2007012542000048] was created:

<snip>

Quoted 9 lines · Ben Warren
Quoted 2 lines

+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.

Quoted 4 lines

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

</snip>

Your U-Boot support team