summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-05-27 20:42:52 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-05-27 20:42:52 +0000
commit1328684946a1bc45ca9bd8abad8b8daad2b209aa (patch)
tree8c77aa4c8f765f3f503791f003cf4ad8988e6448 /sys
parent85ed5b206058f9dea10b55fa4516ed94a3393c03 (diff)
remove FreeBSD specific code.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_lge.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c
index 09122271bf3..ff6f2e836d9 100644
--- a/sys/dev/pci/if_lge.c
+++ b/sys/dev/pci/if_lge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_lge.c,v 1.41 2006/05/27 10:03:15 brad Exp $ */
+/* $OpenBSD: if_lge.c,v 1.42 2006/05/27 20:42:51 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2000, 2001
@@ -158,14 +158,6 @@ void lge_reset(struct lge_softc *);
int lge_list_rx_init(struct lge_softc *);
int lge_list_tx_init(struct lge_softc *);
-#ifdef LGE_USEIOSPACE
-#define LGE_RES SYS_RES_IOPORT
-#define LGE_RID LGE_PCI_LOIO
-#else
-#define LGE_RES SYS_RES_MEMORY
-#define LGE_RID LGE_PCI_LOMEM
-#endif
-
#ifdef LGE_DEBUG
#define DPRINTF(x) if (lgedebug) printf x
#define DPRINTFN(n,x) if (lgedebug >= (n)) printf x
@@ -176,7 +168,7 @@ int lgedebug = 0;
#endif
const struct pci_matchid lge_devices[] = {
- { PCI_VENDOR_LEVEL1, PCI_PRODUCT_LEVEL1_LXT1001 },
+ { PCI_VENDOR_LEVEL1, PCI_PRODUCT_LEVEL1_LXT1001 }
};
#define LGE_SETBIT(sc, reg, x) \