1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Add a comment explaining a code change..

This commit is contained in:
Julian Elischer 2002-02-27 19:24:55 +00:00
parent fdcc1cc09f
commit ca9d2dbac9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91421

View File

@ -1031,13 +1031,13 @@ ohci_intr1(ohci_softc_t *sc)
done &= ~OHCI_DONE_INTRS;
if (sc->sc_done == 0)
sc->sc_done = done;
else {
else { /* there is at least one */
/* Tack on at the end of sc_done. */
ohci_physaddr_t ldone;
ohci_soft_td_t *std;
ldone = sc->sc_done; /* always non 0 */
do {
do { /* use do{}while here to silence gcc warnings */
std = ohci_hash_find_td(sc, ldone);
ldone = le32toh(std->td.td_nexttd);
} while (ldone != 0);