diff options
author | dg <dg@FreeBSD.org> | 1995-03-23 06:14:44 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-03-23 06:14:44 +0000 |
commit | 1a822ca3aec3b00ac9825b06149823e7f17dabe6 (patch) | |
tree | 1cb6706b1c35df17e88ca7a2d9179fedc31865fa /sys/pci | |
parent | f497940a92c54325b6f4b73cbbb4fa40f80d62be (diff) | |
download | FreeBSD-src-1a822ca3aec3b00ac9825b06149823e7f17dabe6.zip FreeBSD-src-1a822ca3aec3b00ac9825b06149823e7f17dabe6.tar.gz |
Restore my changes to initialize the kdc_shutdown routine pointer. Stefan
clobbered it in his previous commit and not having it causes the machine
to panic during reboot (as well as not doing the important shutdown callout).
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/pci.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/pci/pci.c b/sys/pci/pci.c index 32428c6..c3b7dca 100644 --- a/sys/pci/pci.c +++ b/sys/pci/pci.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pci.c,v 1.19 1995/03/17 04:27:19 davidg Exp $ +** $Id: pci.c,v 1.20 1995/03/21 23:01:01 se Exp $ ** ** General subroutines for the PCI bus. ** pci_configure () @@ -61,13 +61,13 @@ #include <vm/vm.h> #include <vm/vm_param.h> +#include <machine/pmap.h> +#include <sys/devconf.h> + #include <pci/pcivar.h> #include <pci/pcireg.h> #include <pci/pcibus.h> -#include <machine/pmap.h> -#include <sys/devconf.h> - #define PCI_MAX_IRQ (16) @@ -560,6 +560,7 @@ pci_bus_config (void) pdcp -> pdc_kdc.kdc_parentdata = &pdcp->pdc_pi; pdcp -> pdc_kdc.kdc_state = DC_UNKNOWN; pdcp -> pdc_kdc.kdc_description = name; + pdcp -> pdc_kdc.kdc_shutdown = dvp->pd_shutdown; /* ** And register this device |