summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */
};