git: kernel/pci: Don't perform the maximum register number check.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Mar 13 12:27:11 PDT 2013


commit 7a8c7ad675ccaeb429783ccb5bc4ccb58896eb04
Author: Sascha Wildner <saw at online.de>
Date:   Sun Feb 26 15:41:52 2012 +0100

    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

Summary of changes:
 sys/bus/pci/pci_user.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7a8c7ad675ccaeb429783ccb5bc4ccb58896eb04


-- 
DragonFly BSD source repository


More information about the Commits mailing list