don't panic on data toggle error. Reference: /n/sources/patch/applied/ochidt Date: Sun Mar 9 23:50:02 CET 2008 Signed-off-by: quanstro@quanstro.net --- /sys/src/9/pc/usbohci.c Sun Mar 9 23:49:24 2008 +++ /sys/src/9/pc/usbohci.c Sun Mar 9 23:49:21 2008 @@ -1869,6 +1869,9 @@ case 2: /* Bitstuff */ ep->dir[dirin].err = "Bitstuff error"; goto error; + case 3: + ep->dir[dirin].err = "data toggle mismatch"; + goto error; case 4: /* Stall */ ep->dir[dirin].err = Estalled; goto error; @@ -1888,8 +1891,7 @@ wakeup(&ep->dir[dirin].rend); break; default: - panic("cc %lud unimplemented\n", - (ctrl >> TD_CC_SHIFT) & TD_CC_MASK); + panic("cc %lud unimplemented\n", cc); } ep->dir[dirin].queued--; /* Clean up blocks used for transfers */