kernel/pci: Don't perform the maximum register number check.
commit7a8c7ad675ccaeb429783ccb5bc4ccb58896eb04
authorSascha Wildner <saw@online.de>
Sun, 26 Feb 2012 14:41:52 +0000 (26 15:41 +0100)
committerSascha Wildner <saw@online.de>
Wed, 13 Mar 2013 17:12:26 +0000 (13 18:12 +0100)
tree85b4d527ffdc59364a94fc50f487a2cdc2593d3f
parentf47a504a3b2d9cc34916b8cba6ee929261a537da
kernel/pci: Don't perform the maximum register number check.

Different sub-kinds of PCI buses may have different rules and thus it
is up for the bus backends to do proper input checks. For example,
PCIe allows configuration register numbers < 0x1000, while for PCI
proper the limit is 0x100.

Taken-from: FreeBSD
sys/bus/pci/pci_user.c