aboutsummaryrefslogtreecommitdiff
path: root/sys/pci/aic7870.c
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-03-17 04:27:21 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-03-17 04:27:21 +0000
commitcb09d35cb0ca7660eaafe2ce0e22cf4f9fb0f5bf (patch)
tree70ee5f641c6ef0c9cab22daae6a9b2a8ede50326 /sys/pci/aic7870.c
parent3e3eb41588da90f28553618e95fc12b0f828f76b (diff)
downloadsrc-cb09d35cb0ca7660eaafe2ce0e22cf4f9fb0f5bf.tar.gz
src-cb09d35cb0ca7660eaafe2ce0e22cf4f9fb0f5bf.zip
Added a new field to the pci_device struct called pd_shutdown to specify
a device specific shutdown routine for devconf. Assign the value of this to the kern_devconf struct. Implement a device shutdown routine for if_de that disables the device. This will stop the device from corrupting memory after a reboot.
Notes
Notes: svn path=/head/; revision=7104
Diffstat (limited to 'sys/pci/aic7870.c')
-rw-r--r--sys/pci/aic7870.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/pci/aic7870.c b/sys/pci/aic7870.c
index f8750069b858..86375cfc200b 100644
--- a/sys/pci/aic7870.c
+++ b/sys/pci/aic7870.c
@@ -19,7 +19,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: aic7870.c,v 1.5 1995/02/02 13:12:13 davidg Exp $
+ * $Id: aic7870.c,v 1.6 1995/02/03 17:08:17 gibbs Exp $
*/
#include <pci.h>
@@ -46,7 +46,8 @@ struct pci_device ahc_device = {
"ahc",
aic7870_probe,
aic7870_attach,
- &aic7870_count
+ &aic7870_count,
+ NULL
};
DATA_SET (pcidevice_set, ahc_device);