diff options
author | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2006-08-17 03:44:57 +0000 |
---|---|---|
committer | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2006-08-17 03:44:57 +0000 |
commit | 7f3de486aad0b320e47f6c26e5b02a8fae8f3c52 (patch) | |
tree | c50e1392c391980ed084e5816ba6d134254c2e95 /sys/dev/usb/ehci.c | |
parent | 5e0f89334010cdc3c55a4cce1f36b15ef8d273a3 (diff) |
EHCI_NULL is already endian swapped. Don't swap it back.
ok dlg
Diffstat (limited to 'sys/dev/usb/ehci.c')
-rw-r--r-- | sys/dev/usb/ehci.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index e8192805b6f..598447a9cf8 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ehci.c,v 1.64 2006/08/14 00:41:11 pascoe Exp $ */ +/* $OpenBSD: ehci.c,v 1.65 2006/08/17 03:44:56 pascoe Exp $ */ /* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */ /* @@ -2513,7 +2513,7 @@ ehci_abort_xfer(usbd_xfer_handle xfer, usbd_status status) /* We will change them to point here */ snext = exfer->sqtdend->nextqtd; - next = snext ? snext->physaddr : htole32(EHCI_NULL); + next = snext ? snext->physaddr : EHCI_NULL; /* * Now loop through any qTDs before us and keep track of the pointer @@ -2566,8 +2566,7 @@ ehci_abort_xfer(usbd_xfer_handle xfer, usbd_status status) sqh->qh.qh_curqtd = 0; /* unlink qTDs */ sqh->qh.qh_qtd.qtd_status = 0; sqh->qh.qh_qtd.qtd_next = - sqh->qh.qh_qtd.qtd_altnext - = htole32(EHCI_NULL); + sqh->qh.qh_qtd.qtd_altnext = EHCI_NULL; DPRINTFN(1,("ehci_abort_xfer: no hit\n")); } } |