svn commit: r198643 - in stable/8/sys: . amd64/include/xen
cddl/contrib/opensolaris contrib/dev/acpica contrib/pf
dev/usb/controller dev/xen/xenpci
Andrew Thompson
thompsa at FreeBSD.org
Thu Oct 29 23:16:40 UTC 2009
Author: thompsa
Date: Thu Oct 29 23:16:39 2009
New Revision: 198643
URL: http://svn.freebsd.org/changeset/base/198643
Log:
MFC r197556
Clear all interrupts rather than just SETUP packet.
Modified:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/usb/controller/atmegadci.c
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/dev/usb/controller/atmegadci.c
==============================================================================
--- stable/8/sys/dev/usb/controller/atmegadci.c Thu Oct 29 23:16:00 2009 (r198642)
+++ stable/8/sys/dev/usb/controller/atmegadci.c Thu Oct 29 23:16:39 2009 (r198643)
@@ -301,8 +301,8 @@ atmegadci_setup_rx(struct atmegadci_td *
sc->sc_dv_addr = 0xFF;
}
- /* clear SETUP packet interrupt */
- ATMEGA_WRITE_1(sc, ATMEGA_UEINTX, ~ATMEGA_UEINTX_RXSTPI);
+ /* Clear SETUP packet interrupt and all other previous interrupts */
+ ATMEGA_WRITE_1(sc, ATMEGA_UEINTX, 0);
return (0); /* complete */
not_complete:
More information about the svn-src-all
mailing list