summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_dc_pci.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-04-26 13:58:29 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-04-26 13:58:29 +0000
commit6726f01277f30c8a06ebcf7f2b444b5377d837b1 (patch)
treed05018cd1045cdb18f3048a94447342614048f80 /sys/dev/pci/if_dc_pci.c
parent75165a898540fc4c31400f0c4c94bc827648c60c (diff)
we've done an oops
Diffstat (limited to 'sys/dev/pci/if_dc_pci.c')
-rw-r--r--sys/dev/pci/if_dc_pci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_dc_pci.c b/sys/dev/pci/if_dc_pci.c
index d6eb4c9597e..9552bc71cfc 100644
--- a/sys/dev/pci/if_dc_pci.c
+++ b/sys/dev/pci/if_dc_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dc_pci.c,v 1.2 2000/04/26 03:28:57 mickey Exp $ */
+/* $OpenBSD: if_dc_pci.c,v 1.3 2000/04/26 13:58:28 mickey Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -200,6 +200,8 @@ void dc_pci_attach(parent, self, aux)
pci_conf_write(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
command = pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
+ sc->dc_csid = pci_conf_read(pc, pa->pa_tag, PCI_SUBSYS_ID_REG);
+
#ifdef DC_USEIOSPACE
if (!(command & PCI_COMMAND_IO_ENABLE)) {
printf(": failed to enable I/O ports\n");