1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 15:27:33 +02:00

acx-mac80211: remove patch

This patch is already incorporated into the original source code.

closes #9499


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27100 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hauke 2011-06-04 09:33:02 +00:00
parent 9a842645c0
commit 1a728fb888

View File

@ -1,19 +0,0 @@
diff --git a/pci.c b/pci.c
index 4f5c0a7..160f3e0 100644
--- a/pci.c
+++ b/pci.c
@@ -273,10 +273,10 @@ static void acxpci_log_txbuffer(acx_device_t * adev)
*/
/* OS I/O routines *always* be endianness-clean but having them doesn't hurt */
-#define acx_readl(v) le32_to_cpu(readl((v)))
-#define acx_readw(v) le16_to_cpu(readw((v)))
-#define acx_writew(v,r) writew(le16_to_cpu((v)), r)
-#define acx_writel(v,r) writel(le32_to_cpu((v)), r)
+#define acx_readl(v) readl((v))
+#define acx_readw(v) readw((v))
+#define acx_writew(v,r) writew((v), r)
+#define acx_writel(v,r) writel((v), r)
INLINE_IO u32 read_reg32(acx_device_t * adev, unsigned int offset)
{