diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-04-26 03:28:58 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-04-26 03:28:58 +0000 |
commit | 8663d36e57b13097a6208b5123cb072780ed1064 (patch) | |
tree | a8a1e565c99c051f0e15f5f1ae5edddecb5bcd7c | |
parent | 45a8a1573c086203341f94a21561004a4cee6da7 (diff) |
dc_csid ain't needed no more; jason@ ok
-rw-r--r-- | sys/dev/ic/dcreg.h | 3 | ||||
-rw-r--r-- | sys/dev/pci/if_dc_pci.c | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/ic/dcreg.h b/sys/dev/ic/dcreg.h index f0c6eea922d..3b92dc6e6a9 100644 --- a/sys/dev/ic/dcreg.h +++ b/sys/dev/ic/dcreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dcreg.h,v 1.1 2000/04/18 19:35:30 jason Exp $ */ +/* $OpenBSD: dcreg.h,v 1.2 2000/04/26 03:28:56 mickey Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -657,7 +657,6 @@ struct dc_softc { struct dc_list_data *dc_ldata; caddr_t dc_ldata_ptr; struct dc_chain_data dc_cdata; - u_int32_t dc_csid; u_int dc_revision; }; diff --git a/sys/dev/pci/if_dc_pci.c b/sys/dev/pci/if_dc_pci.c index 36b6ab35fc4..d6eb4c9597e 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.1 2000/04/18 19:35:31 jason Exp $ */ +/* $OpenBSD: if_dc_pci.c,v 1.2 2000/04/26 03:28:57 mickey Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -200,8 +200,6 @@ 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"); |