diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-03-07 18:08:59 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-03-07 18:08:59 +0000 |
commit | 09f1ec373e0d13417810ac3620b458cf50cd65d7 (patch) | |
tree | 443346a2e00e5a00e9f52995b3c89cd04a27878c /sys/dev/usb | |
parent | d55a784c1d5bc879acbf4efb0e0b962551cef9cf (diff) | |
download | FreeBSD-src-09f1ec373e0d13417810ac3620b458cf50cd65d7.zip FreeBSD-src-09f1ec373e0d13417810ac3620b458cf50cd65d7.tar.gz |
Fix some missed htole32 conversions to htoehci32.
Reviewed by: hps
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/controller/ehci.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/usb/controller/ehci.c b/sys/dev/usb/controller/ehci.c index cccd76a..40044b4 100644 --- a/sys/dev/usb/controller/ehci.c +++ b/sys/dev/usb/controller/ehci.c @@ -1776,8 +1776,8 @@ ehci_setup_standard_chain(struct usb2_xfer *xfer, ehci_qh_t **qh_last) temp.qtd_status &= htoehci32(temp.sc, EHCI_QTD_SET_CERR(3)); - temp.qtd_status |= htole32 - (EHCI_QTD_ACTIVE | + temp.qtd_status |= htoehci32(temp.sc, + EHCI_QTD_ACTIVE | EHCI_QTD_SET_PID(EHCI_QTD_PID_SETUP) | EHCI_QTD_SET_TOGGLE(0)); @@ -2591,13 +2591,13 @@ ehci_device_isoc_fs_enter(struct usb2_xfer *xfer) td->sitd_mask = htoehci32(sc, sitd_mask); if (nframes == 0) { - td->sitd_status = htole32 - (EHCI_SITD_IOC | + td->sitd_status = htoehci32(sc, + EHCI_SITD_IOC | EHCI_SITD_ACTIVE | EHCI_SITD_SET_LEN(*plen)); } else { - td->sitd_status = htole32 - (EHCI_SITD_ACTIVE | + td->sitd_status = htoehci32(sc, + EHCI_SITD_ACTIVE | EHCI_SITD_SET_LEN(*plen)); } usb2_pc_cpu_flush(td->page_cache); @@ -2670,8 +2670,8 @@ ehci_device_isoc_hs_open(struct usb2_xfer *xfer) td->itd_status[7] = 0; /* set endpoint and address */ - td->itd_bp[0] = htole32 - (EHCI_ITD_SET_ADDR(xfer->address) | + td->itd_bp[0] = htoehci32(sc, + EHCI_ITD_SET_ADDR(xfer->address) | EHCI_ITD_SET_ENDPT(UE_GET_ADDR(xfer->endpoint))); temp = |