aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2005-01-09 23:49:45 +0000
committerJulian Elischer <julian@FreeBSD.org>2005-01-09 23:49:45 +0000
commit4f93332f16fb8b0122c1e4ce7129b83625c19cd8 (patch)
treef996f17786a26bfebf490e315d8de694d457871c
parent28536989518bc7875838df1f23051a3f43c9ee8e (diff)
Notes
-rw-r--r--sys/dev/usb/ehci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index 31d60dc77fb4..bdbd4eb4fb62 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -2572,7 +2572,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 ? htole32(snext->physaddr) : EHCI_NULL;
/*
* Now loop through any qTDs before us and keep track of the pointer
@@ -2627,7 +2627,7 @@ ehci_abort_xfer(usbd_xfer_handle xfer, usbd_status status)
sqh->qh.qh_qtd.qtd_status = 0;
sqh->qh.qh_qtd.qtd_next =
sqh->qh.qh_qtd.qtd_altnext
- = htole32(EHCI_NULL);
+ = EHCI_NULL;
DPRINTFN(1,("ehci_abort_xfer: no hit\n"));
}
}