summaryrefslogtreecommitdiffstats
path: root/sys/dev/en
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-10-22 16:09:12 +0000
committerphk <phk@FreeBSD.org>2000-10-22 16:09:12 +0000
commit37c9cff867708908c9def9fe80a76b0cac70d8a9 (patch)
tree635044f099bcb0484f66aab3c374972be8c0fbbb /sys/dev/en
parentf20992328ccae8aae87c3e9afe98654280616da9 (diff)
downloadFreeBSD-src-37c9cff867708908c9def9fe80a76b0cac70d8a9.zip
FreeBSD-src-37c9cff867708908c9def9fe80a76b0cac70d8a9.tar.gz
Make LINT compile again.
Diffstat (limited to 'sys/dev/en')
-rw-r--r--sys/dev/en/if_en_pci.c1
-rw-r--r--sys/dev/en/midwayreg.h3
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/en/if_en_pci.c b/sys/dev/en/if_en_pci.c
index 382c7b6..8a17e65 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 8f5891f..bc52b71 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;
OpenPOWER on IntegriCloud