X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/eb434568feb9157a62875a1ea504cc15ad553b4d..6d9af11c8cb11d5deb4f53649c7b96faba88df47:/package/mac80211/patches/401-ath9k-convert-to-struct-device.patch diff --git a/package/mac80211/patches/401-ath9k-convert-to-struct-device.patch b/package/mac80211/patches/401-ath9k-convert-to-struct-device.patch index 762a0d789..a7ad76e1f 100644 --- a/package/mac80211/patches/401-ath9k-convert-to-struct-device.patch +++ b/package/mac80211/patches/401-ath9k-convert-to-struct-device.patch @@ -1,11 +1,13 @@ -From 3ded580cd6f24776395649b301857d075a5121fb Mon Sep 17 00:00:00 2001 +From 1f8e398032f7aa8a06ac950fe1d4e0a48d7578b2 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 5 Jan 2009 10:45:00 +0100 -Subject: [PATCH 01/11] ath9k: convert to struct device +Subject: [PATCH v3 01/11] ath9k: convert to struct device Convert 'struct pci_dev' to 'struct device' to make it usable on the AHB bus as well. +Changes-licensed-under: ISC + Signed-off-by: Gabor Juhos Signed-off-by: Imre Kaloz --- @@ -97,7 +99,7 @@ Signed-off-by: Imre Kaloz *csz = (int)u8tmp; /* -@@ -1267,11 +1268,11 @@ static int ath_start_rfkill_poll(struct +@@ -1269,11 +1270,11 @@ static int ath_start_rfkill_poll(struct /* Deinitialize the device */ ath_detach(sc); @@ -114,7 +116,7 @@ Signed-off-by: Imre Kaloz ieee80211_free_hw(sc->hw); return -EIO; } else { -@@ -1708,7 +1709,7 @@ int ath_descdma_setup(struct ath_softc * +@@ -1716,7 +1717,7 @@ int ath_descdma_setup(struct ath_softc * } /* allocate descriptors */ @@ -123,7 +125,7 @@ Signed-off-by: Imre Kaloz dd->dd_desc_len, &dd->dd_desc_paddr); if (dd->dd_desc == NULL) { -@@ -1756,7 +1757,7 @@ int ath_descdma_setup(struct ath_softc * +@@ -1764,7 +1765,7 @@ int ath_descdma_setup(struct ath_softc * } return 0; fail2: @@ -132,7 +134,7 @@ Signed-off-by: Imre Kaloz dd->dd_desc_len, dd->dd_desc, dd->dd_desc_paddr); fail: memset(dd, 0, sizeof(*dd)); -@@ -1770,7 +1771,7 @@ void ath_descdma_cleanup(struct ath_soft +@@ -1778,7 +1779,7 @@ void ath_descdma_cleanup(struct ath_soft struct ath_descdma *dd, struct list_head *head) { @@ -141,7 +143,7 @@ Signed-off-by: Imre Kaloz dd->dd_desc_len, dd->dd_desc, dd->dd_desc_paddr); INIT_LIST_HEAD(head); -@@ -2615,7 +2616,7 @@ static int ath_pci_probe(struct pci_dev +@@ -2624,7 +2625,7 @@ static int ath_pci_probe(struct pci_dev sc = hw->priv; sc->hw = hw; @@ -185,7 +187,7 @@ Signed-off-by: Imre Kaloz sc->rx.bufsize, PCI_DMA_FROMDEVICE); -@@ -599,10 +601,11 @@ int ath_rx_tasklet(struct ath_softc *sc, +@@ -605,10 +607,11 @@ int ath_rx_tasklet(struct ath_softc *sc, /* We will now give hardware our shiny new allocated skb */ bf->bf_mpdu = requeue_skb;