diff options
author | dfr <dfr@FreeBSD.org> | 2004-05-22 16:14:17 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2004-05-22 16:14:17 +0000 |
commit | 721570642d3cc139168c8f3492106313e99e44bb (patch) | |
tree | 51bff0748813fa32dc6a4a3e1849ad8cc299700a /sys/dev/firewire/fwdev.c | |
parent | ac834a03f9eb1ac57dcf4198a93bb236d806f0b2 (diff) | |
download | FreeBSD-src-721570642d3cc139168c8f3492106313e99e44bb.zip FreeBSD-src-721570642d3cc139168c8f3492106313e99e44bb.tar.gz |
Change u_intXX_t to uintXX_t. Change a couple of 'unsigned long's to
uint32_t where appropriate.
Diffstat (limited to 'sys/dev/firewire/fwdev.c')
-rw-r--r-- | sys/dev/firewire/fwdev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c index ae736c2..29c025b 100644 --- a/sys/dev/firewire/fwdev.c +++ b/sys/dev/firewire/fwdev.c @@ -128,8 +128,8 @@ fwdev_allocbuf(struct firewire_comm *fc, struct fw_xferq *q, if (q->bulkxfer == NULL) return(ENOMEM); - b->psize = roundup2(b->psize, sizeof(u_int32_t)); - q->buf = fwdma_malloc_multiseg(fc, sizeof(u_int32_t), + b->psize = roundup2(b->psize, sizeof(uint32_t)); + q->buf = fwdma_malloc_multiseg(fc, sizeof(uint32_t), b->psize, b->nchunk * b->npacket, BUS_DMA_WAITOK); if (q->buf == NULL) { @@ -347,7 +347,7 @@ readloop: return err; } err = uiomove((caddr_t)fp, - fp->mode.stream.len + sizeof(u_int32_t), uio); + fp->mode.stream.len + sizeof(uint32_t), uio); ir->queued ++; if(ir->queued >= ir->bnpacket){ s = splfw(); @@ -694,7 +694,7 @@ out: ptr = malloc(CROMSIZE, M_FW, M_WAITOK); len = CROMSIZE; for (i = 0; i < CROMSIZE/4; i++) - ((u_int32_t *)ptr)[i] + ((uint32_t *)ptr)[i] = ntohl(sc->fc->config_rom[i]); } else { /* found */ |