Thread (13 messages) 13 messages, 5 authors, 2010-01-26

Re: [PATCH 01/11] fs_enet: Add support for MPC512x to fs_enet driver

From: Scott Wood <hidden>
Date: 2010-01-20 17:05:12
Also in: linuxppc-dev

Anatolij Gustschin wrote:
Scott Wood [off-list ref] wrote:
quoted
You can put a data pointer in the of_platform match struct, instead of 
re-checking the compatible.
.data pointer in 'fs_enet_mdio_fec_match' is already used for
mpc5xxx_get_bus_frequency(). Setting .data to some sort of FEC ID in
match struct for "fsl,pq1-fec-mdio" would be confusing to.
You could point .data to a struct if there are multiple things.

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help