summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2000-10-22 16:09:12 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2000-10-22 16:09:12 +0000
commit41f7aa55bacece070cae320711f85ffec8b3ecab (patch)
tree72efc10075e8949e27bdb9531733596e6d191e0e
parent3ae19dd8cd416112b2d095e46f0526f3d7922ec6 (diff)
Notes
-rw-r--r--sys/dev/en/if_en_pci.c1
-rw-r--r--sys/dev/en/midwayreg.h3
-rw-r--r--sys/pci/if_en_pci.c1
3 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/en/if_en_pci.c b/sys/dev/en/if_en_pci.c
index 382c7b63f428..8a17e65c0f4e 100644
--- a/sys/dev/en/if_en_pci.c
+++ b/sys/dev/en/if_en_pci.c
@@ -88,7 +88,6 @@ struct en_pci_softc {
/* PCI bus glue */
void *sc_ih; /* interrupt handle */
- pci_chipset_tag_t en_pc; /* for PCI calls */
pcici_t en_confid; /* config id */
};
diff --git a/sys/dev/en/midwayreg.h b/sys/dev/en/midwayreg.h
index 8f5891ff820b..bc52b716def9 100644
--- a/sys/dev/en/midwayreg.h
+++ b/sys/dev/en/midwayreg.h
@@ -6,9 +6,10 @@
* this file contains the description of the ENI ATM midway chip
* data structures. see midway.c for more details.
*
+ * $FreeBSD$
*/
-#if defined(sparc) || defined(__FreeBSD__)
+#if defined(sparc)
/* XXX: gross. netbsd/sparc doesn't have machine/bus.h yet. */
typedef void * bus_space_tag_t;
typedef u_int32_t pci_chipset_tag_t;
diff --git a/sys/pci/if_en_pci.c b/sys/pci/if_en_pci.c
index 382c7b63f428..8a17e65c0f4e 100644
--- a/sys/pci/if_en_pci.c
+++ b/sys/pci/if_en_pci.c
@@ -88,7 +88,6 @@ struct en_pci_softc {
/* PCI bus glue */
void *sc_ih; /* interrupt handle */
- pci_chipset_tag_t en_pc; /* for PCI calls */
pcici_t en_confid; /* config id */
};