summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-11-14 12:24:35 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-11-14 12:24:35 +0000
commitd4b30e4dab55ba0f01500509496caae6e7715c70 (patch)
tree1d277b3a6d600e0e4b9b8654a9e2f23d06db6b5e /sys/dev
parent2f275df85d45644eb919278df428c3235ddb160d (diff)
ep_w1_reg() returns int thus no need to stuff it into bus_addr_t
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/elink3.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c
index 287466883a9..7e337e5bc86 100644
--- a/sys/dev/ic/elink3.c
+++ b/sys/dev/ic/elink3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elink3.c,v 1.64 2005/04/25 17:55:50 brad Exp $ */
+/* $OpenBSD: elink3.c,v 1.65 2005/11/14 12:24:34 mickey Exp $ */
/* $NetBSD: elink3.c,v 1.32 1997/05/14 00:22:00 thorpej Exp $ */
/*
@@ -973,8 +973,7 @@ epstart(ifp)
bus_space_tag_t iot = sc->sc_iot;
bus_space_handle_t ioh = sc->sc_ioh;
struct mbuf *m, *m0;
- int sh, len, pad;
- bus_addr_t txreg;
+ int sh, len, pad, txreg;
/* Don't transmit if interface is busy or not running */
if ((ifp->if_flags & (IFF_RUNNING | IFF_OACTIVE)) != IFF_RUNNING)
@@ -1374,9 +1373,7 @@ epget(sc, totlen)
bus_space_handle_t ioh = sc->sc_ioh;
struct ifnet *ifp = &sc->sc_arpcom.ac_if;
struct mbuf *top, **mp, *m;
- int len, pad;
- int sh;
- bus_addr_t rxreg;
+ int len, pad, sh, rxreg;
m = sc->mb[sc->next_mb];
sc->mb[sc->next_mb] = 0;