tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: MI overrides of bus_dma(9), bus_space(9), pci(9)

On Wed, Mar 10, 2010 at 09:46:03PM +0900, Masao Uebayashi wrote:
> [..] For example,
> bus_addr_t of a device instance should be taught to struct device as
> an attribute (or property or whatever you call).

What is *the* "bus_addr_t of a device instance"?

> Then we can have a
> unified way to calculate the physical address of the device, by
> summing up its parents' bus_addr_t.

I'm neither sure this could be done on all archs, nor why you would want to
do this at all.


Home | Main Index | Thread Index | Old Index