Could I (ab)use bus (struct bus_type) for virtual Broadcom bus?
arnd at arndb.de
Mon Apr 18 10:19:34 EDT 2011
On Monday 18 April 2011, Rafał Miłecki wrote:
> W dniu 17 kwietnia 2011 19:38 użytkownik Arnd Bergmann <arnd at arndb.de> napisał:
> > In general, the bus_type directly relates to how a device gets probed.
> > If broadcom uses the same basic register layout as regular AMBA devices,
> > it should use the amba bus type.
> From Broadcom side we *could* use some registers that are AMBA
> specific, they are present... but there is totally no point in doing
> that. Everything we use is Broadcom specific.
> > I think it would be fine to extend the AMBA bus slightly if there are
> > just minor differences.
> As I said, Broadcom specific driver use nothing from AMBA common
> things. Plus we implement routines that are Broadcom specific and no
> other platform will use them.
You mean the hardware has two sets of registers containing the same
information, one of them the standard registers, and one with broadcom
Why don't you just use the standard ones then?
More information about the linux-arm-kernel