Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2009 18:48:49 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/pci pci_user.c
Message-ID:  <200909111849.n8BIn2E0073202@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
avg         2009-09-11 18:48:49 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pci          pci_user.c 
  Log:
  SVN rev 197099 on 2009-09-11 18:48:49Z by 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
  
  Revision  Changes    Path
  1.28      +1 -2      src/sys/dev/pci/pci_user.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909111849.n8BIn2E0073202>