freebsd-dev/sys/dev/pci
Andriy Gapon 1e908511f8 number of cleanups in i386 and amd64 pci md code
o introduce PCIE_REGMAX and use it instead of ad-hoc constant
o where 'reg' parameter/variable is not already unsigned, cast it to
  unsigned before comparison with maximum value to cut off negative
  values
o use PCI_SLOTMAX in several places where 31 or 32 were explicitly used
o drop redundant check of 'bytes' in i386 pciereg_cfgread() - valid
  values are already checked in the subsequent switch

Reviewed by:	jhb
MFC after:	1 week
2009-09-24 07:11:23 +00:00
..
eisa_pci.c
fixup_pci.c
hostb_pci.c
ignore_pci.c
isa_pci.c
pci_if.m Revamp the MSI/MSI-X code a bit to achieve two main goals: 2007-05-02 17:50:36 +00:00
pci_pci.c Revert junk from last commit. These are WIP and not ready (and don't 2009-05-20 22:00:39 +00:00
pci_private.h Further refine the handling of resources for BARs in the PCI bus driver. 2009-03-03 16:38:59 +00:00
pci_user.c pci(4): don't perform maximum register number check 2009-09-11 18:48:49 +00:00
pci.c Don't reread the command register to see if enabling I/O or memory 2009-09-22 15:43:03 +00:00
pcib_if.m Revert junk from last commit. These are WIP and not ready (and don't 2009-05-20 22:00:39 +00:00
pcib_private.h Two fixes: 2009-03-14 14:08:53 +00:00
pcireg.h number of cleanups in i386 and amd64 pci md code 2009-09-24 07:11:23 +00:00
pcivar.h pci: remove definitions of duplicate constants 2009-09-10 19:27:53 +00:00
vga_pci.c The recent PCI resource allocation fixes exposed a bug where the same 2009-03-04 21:04:52 +00:00