projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a menuconfig option for enabling KALLSYMS for the kernel
[openwrt.git]
/
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
762a0d7
..
a7ad76e
100644
(file)
--- 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 <juhosg@openwrt.org>
Date: Mon, 5 Jan 2009 10:45:00 +0100
From: Gabor Juhos <juhosg@openwrt.org>
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.
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 <juhosg@openwrt.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
---
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
---
@@
-97,7
+99,7
@@
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
*csz = (int)u8tmp;
/*
*csz = (int)u8tmp;
/*
-@@ -126
7,11 +1268
,11 @@ static int ath_start_rfkill_poll(struct
+@@ -126
9,11 +1270
,11 @@ static int ath_start_rfkill_poll(struct
/* Deinitialize the device */
ath_detach(sc);
/* Deinitialize the device */
ath_detach(sc);
@@
-114,7
+116,7
@@
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
ieee80211_free_hw(sc->hw);
return -EIO;
} else {
ieee80211_free_hw(sc->hw);
return -EIO;
} else {
-@@ -17
08,7 +1709
,7 @@ int ath_descdma_setup(struct ath_softc *
+@@ -17
16,7 +1717
,7 @@ int ath_descdma_setup(struct ath_softc *
}
/* allocate descriptors */
}
/* allocate descriptors */
@@
-123,7
+125,7
@@
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
dd->dd_desc_len,
&dd->dd_desc_paddr);
if (dd->dd_desc == NULL) {
dd->dd_desc_len,
&dd->dd_desc_paddr);
if (dd->dd_desc == NULL) {
-@@ -17
56,7 +1757
,7 @@ int ath_descdma_setup(struct ath_softc *
+@@ -17
64,7 +1765
,7 @@ int ath_descdma_setup(struct ath_softc *
}
return 0;
fail2:
}
return 0;
fail2:
@@
-132,7
+134,7
@@
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
dd->dd_desc_len, dd->dd_desc, dd->dd_desc_paddr);
fail:
memset(dd, 0, sizeof(*dd));
dd->dd_desc_len, dd->dd_desc, dd->dd_desc_paddr);
fail:
memset(dd, 0, sizeof(*dd));
-@@ -177
0,7 +1771
,7 @@ void ath_descdma_cleanup(struct ath_soft
+@@ -177
8,7 +1779
,7 @@ void ath_descdma_cleanup(struct ath_soft
struct ath_descdma *dd,
struct list_head *head)
{
struct ath_descdma *dd,
struct list_head *head)
{
@@
-141,7
+143,7
@@
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
dd->dd_desc_len, dd->dd_desc, dd->dd_desc_paddr);
INIT_LIST_HEAD(head);
dd->dd_desc_len, dd->dd_desc, dd->dd_desc_paddr);
INIT_LIST_HEAD(head);
-@@ -26
15,7 +2616
,7 @@ static int ath_pci_probe(struct pci_dev
+@@ -26
24,7 +2625
,7 @@ static int ath_pci_probe(struct pci_dev
sc = hw->priv;
sc->hw = hw;
sc = hw->priv;
sc->hw = hw;
@@
-185,7
+187,7
@@
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
sc->rx.bufsize,
PCI_DMA_FROMDEVICE);
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;
/* We will now give hardware our shiny new allocated skb */
bf->bf_mpdu = requeue_skb;
This page took
0.022219 seconds
and
4
git commands to generate.