diff options
author | mjacob <mjacob@FreeBSD.org> | 2001-03-04 18:42:51 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2001-03-04 18:42:51 +0000 |
commit | 907000cc31414f82b778e5dd0d75f38fe7b1eafd (patch) | |
tree | 0e48765c9bb8774c047e9e6bc1e05460b308625e | |
parent | 1aa3af929ac2bebf9d75be5baa9d82fdaf7e0fc6 (diff) | |
download | FreeBSD-src-907000cc31414f82b778e5dd0d75f38fe7b1eafd.zip FreeBSD-src-907000cc31414f82b778e5dd0d75f38fe7b1eafd.tar.gz |
more 32 to 16 bit handle conversions
-rw-r--r-- | sys/dev/isp/isp_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index 56b317b..b8a903b 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -53,7 +53,7 @@ static int isp_pci_mbxdma __P((struct ispsoftc *)); static int isp_pci_dmasetup __P((struct ispsoftc *, XS_T *, ispreq_t *, u_int16_t *, u_int16_t)); static void -isp_pci_dmateardown __P((struct ispsoftc *, XS_T *, u_int32_t)); +isp_pci_dmateardown __P((struct ispsoftc *, XS_T *, u_int16_t)); static void isp_pci_reset1 __P((struct ispsoftc *)); static void isp_pci_dumpregs __P((struct ispsoftc *, const char *)); @@ -1796,7 +1796,7 @@ exit: } static void -isp_pci_dmateardown(struct ispsoftc *isp, XS_T *xs, u_int32_t handle) +isp_pci_dmateardown(struct ispsoftc *isp, XS_T *xs, u_int16_t handle) { struct isp_pcisoftc *pci = (struct isp_pcisoftc *)isp; bus_dmamap_t *dp = &pci->dmaps[isp_handle_index(handle)]; |