]> git.baikalelectronics.ru Git - kernel.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)
commit781788a91486baac47c7c7c00f22c6834fda1f04
tree9ccad087ad69f2cbc080f4ddefb3c110d5b7aafc
parent278760bce4c60f7d29a44a075dbb743d3a0bf263
[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