[RFC] remove bus_memio.h and bus_pio.h

Doug Rabson dfr at nlsystems.com
Thu May 26 01:35:23 PDT 2005


On Wednesday 25 May 2005 18:40, Marcel Moolenaar wrote:
> On May 25, 2005, at 10:19 AM, M. Warner Losh wrote:
> > Short answer:
> >
> > 	Great idea.
>
> Seconded.

Thirded.

>
> > Longer, more detailed answer.
> >
> > The original idea was to provide a hint to busspace that this
> > driver only ever used a certain subset of the available mappings so
> > it should assume that subset and agressively optimize the code.
>
> It has also worked against, well, me in the past in that I couldn't
> figure out why a driver simply didn't want to work with memio while
> it worked perfectly with pio. Then I spotted the bus_pio.h header at
> the top and cursed, cursed, cursed.
>
> I'm all for performance tuning, but the newbus optimization is just
> too weird for its own good this way.

Hey, don't blame this on newbus - it predates newbus by quite a bit. I 
seem to remember that this came in with the first import of CAM so you 
can blame Justin :-)


More information about the freebsd-arch mailing list