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 Fri, Mar 12, 2010 at 12:57:47AM +0100, Matthias Drochner wrote:
> said:
> > (1) If a bus-bridge driver is not configured in the kernel, or if its
> >     module is unloaded, then the code is left out.
> I know... but if you add this to the commonly used "ppb" driver
> there is no way to avoid it.

I will look to see how much the code size changes before and after.

> > (2) Do you intend for the new methods to belong to a new API, or to
> >     bus_space(9)?  What would the methods' names and contracts be?
> The new methods should be part of the pci(9) API. That kind of
> bus space management is inherently bus specific.

Do you think that bus_space_alloc(9) should go away, then?  And what
about bus_space_map(9)?

Certainly I could introduce pci_space_alloc(9) with a similar signature
as bus_space_alloc().


David Young             OJC Technologies      Urbana, IL * (217) 278-3933

Home | Main Index | Thread Index | Old Index