summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-11-18 05:32:07 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-11-18 05:32:07 +0000
commitffcf7a60e15fc8961bad48280830a3f44a432212 (patch)
tree94ddc56a61732e69c6d134b0c0a020bcd9e3d72f /sys/dev/pci
parent6e88c00d7fb2766c4bf8303d30bd4f1e30f1ac23 (diff)
Use bus_addr_t for address in em_fill_descriptors().
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_em.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index 304d718e125..485362fecc1 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_em.c,v 1.91 2005/11/18 05:22:06 brad Exp $ */
+/* $OpenBSD: if_em.c,v 1.92 2005/11/18 05:32:06 brad Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include <dev/pci/if_em.h>
@@ -155,7 +155,7 @@ int em_dma_malloc(struct em_softc *, bus_size_t,
struct em_dma_alloc *, int);
void em_dma_free(struct em_softc *, struct em_dma_alloc *);
int em_is_valid_ether_addr(u_int8_t *);
-u_int32_t em_fill_descriptors (u_int64_t address,
+u_int32_t em_fill_descriptors (bus_addr_t address,
u_int32_t length,
PDESC_ARRAY desc_array);
@@ -2605,7 +2605,7 @@ em_pci_clear_mwi(struct em_hw *hw)
*
*** *********************************************************************/
u_int32_t
-em_fill_descriptors (u_int64_t address,
+em_fill_descriptors (bus_addr_t address,
u_int32_t length,
PDESC_ARRAY desc_array)
{