summaryrefslogtreecommitdiffstats
path: root/sys/dev/ieee488/pcii.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-09-24 20:07:03 +0000
committerphk <phk@FreeBSD.org>2005-09-24 20:07:03 +0000
commit8d364c8c58c67417ba136fa9f2b0dbf056099ff0 (patch)
tree12454637d7dc8c46915941582169b683b2f63c08 /sys/dev/ieee488/pcii.c
parentb3b9e441ec0dced171a5529944daa925d8edba0b (diff)
downloadFreeBSD-src-8d364c8c58c67417ba136fa9f2b0dbf056099ff0.zip
FreeBSD-src-8d364c8c58c67417ba136fa9f2b0dbf056099ff0.tar.gz
Split struct resource in an external and internal part.
The external part is still called 'struct resource' but the contents is now visible to drivers etc. This makes it part of the device driver ABI so it not be changed lightly. A comment to this effect is in place. The internal part is called 'struct resource_i' and contain its external counterpart as one field. Move the bus_space tag+handle into the external struct resource, this removes the need for device drivers to even know about these fields in order to use bus_space to access hardware. (More in following commit).
Diffstat (limited to 'sys/dev/ieee488/pcii.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud