This fixes an issue discovered in A/UX whereby attempts to read the colour LUT from the macfb device returned zero (black) for all colours. The problem was that the DAFB_RESET register is actually used to set the current colour palette array index: fixing that and allowing larger access sizes allows the test case to work.
This series implements these changes, along with renaming the DAFB_RESET register to DAFB_LUT_INDEX which better describes its purpose. Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk Mark Cave-Ayland (4): macfb: don't clear interrupts when writing to DAFB_RESET macfb: rename DAFB_RESET to DAFB_LUT_INDEX macfb: allow larger write accesses to the DAFB_LUT register macfb: allow reads from the DAFB_LUT register hw/display/macfb.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) -- 2.39.2