Source-Changes archive

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

CVS commit: xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd



Module Name:    xsrc
Committed By:   bouyer
Date:           Sat Jan 24 17:18:53 UTC 2009

Modified Files:
        xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd:
            bsd_ev56.c

Log Message:
The {read,write}Dense{8,16} functions, as implemented, always to 32bits access
and truncate the result to 8/16 bits, or do read/modify/write cycles.
This is bad if the read or write cycle to adjacent registers change the
adapter's state (e.g. if an adjacent register is a fifo, we'll discard
values, or add additionnal, unwanted values in the fifo).

Fix: use the BWX instructions for 8 and 16 bit access.

Also submitted to Xorg as bug #19722


To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 \
    xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/bsd_ev56.c

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