Re: [linux-usb-devel] Re: [BK PATCH] USB update for 2.6.3

From: David Brownell
Date: Fri Feb 20 2004 - 03:00:19 EST


Greg KH wrote:

As for how ARM deals with their devices on non-pci busses, I really do
not know, I never looked into that.

One way is that initialization specific to a given board or machine
is called from its INIT_MACHINE callback. That can define platform
devices (SOC, ASICs, discrete parts, etc) and initialize platform_data
to feed drivers the right hardware info (addressing, which GPIOs etc).

Then normal platform_bus binding magic can apply, so that a driver
named "fred" gets probed for devices named "fred".

- Dave


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/