diff options
author | jhb <jhb@FreeBSD.org> | 2009-04-14 18:32:37 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-04-14 18:32:37 +0000 |
commit | e76ae1ccf32df1f82d31d752b4351d8e1558fc8c (patch) | |
tree | bf66a69fc5dacbc2904b7c1100e38610a31345bd /sys/boot/sparc64 | |
parent | 3c2ef149c0d38b0bd7cb8ca97a0592cf20262521 (diff) | |
download | FreeBSD-src-e76ae1ccf32df1f82d31d752b4351d8e1558fc8c.zip FreeBSD-src-e76ae1ccf32df1f82d31d752b4351d8e1558fc8c.tar.gz |
- Consolidate duplicated code for reading and sizing BARs and writing base
addresses to BARs into new pci_read_bar() and pci_write_bar() routines.
pci_add_map(), pci_alloc_map(), and pci_delete_resource() now use these
routines to work with BARs.
- Just pass the device_t for the new PCI device to various routines instead
of passing the device, bus, slot, and function.
Reviewed by: imp
Diffstat (limited to 'sys/boot/sparc64')
0 files changed, 0 insertions, 0 deletions