Thread (6 messages) 6 messages, 5 authors, 2004-12-08

Re: Second Attempt: Driver model usage on embedded processors

From: McMullan, Jason <hidden>
Date: 2004-12-07 12:09:40
Also in: lkml

On Mon, 2004-12-06 at 23:03 -0600, Kumar Gala wrote:
The intent was that I would use the platform_data pointer to pass =
board=20
specific information to the driver.  We would have board specific code =
which would fill in the information.  The question I have is how to=20
handle the device variant information which is really static?
I use a 'struct device_ethernet_data' in my MPC85xx platform-device
patches at http://www.evillabs.net/~gus/patches

That seems to work well, and we could move it from
include/asm-ppc/device-ethernet.h to include/linux/device-ethernet.h to
make it more arch-independant. That covers MAC addrs and phy locations.

As for PHY IRQ, that's a thornier issue. For now, I put that in the
ethernet device's resource list.

--=20
Jason McMullan [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help