Searched hist:197099 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/dev/pci/
H A Dpci_user.cdiff 197099 Fri Sep 11 17:00:13 MDT 2009 avg pci(4): don't perform 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.
And, in fact, the buses already do the checks.

Reviewed by: jhb
MFC after: 1 week
X-ToDo: add check for negative value to bus backends
X-ToDo: use named constant for maximum PCIe register

Completed in 84 milliseconds