CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2009/04/06 14:51:48
Modified files: sys/dev/pci : pci.c pci_map.c pcivar.h Log message: Set a first step on the road towards proper accounting of PCI resources by keeping a per-bus extent containing the address space available to the bus. Address space assigned to devices will be removed from these extents when we attach a bus. And when we try to map a PCI BAR that hasn't had address space assigned to it, we will allocate free space from this extent. This won't do anything until the parent devices actually allocate and initialize the extents. ok oga@