diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-11-06 21:19:17 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-11-06 21:19:17 +0000 |
| commit | a1571cd12fcfe3d85fec6d33b5ce9d71c1d6bcac (patch) | |
| tree | 61deb28e9db0aab73cd8f1a67eb4c228b070e74b /sys/dev/dpt | |
| parent | cea108a8cec5c00847b78eb3872be988941b71dc (diff) | |
Notes
Diffstat (limited to 'sys/dev/dpt')
| -rw-r--r-- | sys/dev/dpt/dpt_scsi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/dpt/dpt_scsi.c b/sys/dev/dpt/dpt_scsi.c index 9fa12e5f542f..9f28432715f2 100644 --- a/sys/dev/dpt/dpt_scsi.c +++ b/sys/dev/dpt/dpt_scsi.c @@ -113,7 +113,7 @@ static __inline int dpt_wait(dpt_softc_t *dpt, u_int bits, static __inline struct dpt_ccb* dptgetccb(struct dpt_softc *dpt); static __inline void dptfreeccb(struct dpt_softc *dpt, struct dpt_ccb *dccb); -static __inline u_int32_t dptccbvtop(struct dpt_softc *dpt, +static __inline bus_addr_t dptccbvtop(struct dpt_softc *dpt, struct dpt_ccb *dccb); static __inline int dpt_send_immediate(dpt_softc_t *dpt, @@ -260,7 +260,7 @@ dptfreeccb(struct dpt_softc *dpt, struct dpt_ccb *dccb) splx(s); } -static __inline u_int32_t +static __inline bus_addr_t dptccbvtop(struct dpt_softc *dpt, struct dpt_ccb *dccb) { return (dpt->dpt_ccb_busbase @@ -268,7 +268,7 @@ dptccbvtop(struct dpt_softc *dpt, struct dpt_ccb *dccb) } static __inline struct dpt_ccb * -dptccbptov(struct dpt_softc *dpt, u_int32_t busaddr) +dptccbptov(struct dpt_softc *dpt, bus_addr_t busaddr) { return (dpt->dpt_dccbs + ((struct dpt_ccb *)busaddr |
