-/* $OpenBSD: dcreg.h,v 1.2 2000/04/26 03:28:56 mickey Exp $ */
+/* $OpenBSD: dcreg.h,v 1.3 2000/04/26 13:58:28 mickey Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
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;
};
-/* $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
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");