PERFORCE change 168436 for review

Hans Petter Selasky hselasky at FreeBSD.org
Fri Sep 11 09:05:27 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=168436

Change 168436 by hselasky at hselasky_laptop001 on 2009/09/11 09:05:03

	
	USB atmegadci:
	 - Bugfix, need to clear more interrupts
	   in some special cases.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/controller/atmegadci.c#39 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/controller/atmegadci.c#39 (text+ko) ====

@@ -301,8 +301,8 @@
 		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 p4-projects mailing list