mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 07:44:48 -05:00
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 |
||
|---|---|---|
| .. | ||
| eisa_pci.c | ||
| fixup_pci.c | ||
| hostb_pci.c | ||
| ignore_pci.c | ||
| isa_pci.c | ||
| pci.c | ||
| pci_if.m | ||
| pci_pci.c | ||
| pci_private.h | ||
| pci_user.c | ||
| pcib_if.m | ||
| pcib_private.h | ||
| pcireg.h | ||
| pcivar.h | ||
| vga_pci.c | ||