diff options
author | peter <peter@FreeBSD.org> | 1999-01-26 04:54:38 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-01-26 04:54:38 +0000 |
commit | 5a8418d8d3ce27704136703efdf496fbca4b0cab (patch) | |
tree | b61041958ae051ad1f22271a2667590871a561e2 | |
parent | d5e1466ec05ce186960252c0dac6c80501337c3a (diff) | |
download | FreeBSD-src-5a8418d8d3ce27704136703efdf496fbca4b0cab.zip FreeBSD-src-5a8418d8d3ce27704136703efdf496fbca4b0cab.tar.gz |
Check if the intpm controller is configured first before stopping
recognition of the 82371AB device.
-rw-r--r-- | sys/pci/pcisupport.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/pci/pcisupport.c b/sys/pci/pcisupport.c index 114e4b4..529bc205 100644 --- a/sys/pci/pcisupport.c +++ b/sys/pci/pcisupport.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcisupport.c,v 1.86 1998/12/27 07:59:25 foxfair Exp $ +** $Id: pcisupport.c,v 1.87 1999/01/25 19:34:25 nsouch Exp $ ** ** Device driver for DEC/INTEL PCI chipsets. ** @@ -43,6 +43,7 @@ #include "opt_pci.h" #include "opt_smp.h" +#include "intpm.h" #include <sys/param.h> #include <sys/systm.h> @@ -273,7 +274,11 @@ chipset_probe (pcici_t tag, pcidi_t type) case 0x71108086: return ("Intel 82371AB PCI to ISA bridge"); case 0x71138086: - return NULL; +#if NINTPM > 0 + return NULL; /* Need to stop generic_pci_bridge() */ +#else + return ("Intel 82371AB Power management controller"); +#endif case 0x71908086: return ("Intel 82443BX host to PCI bridge"); case 0x71918086: |