Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2005 22:51:29 +0200
From:      Poul-Henning Kamp <phk@phk.freebsd.dk>
To:        current@freebsd.org
Subject:   HEADSUP:  bus_space/resource API improvements.
Message-ID:  <67018.1127595089@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help

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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67018.1127595089>