X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F830-b43-workaround-pcie-bcm4716.patch;fp=package%2Fmac80211%2Fpatches%2F830-b43-workaround-pcie-bcm4716.patch;h=ce9ad7d5c48b5eb7dd8204e142346b7b60ba3562;hp=98153f01b723db9b5d494c5a0a35555af8bae819;hb=331ccace7fdaf4db37046c12b5484eaf392c6225;hpb=9d00e147f577708cde743e182a6e1b18331c64d5 diff --git a/package/mac80211/patches/830-b43-workaround-pcie-bcm4716.patch b/package/mac80211/patches/830-b43-workaround-pcie-bcm4716.patch index 98153f01b7..ce9ad7d5c4 100644 --- a/package/mac80211/patches/830-b43-workaround-pcie-bcm4716.patch +++ b/package/mac80211/patches/830-b43-workaround-pcie-bcm4716.patch @@ -19,7 +19,7 @@ Signed-off-by: Hauke Mehrtens --- a/drivers/net/wireless/b43/b43.h +++ b/drivers/net/wireless/b43/b43.h -@@ -1051,6 +1051,32 @@ static inline bool b43_using_pio_transfe +@@ -1048,6 +1048,32 @@ static inline bool b43_using_pio_transfe return dev->__using_pio_transfers; } @@ -73,7 +73,7 @@ Signed-off-by: Hauke Mehrtens struct b43_bus_dev *b43_bus_dev_ssb_init(struct ssb_device *sdev); --- a/drivers/net/wireless/b43/phy_common.c +++ b/drivers/net/wireless/b43/phy_common.c -@@ -251,6 +251,12 @@ void b43_phy_write(struct b43_wldev *dev +@@ -266,6 +266,12 @@ void b43_phy_write(struct b43_wldev *dev { assert_mac_suspended(dev); dev->phy.ops->phy_write(dev, reg, value); @@ -88,7 +88,7 @@ Signed-off-by: Hauke Mehrtens dev->phy.writes_counter = 0; --- a/drivers/net/wireless/b43/phy_n.c +++ b/drivers/net/wireless/b43/phy_n.c -@@ -4838,14 +4838,14 @@ static inline void check_phyreg(struct b +@@ -5423,14 +5423,14 @@ static inline void check_phyreg(struct b static u16 b43_nphy_op_read(struct b43_wldev *dev, u16 reg) { check_phyreg(dev, reg); @@ -105,7 +105,7 @@ Signed-off-by: Hauke Mehrtens b43_write16(dev, B43_MMIO_PHY_DATA, value); } -@@ -4853,7 +4853,7 @@ static void b43_nphy_op_maskset(struct b +@@ -5438,7 +5438,7 @@ static void b43_nphy_op_maskset(struct b u16 set) { check_phyreg(dev, reg); @@ -114,7 +114,7 @@ Signed-off-by: Hauke Mehrtens b43_maskset16(dev, B43_MMIO_PHY_DATA, mask, set); } -@@ -4864,7 +4864,7 @@ static u16 b43_nphy_op_radio_read(struct +@@ -5449,7 +5449,7 @@ static u16 b43_nphy_op_radio_read(struct /* N-PHY needs 0x100 for read access */ reg |= 0x100; @@ -123,7 +123,7 @@ Signed-off-by: Hauke Mehrtens return b43_read16(dev, B43_MMIO_RADIO_DATA_LOW); } -@@ -4873,7 +4873,7 @@ static void b43_nphy_op_radio_write(stru +@@ -5458,7 +5458,7 @@ static void b43_nphy_op_radio_write(stru /* Register 1 is a 32-bit register. */ B43_WARN_ON(reg == 1);