summaryrefslogtreecommitdiffstats
path: root/sys/dev/vx/if_vx_eisa.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-10-25 04:05:33 +0000
committerimp <imp@FreeBSD.org>2003-10-25 04:05:33 +0000
commit7359197bf845da073539c45aeeef9002129cd1bb (patch)
tree5bb525ee52e5d9467d51b55b0d1546235687eae1 /sys/dev/vx/if_vx_eisa.c
parent973f5bee0937d46bedc40a0681180b5bdd9eaa12 (diff)
downloadFreeBSD-src-7359197bf845da073539c45aeeef9002129cd1bb.zip
FreeBSD-src-7359197bf845da073539c45aeeef9002129cd1bb.tar.gz
Start to minimize diffs between vx and ep. These latter is based on a
more advanced version of the chips supported by the former. Matt Dodd and I are working towards merging them, and this a step on that path.
Diffstat (limited to 'sys/dev/vx/if_vx_eisa.c')
-rw-r--r--sys/dev/vx/if_vx_eisa.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/vx/if_vx_eisa.c b/sys/dev/vx/if_vx_eisa.c
index 508554c..95e5554 100644
--- a/sys/dev/vx/if_vx_eisa.c
+++ b/sys/dev/vx/if_vx_eisa.c
@@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$");
#include <dev/eisa/eisaconf.h>
#include <dev/vx/if_vxreg.h>
+#include <dev/vx/if_vxvar.h>
#define EISA_DEVICE_ID_3COM_3C592 0x506d5920
#define EISA_DEVICE_ID_3COM_3C597_TX 0x506d5970
@@ -139,8 +140,8 @@ vx_eisa_attach(device_t dev)
sc = device_get_softc(dev);
sc->vx_res = io;
- sc->vx_bhandle = rman_get_bushandle(io);
- sc->vx_btag = rman_get_bustag(io);
+ sc->bst = rman_get_bustag(io);
+ sc->bsh = rman_get_bushandle(io);
rid = 0;
irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
OpenPOWER on IntegriCloud