cvs commit: src/sys/dev/pci pci.c

John Baldwin jhb at FreeBSD.org
Tue Aug 5 21:04:16 UTC 2008


jhb         2008-08-05 21:04:00 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pci          pci.c 
  Log:
  SVN rev 181336 on 2008-08-05 21:04:00Z by jhb
  
  Remove the second check for a 64-bit BAR value on a 32-bit system in
  pci_add_map().  First, this condition is already handled earlier in
  the function.  Second, as written the check would never fire as the
  'start' value was overwritten with a long value (rman_get_start() returns
  long) before the comparison was done.
  
  Discussed with: imp
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.360     +1 -19     src/sys/dev/pci/pci.c


More information about the cvs-src mailing list