From 8663d36e57b13097a6208b5123cb072780ed1064 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Wed, 26 Apr 2000 03:28:58 +0000 Subject: dc_csid ain't needed no more; jason@ ok --- sys/dev/ic/dcreg.h | 3 +-- sys/dev/pci/if_dc_pci.c | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'sys/dev') 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"); -- cgit v1.2.3