HEADSUP: bus_space/resource API improvements.
phk at phk.freebsd.dk
Sat Sep 24 13:51:32 PDT 2005
I have committed the new convenience functions for bus_space/resources,
and updated a couple of drivers (pci/if_sis, dev/ieee488, dev/adlink)
to use them.
On average, 10-30 lines of code less is necessary for each device driver
and very often two or more fields from the softc disappear as well.
The changes are MFC'able, but no decision has been taken on this yet.
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-current