Date: Tue, 9 Sep 2003 23:00:53 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/pci pci_cfgreg.c Message-ID: <200309100600.h8A60rXc056047@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2003/09/09 23:00:53 PDT FreeBSD src repository Modified files: sys/i386/pci pci_cfgreg.c Log: 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@icir.org> Revision Changes Path 1.105 +1 -1 src/sys/i386/pci/pci_cfgreg.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309100600.h8A60rXc056047>