summaryrefslogtreecommitdiffstats
path: root/sys/boot/sparc64
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-04-14 18:32:37 +0000
committerjhb <jhb@FreeBSD.org>2009-04-14 18:32:37 +0000
commite76ae1ccf32df1f82d31d752b4351d8e1558fc8c (patch)
treebf66a69fc5dacbc2904b7c1100e38610a31345bd /sys/boot/sparc64
parent3c2ef149c0d38b0bd7cb8ca97a0592cf20262521 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud