cvs commit: src/sys/i386/pci pci_cfgreg.c

John Baldwin jhb at
Tue Sep 9 23:00:54 PDT 2003

jhb         2003/09/09 23:00:53 PDT

  FreeBSD src repository

  Modified files:
    sys/i386/pci         pci_cfgreg.c 
  We represent PCI intpin's two different ways.  One is the way that the
  intpin register is expressed in hardware where 0 means none, 1 means INTA,
  2 INTB, etc.  The other way is commonly used in loops where 0 means INTA,
  1 means INTB, etc.  The matchpin argument to pci_cfgintr_search() is
  supposed to be the first form, but we passsed in a loop index of the
  second.  This fix adds one to the loop index to convert to the first form.
  Reported by:    Pavlin Radoslavov <pavlin at>
  Revision  Changes    Path
  1.105     +1 -1      src/sys/i386/pci/pci_cfgreg.c

More information about the cvs-src mailing list