Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/usb



Module Name:    src
Committed By:   scw
Date:           Sun Oct  8 11:52:48 UTC 2006

Modified Files:
        src/sys/dev/usb: ehcireg.h ohcireg.h uhcireg.h

Log Message:
Add the 'volatile' qualifier to all descriptor fields to prevent the
compiler optimising away or reordering accesses to them.

Fixes ehci(4) on NetBSD/evbarm when using -Os optimisation. It's likely
ohci(4) and uhci(4) are similarly afflicted, so the same changes have
been made there.

Quite how other platforms got away without this for so long is a mystery...


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 src/sys/dev/usb/ehcireg.h
cvs rdiff -r1.21 -r1.22 src/sys/dev/usb/ohcireg.h
cvs rdiff -r1.17 -r1.18 src/sys/dev/usb/uhcireg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index