Check if the intpm controller is configured first before stopping

recognition of the 82371AB device.
This commit is contained in:
Peter Wemm 1999-01-26 04:54:38 +00:00
parent c2a1ba0f78
commit 5581e43bbf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=43217

View File

@ -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. ** Device driver for DEC/INTEL PCI chipsets.
** **
@ -43,6 +43,7 @@
#include "opt_pci.h" #include "opt_pci.h"
#include "opt_smp.h" #include "opt_smp.h"
#include "intpm.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -273,7 +274,11 @@ chipset_probe (pcici_t tag, pcidi_t type)
case 0x71108086: case 0x71108086:
return ("Intel 82371AB PCI to ISA bridge"); return ("Intel 82371AB PCI to ISA bridge");
case 0x71138086: 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: case 0x71908086:
return ("Intel 82443BX host to PCI bridge"); return ("Intel 82443BX host to PCI bridge");
case 0x71918086: case 0x71918086: