diff options
author | 2005-11-18 05:32:06 +0000 | |
---|---|---|
committer | 2005-11-18 05:32:06 +0000 | |
commit | 0345f7ceb3a4af7bb3d55c221d276280343e5e2c (patch) | |
tree | d42ef8c18fa229e275cab51a83a70a57c022d0f9 /sys/dev/pci/if_em.c | |
parent | fix wrong htole usage in the 82544 PCI-X workaround codepath in em_encap(). (diff) | |
download | wireguard-openbsd-0345f7ceb3a4af7bb3d55c221d276280343e5e2c.tar.xz wireguard-openbsd-0345f7ceb3a4af7bb3d55c221d276280343e5e2c.zip |
Use bus_addr_t for address in em_fill_descriptors().
Diffstat (limited to 'sys/dev/pci/if_em.c')
-rw-r--r-- | sys/dev/pci/if_em.c | 6 |
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) { |