[PATCH] MACB: Use __raw register access
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 8 Dec 2006 13:38:30 +0000 (14:38 +0100)
committerJeff Garzik <jeff@garzik.org>
Mon, 11 Dec 2006 14:31:28 +0000 (09:31 -0500)
commit0f0d84e52cb2a6e0b1d101484a92121410135da1
tree995b2a031e041b4673700904840511da476814f2
parentd836cae4f683211f14c1fd8184f478622b185164
[PATCH] MACB: Use __raw register access

Since macb is a chip-internal device, use __raw_readl and
__raw_writel instead of readl/writel. This will perform native-endian
accesses, which is the right thing to do on both AVR32 and ARM devices.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/macb.c
drivers/net/macb.h