diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-11-14 13:11:41 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-11-14 13:11:41 +0000 |
commit | 86f50091b2b5f2a1dc56f5baa97cec73dac1450a (patch) | |
tree | b47dfe32c98c543c2e4b68de46966547c8f4395d | |
parent | 94b2dcea0e54941af0804bff1bd9cc270e2e42e7 (diff) |
bus_size_t is a more proper type for a register offset [against bh]
-rw-r--r-- | sys/dev/pci/if_bge.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index de84f654675..de2904e4ef7 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bge.c,v 1.91 2005/10/21 22:27:07 brad Exp $ */ +/* $OpenBSD: if_bge.c,v 1.92 2005/11/14 13:11:40 mickey Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -141,7 +141,7 @@ int bge_intr(void *); void bge_start(struct ifnet *); int bge_ioctl(struct ifnet *, u_long, caddr_t); void bge_init(void *); -void bge_stop_block(struct bge_softc *, bus_addr_t, uint32_t); +void bge_stop_block(struct bge_softc *, bus_size_t, uint32_t); void bge_stop(struct bge_softc *); void bge_watchdog(struct ifnet *); void bge_shutdown(void *); @@ -3201,7 +3201,7 @@ bge_watchdog(struct ifnet *ifp) } void -bge_stop_block(struct bge_softc *sc, bus_addr_t reg, uint32_t bit) +bge_stop_block(struct bge_softc *sc, bus_size_t reg, uint32_t bit) { int i; |