HEADSUP: bus_space/resource API improvements.

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Sat, 24 Sep 2005 22:51:29 +0200
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.
Received on Sat Sep 24 2005 - 18:51:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:44 UTC