X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F403-ath9k-introduce-bus-specific-cache-size-routine.patch;h=99acbf967f8ebd4062a462ebd88a51d8b5679c5d;hb=bdd0df792abfc71d6db1fc6c05956d6114994d79;hp=d6b24ebca3c81bb7835440c9af16d78203799cfc;hpb=b0122ff809412b95e3a6acc87e78ebe015213039;p=oweals%2Fopenwrt.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 d6b24ebca3..99acbf967f 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,11 +1,13 @@ -From 1306e6b6d72b2bc0b91bcdd15b1d982965210bda Mon Sep 17 00:00:00 2001 +From b9aae7ff9c6ca6864434882cce9c9c6fea88220b Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 5 Jan 2009 10:57:42 +0100 -Subject: [PATCH v2 03/11] ath9k: introduce bus specific cache size routine +Subject: [PATCH v3 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. +Changes-licensed-under: ISC + Signed-off-by: Gabor Juhos Signed-off-by: Imre Kaloz --- @@ -55,7 +57,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 +66,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 +77,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;