]> Zhao Yanbai Git Server - minix.git/commit
. pci driver now returns devices, even when they have been pci_reserve()d
authorBen Gras <ben@minix3.org>
Tue, 20 Feb 2007 17:09:19 +0000 (17:09 +0000)
committerBen Gras <ben@minix3.org>
Tue, 20 Feb 2007 17:09:19 +0000 (17:09 +0000)
commit168d766f32f0a67460d1c64448cad1a4272b060b
tree13b701400fcae06864f7827691803e66310a70a3
parent825f29fd8993d63b437fc30e7d3a6db44d17a856
. pci driver now returns devices, even when they have been pci_reserve()d
. pci_reserve() returns an error on devices that have already been reserved,
  instead of panic()ing; the pci_reserve() library call still panics,
  pci_reserve_ok() returns an int.
. this allows at_wini to use the instance value as intended, as all devices
  are seen, even reserved ones
. only devices actually used by at_wini are pci_reserve()d
. pci doesn't release devices based on argv[0], as at_wini both have the
  same name and multiple instances won't work together properly
drivers/at_wini/at_wini.c
drivers/pci/main.c
drivers/pci/pci.c
drivers/pci/pci.h
include/minix/syslib.h
lib/syslib/pci_reserve.c