X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F403-ath9k-introduce-bus-specific-cache-size-routine.patch;h=f6fcbd6b5ae2d548ad298ce15cd7a7ea680aa968;hb=5e29bec1cd7de71eb6368adeb147e2432d782295;hp=4fd49691a1fbbea35cdc531ba555ff42aef9d3a9;hpb=4ee4685d10f09af43d9c69a19f795fbb80a97f14;p=openwrt-10.03%2F.git diff --git a/package/mac80211/patches/403-ath9k-introduce-bus-specific-cache-size-routine.patch b/package/mac80211/patches/403-ath9k-introduce-bus-specific-cache-size-routine.patch index 4fd49691a..f6fcbd6b5 100644 --- a/package/mac80211/patches/403-ath9k-introduce-bus-specific-cache-size-routine.patch +++ b/package/mac80211/patches/403-ath9k-introduce-bus-specific-cache-size-routine.patch @@ -1,7 +1,7 @@ From 1306e6b6d72b2bc0b91bcdd15b1d982965210bda Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 5 Jan 2009 10:57:42 +0100 -Subject: [PATCH 03/11] ath9k: introduce bus specific cache size routine +Subject: [PATCH v2 03/11] ath9k: introduce bus specific cache size routine The PCI specific bus_read_cachesize routine won't work on the AHB bus, we have to replace it with a suitable one later. @@ -55,7 +55,7 @@ Signed-off-by: Imre Kaloz { u8 u8tmp; -@@ -1338,7 +1338,7 @@ static int ath_init(u16 devid, struct at +@@ -1340,7 +1340,7 @@ static int ath_init(u16 devid, struct at * Cache line size is used to size and align various * structures used to communicate with the hardware. */ @@ -64,7 +64,7 @@ Signed-off-by: Imre Kaloz /* XXX assert csz is non-zero */ sc->sc_cachelsz = csz << 2; /* convert to bytes */ -@@ -2529,6 +2529,10 @@ ath_rf_name(u16 rf_version) +@@ -2538,6 +2538,10 @@ ath_rf_name(u16 rf_version) return "????"; } @@ -75,7 +75,7 @@ Signed-off-by: Imre Kaloz static int ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) { void __iomem *mem; -@@ -2617,6 +2621,7 @@ static int ath_pci_probe(struct pci_dev +@@ -2626,6 +2630,7 @@ static int ath_pci_probe(struct pci_dev sc->hw = hw; sc->dev = &pdev->dev; sc->mem = mem;