]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[RADEON]: Fix unaligned I/O port access during probe.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 30 Sep 2005 02:26:51 +0000 (19:26 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 30 Sep 2005 02:26:51 +0000 (19:26 -0700)
commit017fb98e70351e9fb5635c299c4d1c50e2f8b823
tree9ccad087ad69f2cbc080f4ddefb3c110d5b7aafc
parent717463d806a53380a691eeb0136a4b750a9f9ae0
[RADEON]: Fix unaligned I/O port access during probe.

The driver does a readl() on DEVICE_ID which is 2-byte aligned and
2-bytes in size.  It's doing this read just to flush write buffers.

Create IN16() and OUT16() macros, and use the former to do this I/O
load.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/video/aty/radeon_base.c
drivers/video/aty/radeonfb.h