[gentoo-commits] repo/gentoo:master commit in: net-wireless/broadcom-sta/files/, net-wireless/broadcom-sta/
commit: b3538887b69d698359ce340805ab5c19e6e14bad Author: Mike Pagano gentoo org> AuthorDate: Sat Jun 24 16:07:17 2023 + Commit: Mike Pagano gentoo org> CommitDate: Sat Jun 24 16:07:17 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3538887 net-wireless/broadcom-sta: Remove old and corresponding patches Signed-off-by: Mike Pagano gentoo.org> .../broadcom-sta-6.30.223.271-r6.ebuild| 94 - .../broadcom-sta-6.30.223.141-eth-to-wlan.patch| 12 -- .../files/broadcom-sta-6.30.223.141-gcc.patch | 11 -- .../files/broadcom-sta-6.30.223.141-makefile.patch | 14 -- ...roadcom-sta-6.30.223.248-r3-Wno-date-time.patch | 11 -- .../broadcom-sta-6.30.223.271-r1-linux-3.18.patch | 12 -- ...broadcom-sta-6.30.223.271-r2-linux-4.3-v2.patch | 16 -- .../broadcom-sta-6.30.223.271-r4-linux-4.11.patch | 52 - .../broadcom-sta-6.30.223.271-r4-linux-4.12.patch | 64 --- .../broadcom-sta-6.30.223.271-r4-linux-4.15.patch | 63 -- .../broadcom-sta-6.30.223.271-r4-linux-4.7.patch | 109 --- .../broadcom-sta-6.30.223.271-r4-linux-4.8.patch | 64 --- .../broadcom-sta-6.30.223.271-r5-linux-5.1.patch | 29 --- .../broadcom-sta-6.30.223.271-r5-linux-5.6.patch | 88 - .../broadcom-sta-6.30.223.271-r6-linux-5.9.patch | 211 - 15 files changed, 850 deletions(-) diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r6.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r6.ebuild deleted file mode 100644 index 118df993b314.. --- a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r6.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info linux-mod - -DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver" -HOMEPAGE="https://www.broadcom.com/support/802.11; -SRC_BASE="https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35; -SRC_URI="x86? ( ${SRC_BASE}-nodebug-pcoem-${PV//\./_}.tar.gz ) - amd64? ( ${SRC_BASE}_64-nodebug-pcoem-${PV//\./_}.tar.gz ) - https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/README_${PV}.txt -> README-${P}.txt" -S="${WORKDIR}" - -LICENSE="Broadcom" -KEYWORDS="-* ~amd64 ~x86" - -RESTRICT="mirror" - -DEPEND="virtual/linux-sources" - -PATCHES=( - "${FILESDIR}/${PN}-6.30.223.141-makefile.patch" - "${FILESDIR}/${PN}-6.30.223.141-eth-to-wlan.patch" - "${FILESDIR}/${PN}-6.30.223.141-gcc.patch" - "${FILESDIR}/${PN}-6.30.223.248-r3-Wno-date-time.patch" - "${FILESDIR}/${PN}-6.30.223.271-r1-linux-3.18.patch" - "${FILESDIR}/${PN}-6.30.223.271-r2-linux-4.3-v2.patch" - "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.7.patch" - "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.8.patch" - "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.11.patch" - "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.12.patch" - "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.15.patch" - "${FILESDIR}/${PN}-6.30.223.271-r5-linux-5.1.patch" - "${FILESDIR}/${PN}-6.30.223.271-r5-linux-5.6.patch" - "${FILESDIR}/${PN}-6.30.223.271-r6-linux-5.9.patch" -) - -MODULE_NAMES="wl(net/wireless)" -MODULESD_WL_ALIASES=("wlan0 wl") - -pkg_pretend() { - ewarn - ewarn "If you are stuck using this unmaintained driver (likely in a MacBook)," - ewarn "you may be interested to know that a newer compatible wireless card" - ewarn "is supported by the in-tree brcmfmac driver. It has a model number " - ewarn "BCM943602CS and is for sale on the second hand market for less than " - ewarn "20 USD." - ewarn - ewarn "See https://wikidevi.com/wiki/Broadcom_Wireless_Adapters and" - ewarn "https://wikidevi.com/wiki/Broadcom_BCM943602CS; - ewarn "for more information." - ewarn -} - -pkg_setup() { - # bug #300570 - # NOTE: module builds correctly anyway with b43 and SSB enabled - # make checks non-fatal. The correct fix is blackisting ssb and, perhaps - # b43 via udev rules. Moreover, previous fix broke binpkgs support. - CONFIG_CHECK="~!B43 ~!BCMA ~!SSB ~!X86_INTEL_LPSS" - CONFIG_CHECK2="~LIB80211 ~!MAC80211 ~LIB80211_CRYPT_TKIP" - ERROR_B43="B43: If you insist on building this, you must blacklist it!" - ERROR_BCMA="BCMA: If you insist on building this, you must blacklist it!" - ERROR_SSB="SSB: If you insist on building this, you must blacklist it!" - ERROR_LIB80211="LIB80211: Please enable it. If you can't find it: enabling the driver for \"Intel PRO/Wireless 2100\" or \"Intel PRO/Wireless 2200BG\" (IPW2100 or IPW2200) should suffice." - ERROR_MAC80211="MAC80211: If you insist on building this, you must blacklist it!" - ERROR_PREEMPT_RCU="PREEMPT_RCU: Please do not set the Preemption Model to \"Preemptible Kernel\"; choose
[gentoo-commits] repo/gentoo:master commit in: net-wireless/broadcom-sta/files/, net-wireless/broadcom-sta/
commit: b1469bc903cac37bff61b41532127110909d5f57 Author: Mike Pagano gentoo org> AuthorDate: Sat Jun 24 16:09:49 2023 + Commit: Mike Pagano gentoo org> CommitDate: Sat Jun 24 16:09:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1469bc9 net-wireless/broadcom-sta: add 6.30.223.271-r7 Bump to EAPI-8 Migrate to linux-mod-r1 Include arch patches Address pkgcheck errors concerning S in pkg_setup Fix compilation errors Thanks to the following users that provided patches ShadowOne333 Alan Kyder Closes: https://bugs.gentoo.org/836093 Closes: https://bugs.gentoo.org/852569 Closes: https://bugs.gentoo.org/836165 Closes: https://bugs.gentoo.org/839648 Closes: https://bugs.gentoo.org/908711 Signed-off-by: Mike Pagano gentoo.org> .../broadcom-sta-6.30.223.271-r7.ebuild| 103 ++ .../broadcom-sta/files/001-null-pointer-fix.patch | 48 + net-wireless/broadcom-sta/files/002-rdtscl.patch | 22 +++ net-wireless/broadcom-sta/files/003-linux47.patch | 109 +++ net-wireless/broadcom-sta/files/004-linux48.patch | 64 +++ .../files/005-debian-fix-kernel-warnings.patch | 161 net-wireless/broadcom-sta/files/006-linux411.patch | 27 +++ net-wireless/broadcom-sta/files/007-linux412.patch | 78 net-wireless/broadcom-sta/files/008-linux415.patch | 46 + .../files/009-fix_mac_profile_discrepancy.patch| 14 ++ net-wireless/broadcom-sta/files/010-linux56.patch | 55 ++ net-wireless/broadcom-sta/files/011-linux59.patch | 211 + net-wireless/broadcom-sta/files/012-linux517.patch | 80 net-wireless/broadcom-sta/files/013-linux518.patch | 71 +++ net-wireless/broadcom-sta/files/014-linux414.patch | 37 net-wireless/broadcom-sta/files/015-linux600.patch | 31 +++ net-wireless/broadcom-sta/files/016-linux601.patch | 90 + .../broadcom-sta/files/broadcom-sta-modules.conf | 17 ++ 18 files changed, 1264 insertions(+) diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r7.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r7.ebuild new file mode 100644 index ..efe1beb913de --- /dev/null +++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r7.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit linux-mod-r1 + +DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver" +HOMEPAGE="https://www.broadcom.com/support/802.11; +SRC_BASE="https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35; +SRC_URI="x86? ( ${SRC_BASE}-nodebug-pcoem-${PV//\./_}.tar.gz ) + amd64? ( ${SRC_BASE}_64-nodebug-pcoem-${PV//\./_}.tar.gz ) + https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/README_${PV}.txt -> README-${P}.txt" + +LICENSE="Broadcom" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +RESTRICT="mirror" + +DEPEND="virtual/linux-sources" +RDEPEND="" + +S="${WORKDIR}" + +PATCHES=( + "${FILESDIR}/001-null-pointer-fix.patch" + "${FILESDIR}/002-rdtscl.patch" + "${FILESDIR}/003-linux47.patch" + "${FILESDIR}/004-linux48.patch" + "${FILESDIR}/005-debian-fix-kernel-warnings.patch" + "${FILESDIR}/006-linux411.patch" + "${FILESDIR}/007-linux412.patch" + "${FILESDIR}/008-linux415.patch" + "${FILESDIR}/009-fix_mac_profile_discrepancy.patch" + "${FILESDIR}/010-linux56.patch" + "${FILESDIR}/011-linux59.patch" + "${FILESDIR}/012-linux517.patch" + "${FILESDIR}/013-linux518.patch" + "${FILESDIR}/014-linux414.patch" + "${FILESDIR}/015-linux600.patch" + "${FILESDIR}/016-linux601.patch" +) + +pkg_pretend() { + ewarn + ewarn "If you are stuck using this unmaintained driver (likely in a MacBook)," + ewarn "you may be interested to know that a newer compatible wireless card" + ewarn "is supported by the in-tree brcmfmac driver. It has a model number " + ewarn "BCM943602CS and is for sale on the second hand market for less than " + ewarn "20 USD." + ewarn + ewarn "See https://wikidevi.com/wiki/Broadcom_Wireless_Adapters and" + ewarn "https://wikidevi.com/wiki/Broadcom_BCM943602CS; + ewarn "for more information." + ewarn +} + +pkg_setup() { + # bug #300570 + # NOTE: module builds correctly anyway with b43 and SSB enabled + # make checks non-fatal. The correct fix is blackisting ssb and, perhaps + # b43 via udev rules. Moreover, previous fix broke binpkgs support. + CONFIG_CHECK="~!B43 ~!BCMA ~!SSB ~!X86_INTEL_LPSS" + CONFIG_CHECK2="LIB80211 ~!MAC80211 ~LIB80211_CRYPT_TKIP" + ERROR_B43="B43: If you insist on building this, you must blacklist it!" + ERROR_BCMA="BCMA: If you insist on building this, you must blacklist it!" + ERROR_SSB="SSB: If you insist on building this, you must blacklist
[gentoo-commits] repo/gentoo:master commit in: net-wireless/broadcom-sta/files/, net-wireless/broadcom-sta/
commit: 585c4d59c257faae50dd714419b97683381b1432 Author: Matt Turner gentoo org> AuthorDate: Sat Jun 10 22:55:01 2017 + Commit: Matt Turner gentoo org> CommitDate: Sat Jun 10 22:55:01 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=585c4d59 net-wireless/broadcom-sta: Patch for Linux 4.12 changes .../broadcom-sta-6.30.223.271-r4.ebuild| 3 +- .../broadcom-sta-6.30.223.271-r4-linux-4.12.patch | 64 ++ 2 files changed, 66 insertions(+), 1 deletion(-) diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild index d86dba144a2..5cf284a4ceb 100644 --- a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild +++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild @@ -66,7 +66,8 @@ src_prepare() { "${FILESDIR}/${PN}-6.30.223.271-r2-linux-4.3-v2.patch" \ "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.7.patch" \ "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.8.patch" \ - "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.11.patch" + "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.11.patch" \ + "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.12.patch" epatch_user } diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r4-linux-4.12.patch b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r4-linux-4.12.patch new file mode 100644 index 000..94c6253f803 --- /dev/null +++ b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r4-linux-4.12.patch @@ -0,0 +1,64 @@ +diff -ru work.orig/src/wl/sys/wl_cfg80211_hybrid.c work.patched/src/wl/sys/wl_cfg80211_hybrid.c +--- work.orig/src/wl/sys/wl_cfg80211_hybrid.c 2017-06-10 15:50:27.328823384 -0700 work.patched/src/wl/sys/wl_cfg80211_hybrid.c 2017-06-10 15:52:40.540809187 -0700 +@@ -52,8 +52,13 @@ + u32 wl_dbg_level = WL_DBG_ERR; + #endif + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0) ++static s32 wl_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev, ++ enum nl80211_iftype type, struct vif_params *params); ++#else + static s32 wl_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev, +enum nl80211_iftype type, u32 *flags, struct vif_params *params); ++#endif + #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0) + static s32 + wl_cfg80211_scan(struct wiphy *wiphy, +@@ -466,7 +471,11 @@ + + static s32 + wl_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev, ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0) ++ enum nl80211_iftype type, ++#else + enum nl80211_iftype type, u32 *flags, ++#endif +struct vif_params *params) + { + struct wl_cfg80211_priv *wl = wiphy_to_wl(wiphy); +@@ -2361,12 +2370,26 @@ + const wl_event_msg_t *e, void *data) + { + struct wl_cfg80211_connect_info *conn_info = wl_to_conn(wl); ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0) ++ struct cfg80211_roam_info roam_info = {}; ++#endif + s32 err = 0; + + wl_get_assoc_ies(wl); + memcpy(wl->profile->bssid, >addr, ETHER_ADDR_LEN); + memcpy(>bssid, >addr, ETHER_ADDR_LEN); + wl_update_bss_info(wl); ++ ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0) ++ roam_info.channel = >conf->channel, ++ roam_info.bssid = (u8 *)>bssid, ++ roam_info.req_ie = conn_info->req_ie, ++ roam_info.req_ie_len = conn_info->req_ie_len, ++ roam_info.resp_ie = conn_info->resp_ie, ++ roam_info.resp_ie_len = conn_info->resp_ie_len, ++ ++ cfg80211_roamed(ndev, _info, GFP_KERNEL); ++#else + cfg80211_roamed(ndev, + #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 39) + >conf->channel, +@@ -2374,6 +2397,7 @@ + (u8 *)>bssid, + conn_info->req_ie, conn_info->req_ie_len, + conn_info->resp_ie, conn_info->resp_ie_len, GFP_KERNEL); ++#endif + WL_DBG(("Report roaming result\n")); + + set_bit(WL_STATUS_CONNECTED, >status);
[gentoo-commits] repo/gentoo:master commit in: net-wireless/broadcom-sta/files/, net-wireless/broadcom-sta/
commit: 0272772c6bcb89b49774dedd7eda8dee26d905b1 Author: Yehoshua Pesach Wallach gmail com> AuthorDate: Thu Jun 1 18:37:54 2017 + Commit: Matt Turner gentoo org> CommitDate: Sat Jun 10 22:28:30 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0272772c net-wireless/broadcom-sta: apply archlinux patch fixing bugs for kernel 4.11 https://bugs.archlinux.org/task/53974 https://aur.archlinux.org/cgit/aur.git/tree/linux411.patch?h=broadcom-wl Package-Manager: Portage-2.3.5, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4822 .../broadcom-sta-6.30.223.271-r4.ebuild| 3 +- .../broadcom-sta-6.30.223.271-r4-linux-4.11.patch | 52 ++ 2 files changed, 54 insertions(+), 1 deletion(-) diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild index 91929969983..d86dba144a2 100644 --- a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild +++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild @@ -65,7 +65,8 @@ src_prepare() { "${FILESDIR}/${PN}-6.30.223.271-r1-linux-3.18.patch" \ "${FILESDIR}/${PN}-6.30.223.271-r2-linux-4.3-v2.patch" \ "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.7.patch" \ - "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.8.patch" + "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.8.patch" \ + "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.11.patch" epatch_user } diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r4-linux-4.11.patch b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r4-linux-4.11.patch new file mode 100644 index 000..a779f8c84cf --- /dev/null +++ b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r4-linux-4.11.patch @@ -0,0 +1,52 @@ +diff --git a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c +index a9671e2..da36405 100644 +--- a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c +@@ -30,6 +30,9 @@ + #include + #include + #include ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) ++#include ++#endif + #include + #include + #include +diff --git a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c +index 489c9f5..f8278ad 100644 +--- a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c +@@ -117,6 +117,9 @@ int wl_found = 0; + + typedef struct priv_link { + wl_if_t *wlif; ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) ++ unsigned long last_rx; ++#endif + } priv_link_t; + + #define WL_DEV_IF(dev) ((wl_if_t*)((priv_link_t*)DEV_PRIV(dev))->wlif) +@@ -2450,6 +2453,9 @@ wl_monitor(wl_info_t *wl, wl_rxsts_t *rxsts, void *p) + { + struct sk_buff *oskb = (struct sk_buff *)p; + struct sk_buff *skb; ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) ++ priv_link_t *priv_link; ++#endif + uchar *pdata; + uint len; + +@@ -2916,7 +2922,13 @@ wl_monitor(wl_info_t *wl, wl_rxsts_t *rxsts, void *p) + if (skb == NULL) return; + + skb->dev = wl->monitor_dev; ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) ++ priv_link = MALLOC(wl->osh, sizeof(priv_link_t)); ++ priv_link = netdev_priv(skb->dev); ++ priv_link->last_rx = jiffies; ++#else + skb->dev->last_rx = jiffies; ++#endif + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22) + skb_reset_mac_header(skb); + #else
[gentoo-commits] repo/gentoo:master commit in: net-wireless/broadcom-sta/files/, net-wireless/broadcom-sta/
commit: ddc55138ecddc88b3472b97235fbe3078b9b35db Author: Matt Turner gentoo org> AuthorDate: Fri Dec 9 19:37:03 2016 + Commit: Matt Turner gentoo org> CommitDate: Fri Dec 9 19:39:46 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddc55138 net-wireless/broadcom-sta: Drop old versions. All of the upstream download links have changed, and I since I doubt anyone uses any of these old versions, throw them out instead of fixing them. net-wireless/broadcom-sta/Manifest | 7 - .../broadcom-sta-6.30.223.141-r2.ebuild| 67 .../broadcom-sta-6.30.223.248-r4.ebuild| 78 - .../broadcom-sta-6.30.223.248-r5.ebuild| 79 - .../broadcom-sta-6.30.223.271-r2.ebuild| 76 - .../broadcom-sta-6.30.223.271-r3.ebuild| 77 - .../broadcom-sta-6.30.223.30-r2.ebuild | 83 - .../files/broadcom-sta-6.30.223.141-license.patch | 10 - .../broadcom-sta-6.30.223.141-linux-3.10.0.patch | 102 -- .../broadcom-sta-6.30.223.141-linux-3.15.patch | 17 - .../broadcom-sta-6.30.223.141-linux-recent.patch | 126 .../broadcom-sta-6.30.223.248-linux-3.17.patch | 29 -- .../broadcom-sta-6.30.223.248-linux-3.18.patch | 30 -- ...adcom-sta-6.30.223.248-r3-linux-3.15-3.18.patch | 350 - .../broadcom-sta-6.30.223.248-r3-linux-4.0.patch | 26 -- .../broadcom-sta-6.30.223.248-r4-linux-4.2.patch | 16 - .../broadcom-sta-6.30.223.271-r2-linux-4.3.patch | 12 - .../broadcom-sta-6.30.223.271-r3-linux-4.7.patch | 14 - .../broadcom-sta-6.30.223.30-linux-3.10.0.patch| 102 -- .../broadcom-sta-6.30.223.30-linux-3.9.0.patch | 17 - .../files/broadcom-sta-6.30.223.30-makefile.patch | 14 - 21 files changed, 1332 deletions(-) diff --git a/net-wireless/broadcom-sta/Manifest b/net-wireless/broadcom-sta/Manifest index e39f94d..d298806 100644 --- a/net-wireless/broadcom-sta/Manifest +++ b/net-wireless/broadcom-sta/Manifest @@ -1,10 +1,3 @@ -DIST README-broadcom-sta-6.30.223.248.txt 16775 SHA256 e25eaa7e666a361abff679d7518c75200ee4d90f8e5cb16f69af3f033c68811a SHA512 e635629f0a75059fa13b2bd2a756397631bc0add43786b0064d3f0232c9bd42dae394b9631846bf602f6cea628a49928ec2344df453ec5075168736627494020 WHIRLPOOL 4b0923b276bca6c3a0f8b37c903e3cd1b3f9ea37b07ffe308b831e505c691f4b77489abd491cd2c7334fe692846fe797c7d4b0ac63e8786f4190f5c2791e6b46 DIST README-broadcom-sta-6.30.223.271.txt 16755 SHA256 4d6d63f6eb40f84359be06f1f6f26075827a0d25cdaa364d8ccb6561bf162e34 SHA512 ce277af132b656705aee3f8072d1082bfd2a1b7c63a9e330a470546437d4034e7964c64a4f9c326bf15c5f74b9c09a56d720542a41e5ae6e0d42d335488f31f5 WHIRLPOOL 3a544132315cbbc633ac6b6102d71109fea3b9e7742c299f2fe403ecc43206380051c91353c4d79033ac1939fe862b84cb8e435f06687af804fdc2ad5619beb7 -DIST bcmwl-kernel-source_6.30.223.30%2Bbdcom-0ubuntu1%7Eppa1_amd64.deb 1779122 SHA256 de6529ae67f339aee185be93e3c12ffa944ef6b4807d176d6fda661de52136ba SHA512 93b17029538ec17be61902f1e5237a300f532dc88fd7475ac202c249a9cec099c5d170b0ebc043e1bda1987f6f925b6a28d4aa80748218f735a3790ded0565cd WHIRLPOOL 47f54a2fc286e58adef1383496fe3e65430ef643d8e7b8830cb87c0558319780f71944296211c62aa4e3a216019fc5a29dd48903240362c656bb79ae55c2 -DIST bcmwl-kernel-source_6.30.223.30%2Bbdcom-0ubuntu1%7Eppa1_i386.deb 1732452 SHA256 d689040ac2ef67b9947f892b52764cd94c2090499747b57d63c2b40c7bc8eabb SHA512 323db5e6c8fc702990d7137bd11d2e8bba7ed073ee8da00125d147872edf90dd051a959198dbdaf92808403cdcfd582f17afb8a6f5e741382d3a0cffd6ce130a WHIRLPOOL db24f078e2639f609021028304e7caf48b9a3737b6fdf4b2522ab74606c6cb0b11a94706978b1fd1acdf66c59e351a4a433cf9e500862931a1e9dce6e5562c01 -DIST hybrid-v35-nodebug-pcoem-6_30_223_141.tar.gz 1735911 SHA256 d57c33f6bf4ebe68cac67ffe39c2260b8990bb0f07413dfd021dd4db845199a7 SHA512 adb3d9d9375888df3317d6af3d6d45c53412a677e5431051cbfe8c9eac3b13760022fd9b970e77caaeb0fa010ee8bd32ad80076d7279b60719bfb8562c09951f WHIRLPOOL f037e26d7f85d9a1bf3f2638fa6d6bbda43384e24fb249e90afcfff792be8013f1e0f2a1876c4675e39911d4e4877f0ab785eab15f7a6460621fe14c21bab486 -DIST hybrid-v35-nodebug-pcoem-6_30_223_248.tar.gz 2824762 SHA256 b196543a429c22b2b8d75d0c1d9e6e7ff212c3d3e1f42cc6fd9e4858f01da1ad SHA512 9f067cf5e1be562c78252791c0b2324b568c8533903842e18e92f2b10c3277e1d15ed42a5925acbd443de373f5113d05447b885a8d52ef57695babe48d68a0ff WHIRLPOOL f3bfef5b3dcbf6d051facbda0078a9850a1cf2f851bca07fd7538ffc3d5c0bf118622d217bb7737fdd87825af73b61ddd2d9a52c3d13a8070be02d1a584a8b14 DIST hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz 2869247 SHA256 4f8b70b293ac8cc5c70e571ad5d1878d0f29d133a46fe7869868d9c19b5058cd SHA512 0361ba30d97bcb1dedf46c11ef1b9a16f09cde3faa6be87b3ccc28679f34183c2fdf511e7c3b5c26b304f6961da454ccf71844b92bbb2f25aa876249496a2f1b WHIRLPOOL c96c21e4d497136c4ac5a8f3f1d3e84a7b5f5478ca7c1276262481d66b919639f475b99783ad993c01c94e380275fdd6eb39dd53f224b43912f7a395cada575c -DIST
[gentoo-commits] repo/gentoo:master commit in: net-wireless/broadcom-sta/files/, net-wireless/broadcom-sta/
commit: c6d3f917370292c267bb05d447db028125946dfe Author: Matt Turner gentoo org> AuthorDate: Mon Nov 21 04:17:58 2016 + Commit: Matt Turner gentoo org> CommitDate: Mon Nov 21 04:18:21 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6d3f917 net-wireless/broadcom-sta: Add support for Linux v4.8 Bug: https://bugs.gentoo.org/590078 Bug: https://bugs.gentoo.org/596342 .../broadcom-sta-6.30.223.271-r4.ebuild| 78 +++ .../broadcom-sta-6.30.223.271-r4-linux-4.7.patch | 109 + .../broadcom-sta-6.30.223.271-r4-linux-4.8.patch | 64 3 files changed, 251 insertions(+) diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild new file mode 100644 index ..76d80f9 --- /dev/null +++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils linux-info linux-mod + +DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver" +HOMEPAGE="http://www.broadcom.com/support/802.11/; +SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-v35; +SRC_URI="x86? ( ${SRC_BASE}-nodebug-pcoem-${PV//\./_}.tar.gz ) + amd64? ( ${SRC_BASE}_64-nodebug-pcoem-${PV//\./_}.tar.gz ) + http://www.broadcom.com/docs/linux_sta/README_${PV}.txt -> README-${P}.txt" + +LICENSE="Broadcom" +KEYWORDS="-* ~amd64 ~x86" + +RESTRICT="mirror" + +DEPEND="virtual/linux-sources" +RDEPEND="" + +S="${WORKDIR}" + +MODULE_NAMES="wl(net/wireless)" +MODULESD_WL_ALIASES=("wlan0 wl") + +pkg_setup() { + # bug #300570 + # NOTE: module builds correctly anyway with b43 and SSB enabled + # make checks non-fatal. The correct fix is blackisting ssb and, perhaps + # b43 via udev rules. Moreover, previous fix broke binpkgs support. + CONFIG_CHECK="~!B43 ~!BCMA ~!SSB" + CONFIG_CHECK2="LIB80211 ~!MAC80211 ~LIB80211_CRYPT_TKIP" + ERROR_B43="B43: If you insist on building this, you must blacklist it!" + ERROR_BCMA="BCMA: If you insist on building this, you must blacklist it!" + ERROR_SSB="SSB: If you insist on building this, you must blacklist it!" + ERROR_LIB80211="LIB80211: Please enable it. If you can't find it: enabling the driver for \"Intel PRO/Wireless 2100\" or \"Intel PRO/Wireless 2200BG\" (IPW2100 or IPW2200) should suffice." + ERROR_MAC80211="MAC80211: If you insist on building this, you must blacklist it!" + ERROR_PREEMPT_RCU="PREEMPT_RCU: Please do not set the Preemption Model to \"Preemptible Kernel\"; choose something else." + ERROR_LIB80211_CRYPT_TKIP="LIB80211_CRYPT_TKIP: You will need this for WPA." + if kernel_is ge 3 8 8; then + CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} CFG80211 ~!PREEMPT_RCU ~!PREEMPT" + elif kernel_is ge 2 6 32; then + CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} CFG80211" + elif kernel_is ge 2 6 31; then + CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} WIRELESS_EXT ~!MAC80211" + elif kernel_is ge 2 6 29; then + CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} WIRELESS_EXT COMPAT_NET_DEV_OPS" + else + CONFIG_CHECK="${CONFIG_CHECK} IEEE80211 IEEE80211_CRYPT_TKIP" + fi + + linux-mod_pkg_setup + + BUILD_PARAMS="-C ${KV_DIR} M=${S}" + BUILD_TARGETS="wl.ko" +} + +src_prepare() { + epatch \ + "${FILESDIR}/${PN}-6.30.223.141-makefile.patch" \ + "${FILESDIR}/${PN}-6.30.223.141-eth-to-wlan.patch" \ + "${FILESDIR}/${PN}-6.30.223.141-gcc.patch" \ + "${FILESDIR}/${PN}-6.30.223.248-r3-Wno-date-time.patch" \ + "${FILESDIR}/${PN}-6.30.223.271-r1-linux-3.18.patch" \ + "${FILESDIR}/${PN}-6.30.223.271-r2-linux-4.3-v2.patch" \ + "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.7.patch" \ + "${FILESDIR}/${PN}-6.30.223.271-r4-linux-4.8.patch" + + epatch_user +} + +src_install() { + linux-mod_src_install + + dodoc "${DISTDIR}/README-${P}.txt" +} diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r4-linux-4.7.patch b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r4-linux-4.7.patch new file mode 100644 index ..566680a --- /dev/null +++ b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r4-linux-4.7.patch @@ -0,0 +1,109 @@ +Since Linux 4.7, the enum ieee80211_band is no longer used + +This shall cause no problem's since both enums ieee80211_band +and nl80211_band were added in the same commit: +https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=13ae75b103e07304a34ab40c9136e9f53e06475c + +This patch refactors the references of IEEE80211_BAND_* to NL80211_BAND_* +
[gentoo-commits] repo/gentoo:master commit in: net-wireless/broadcom-sta/files/, net-wireless/broadcom-sta/
commit: 5c291bb9ba5f428de8e85865b1733b19a4c6a0fd Author: Luca Barbato gentoo org> AuthorDate: Sat Aug 20 21:58:01 2016 + Commit: Luca Barbato gentoo org> CommitDate: Sat Aug 20 22:00:49 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c291bb9 net-wireless/broadcom-sta: Add linux-4.7 support Bug #590078 Package-Manager: portage-2.3.0 .../broadcom-sta/broadcom-sta-6.30.223.271-r3.ebuild | 3 ++- .../files/broadcom-sta-6.30.223.271-r3-linux-4.7.patch | 14 ++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r3.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r3.ebuild index d28e50e..6029b0c 100644 --- a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r3.ebuild +++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r3.ebuild @@ -64,7 +64,8 @@ src_prepare() { "${FILESDIR}/${PN}-6.30.223.141-gcc.patch" \ "${FILESDIR}/${PN}-6.30.223.248-r3-Wno-date-time.patch" \ "${FILESDIR}/${PN}-6.30.223.271-r1-linux-3.18.patch" \ - "${FILESDIR}/${PN}-6.30.223.271-r2-linux-4.3-v2.patch" + "${FILESDIR}/${PN}-6.30.223.271-r2-linux-4.3-v2.patch" \ + "${FILESDIR}/${PN}-6.30.223.271-r3-linux-4.7.patch" epatch_user } diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r3-linux-4.7.patch b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r3-linux-4.7.patch new file mode 100644 index 000..55b30e3 --- /dev/null +++ b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r3-linux-4.7.patch @@ -0,0 +1,14 @@ +--- a/src/wl/sys/wl_cfg80211_hybrid.c 2016-08-20 17:19:11.285578121 +0200 b/src/wl/sys/wl_cfg80211_hybrid.c 2016-08-20 17:20:55.611574041 +0200 +@@ -49,6 +49,11 @@ + u32 wl_dbg_level = WL_DBG_ERR; + #endif + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0) ++#define IEEE80211_BAND_2GHZ NL80211_BAND_2GHZ ++#define IEEE80211_BAND_5GHZ NL80211_BAND_5GHZ ++#endif ++ + static s32 wl_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev, +enum nl80211_iftype type, u32 *flags, struct vif_params *params); + #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0)
[gentoo-commits] repo/gentoo:master commit in: net-wireless/broadcom-sta/files/, net-wireless/broadcom-sta/
commit: 96c5f980d1625514f710712f0bf92291536481ff Author: Matthew Brewer sina cn> AuthorDate: Sat Feb 6 05:24:13 2016 + Commit: Matt Turner gentoo org> CommitDate: Tue Feb 9 17:55:32 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96c5f980 net-wireless/broadcom-sta: fix for bug#573854 reincarnation of #565254 (tsc mess) => update the patch to use a non-deprecated function and to be applicable to pre- and post-4.3 kernels Package-Manager: portage-2.2.26 RepoMan-Options: --ignore-arches .../broadcom-sta-6.30.223.248-r5.ebuild| 79 ++ .../broadcom-sta-6.30.223.271-r3.ebuild| 76 + ...broadcom-sta-6.30.223.271-r2-linux-4.3-v2.patch | 16 + 3 files changed, 171 insertions(+) diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.248-r5.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.248-r5.ebuild new file mode 100644 index 000..28098da --- /dev/null +++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.248-r5.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils linux-info linux-mod + +DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver" +HOMEPAGE="http://www.broadcom.com/support/802.11/; +SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-v35; +SRC_URI="x86? ( ${SRC_BASE}-nodebug-pcoem-${PV//\./_}.tar.gz ) + amd64? ( ${SRC_BASE}_64-nodebug-pcoem-${PV//\./_}.tar.gz ) + http://www.broadcom.com/docs/linux_sta/README_${PV}.txt -> README-${P}.txt" + +LICENSE="Broadcom" +KEYWORDS="-* ~amd64 ~x86" + +RESTRICT="mirror" + +DEPEND="virtual/linux-sources" +RDEPEND="" + +S="${WORKDIR}" + +MODULE_NAMES="wl(net/wireless)" +MODULESD_WL_ALIASES=("wlan0 wl") + +pkg_setup() { + # bug #300570 + # NOTE: module builds correctly anyway with b43 and SSB enabled + # make checks non-fatal. The correct fix is blackisting ssb and, perhaps + # b43 via udev rules. Moreover, previous fix broke binpkgs support. + CONFIG_CHECK="~!B43 ~!BCMA ~!SSB" + CONFIG_CHECK2="LIB80211 ~!MAC80211 ~LIB80211_CRYPT_TKIP" + ERROR_B43="B43: If you insist on building this, you must blacklist it!" + ERROR_BCMA="BCMA: If you insist on building this, you must blacklist it!" + ERROR_SSB="SSB: If you insist on building this, you must blacklist it!" + ERROR_LIB80211="LIB80211: Please enable it. If you can't find it: enabling the driver for \"Intel PRO/Wireless 2100\" or \"Intel PRO/Wireless 2200BG\" (IPW2100 or IPW2200) should suffice." + ERROR_MAC80211="MAC80211: If you insist on building this, you must blacklist it!" + ERROR_PREEMPT_RCU="PREEMPT_RCU: Please do not set the Preemption Model to \"Preemptible Kernel\"; choose something else." + ERROR_LIB80211_CRYPT_TKIP="LIB80211_CRYPT_TKIP: You will need this for WPA." + if kernel_is ge 3 8 8; then + CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} CFG80211 ~!PREEMPT_RCU ~!PREEMPT" + elif kernel_is ge 2 6 32; then + CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} CFG80211" + elif kernel_is ge 2 6 31; then + CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} WIRELESS_EXT ~!MAC80211" + elif kernel_is ge 2 6 29; then + CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} WIRELESS_EXT COMPAT_NET_DEV_OPS" + else + CONFIG_CHECK="${CONFIG_CHECK} IEEE80211 IEEE80211_CRYPT_TKIP" + fi + + linux-mod_pkg_setup + + BUILD_PARAMS="-C ${KV_DIR} M=${S}" + BUILD_TARGETS="wl.ko" +} + +src_prepare() { + epatch \ + "${FILESDIR}/${PN}-6.30.223.141-license.patch" \ + "${FILESDIR}/${PN}-6.30.223.141-makefile.patch" \ + "${FILESDIR}/${PN}-6.30.223.141-eth-to-wlan.patch" \ + "${FILESDIR}/${PN}-6.30.223.141-gcc.patch" \ + "${FILESDIR}/${PN}-6.30.223.248-r3-Wno-date-time.patch" \ + "${FILESDIR}/${PN}-6.30.223.248-r3-linux-3.15-3.18.patch" \ + "${FILESDIR}/${PN}-6.30.223.248-r3-linux-4.0.patch" \ + "${FILESDIR}/${PN}-6.30.223.248-r4-linux-4.2.patch" \ + "${FILESDIR}/${PN}-6.30.223.271-r2-linux-4.3-v2.patch" + + epatch_user +} + +src_install() { + linux-mod_src_install + + dodoc "${DISTDIR}/README-${P}.txt" +} diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r3.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r3.ebuild new file mode 100644 index 000..d28e50e --- /dev/null +++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils linux-info linux-mod + +DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device
[gentoo-commits] repo/gentoo:master commit in: net-wireless/broadcom-sta/files/, net-wireless/broadcom-sta/
commit: 156954e2a0e304b68faf11e59ed00a88723b8f60 Author: Matthew Brewer sina cn> AuthorDate: Sat Feb 6 03:25:44 2016 + Commit: Matt Turner gentoo org> CommitDate: Tue Feb 9 16:53:27 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=156954e2 net-wireless/broadcom-sta: cleaning out old revisions Package-Manager: portage-2.2.26 RepoMan-Options: --ignore-arches .../broadcom-sta-6.30.223.141-r1.ebuild| 66 --- .../broadcom-sta/broadcom-sta-6.30.223.141.ebuild | 69 --- .../broadcom-sta-6.30.223.248-r1.ebuild| 75 - .../broadcom-sta-6.30.223.248-r2.ebuild| 77 -- .../broadcom-sta-6.30.223.248-r3.ebuild| 77 -- .../broadcom-sta-6.30.223.271-r1.ebuild| 75 - .../files/broadcom-sta-5.10.91.9-license.patch | 12 .../broadcom-sta-5.100.82.111-linux-3.0.patch | 21 -- .../broadcom-sta-5.100.82.112-linux-2.6.39.patch | 11 ...sta-5.100.82.112-linux-3.2-with-multicast.patch | 14 .../broadcom-sta-5.100.82.112-linux-3.4.patch | 12 .../broadcom-sta-5.100.82.112-linux-3.6.patch | 60 - .../broadcom-sta-5.100.82.112-linux-3.8.patch | 71 .../broadcom-sta-5.100.82.112-linux-3.9.patch | 14 ...adcom-sta-5.100.82.112-remove-rssi-errors.patch | 32 - .../files/broadcom-sta-5.100.82.38-gcc.patch | 11 16 files changed, 697 deletions(-) diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.141-r1.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.141-r1.ebuild deleted file mode 100644 index 099e4ae..000 --- a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.141-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" -inherit eutils linux-info linux-mod - -DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver" -HOMEPAGE="http://www.broadcom.com/support/802.11/linux_sta.php; -SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-v35; -SRC_URI="x86? ( ${SRC_BASE}-nodebug-pcoem-${PV//\./_}.tar.gz ) - amd64? ( ${SRC_BASE}_64-nodebug-pcoem-${PV//\./_}.tar.gz )" - -LICENSE="Broadcom" -KEYWORDS="~amd64 ~x86" - -RESTRICT="mirror" - -DEPEND="virtual/linux-sources" -RDEPEND="" - -S="${WORKDIR}" - -MODULE_NAMES="wl(net/wireless)" -MODULESD_WL_ALIASES=("wlan0 wl") - -pkg_setup() { - # bug #300570 - # NOTE: module builds correctly anyway with b43 and SSB enabled - # make checks non-fatal. The correct fix is blackisting ssb and, perhaps - # b43 via udev rules. Moreover, previous fix broke binpkgs support. - CONFIG_CHECK="~!B43 ~!SSB" - CONFIG_CHECK2="LIB80211 ~!MAC80211 ~LIB80211_CRYPT_TKIP" - ERROR_B43="B43: If you insist on building this, you must blacklist it!" - ERROR_SSB="SSB: If you insist on building this, you must blacklist it!" - ERROR_LIB80211="LIB80211: Please enable it. If you can't find it: enabling the driver for \"Intel PRO/Wireless 2100\" or \"Intel PRO/Wireless 2200BG\" (IPW2100 or IPW2200) should suffice." - ERROR_MAC80211="MAC80211: If you insist on building this, you must blacklist it!" - ERROR_PREEMPT_RCU="PREEMPT_RCU: Please do not set the Preemption Model to \"Preemptible Kernel\"; choose something else." - ERROR_LIB80211_CRYPT_TKIP="LIB80211_CRYPT_TKIP: You will need this for WPA." - if kernel_is ge 3 8 8; then - CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} CFG80211 ~!PREEMPT_RCU ~!PREEMPT" - elif kernel_is ge 2 6 32; then - CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} CFG80211" - elif kernel_is ge 2 6 31; then - CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} WIRELESS_EXT ~!MAC80211" - elif kernel_is ge 2 6 29; then - CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} WIRELESS_EXT COMPAT_NET_DEV_OPS" - else - CONFIG_CHECK="${CONFIG_CHECK} IEEE80211 IEEE80211_CRYPT_TKIP" - fi - - linux-mod_pkg_setup - - BUILD_PARAMS="-C ${KV_DIR} M=${S}" - BUILD_TARGETS="wl.ko" -} - -src_prepare() { -# Makefile.patch: keep `emake install` working -# linux-3.9.0.patch: add support for kernel 3.9.0 -# linux-3.10.0.patch: add support for kernel 3.10, bug #477372 - epatch "${FILESDIR}/${P}-makefile.patch" \ - "${FILESDIR}/${P}-linux-3.10.0.patch" - - epatch_user -} diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.141.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.141.ebuild deleted file mode 100644 index 65dcb1c..000 --- a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.141.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of
[gentoo-commits] repo/gentoo:master commit in: net-wireless/broadcom-sta/files/
commit: 6850980d23bbe114d1349eedfa571332b77599f0 Author: Matt Turner gentoo org> AuthorDate: Thu Nov 26 20:24:32 2015 + Commit: Matt Turner gentoo org> CommitDate: Thu Nov 26 20:24:32 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6850980d net-wireless/broadcom-sta: Fix patch. Bug: https://bugs.gentoo.org/show_bug.cgi?id=566882 .../files/broadcom-sta-6.30.223.271-linux-4.3.patch | 11 --- .../files/broadcom-sta-6.30.223.271-r2-linux-4.3.patch | 12 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-linux-4.3.patch b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-linux-4.3.patch deleted file mode 100644 index ae0dc56..000 --- a/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-linux-4.3.patch +++ /dev/null @@ -1,11 +0,0 @@ a/src/shared/linux_osl.c2015-09-19 00:47:15.0 +0200 -+++ b/src/shared/linux_osl.c2015-11-09 17:02:22.0 +0100 -@@ -932,7 +932,7 @@ - uint cycles; - - #if defined(__i386__) -- rdtscl(cycles); -+ cycles = (u32)native_read_tsc(); - #else - cycles = 0; - #endif diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r2-linux-4.3.patch b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r2-linux-4.3.patch new file mode 100644 index 000..7869dbf --- /dev/null +++ b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-r2-linux-4.3.patch @@ -0,0 +1,12 @@ +diff -ruN a/src/shared/linux_osl.c b/src/shared/linux_osl.c +--- a/src/shared/linux_osl.c 2015-11-26 12:16:23.343091098 -0800 b/src/shared/linux_osl.c 2015-11-26 12:17:08.657092739 -0800 +@@ -932,7 +932,7 @@ + uint cycles; + + #if defined(__i386__) +- rdtscl(cycles); ++ cycles = (u32)native_read_tsc(); + #else + cycles = 0; + #endif
[gentoo-commits] repo/gentoo:master commit in: net-wireless/broadcom-sta/files/, net-wireless/broadcom-sta/
commit: b0df1f11504b32265e665ba0a69fcdb6194e8c3c Author: Matthew Brewer sina cn> AuthorDate: Mon Nov 16 12:31:14 2015 + Commit: Patrice Clement gentoo org> CommitDate: Tue Nov 17 08:25:38 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0df1f11 net-wireless/broadcom-sta: patch for compatibility with kernel-4.3 .../broadcom-sta-6.30.223.271-r2.ebuild| 76 ++ .../broadcom-sta-6.30.223.271-linux-4.3.patch | 11 2 files changed, 87 insertions(+) diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r2.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r2.ebuild new file mode 100644 index 000..4859053 --- /dev/null +++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils linux-info linux-mod + +DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver" +HOMEPAGE="http://www.broadcom.com/support/802.11/linux_sta.php; +SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-v35; +SRC_URI="x86? ( ${SRC_BASE}-nodebug-pcoem-${PV//\./_}.tar.gz ) + amd64? ( ${SRC_BASE}_64-nodebug-pcoem-${PV//\./_}.tar.gz ) + http://www.broadcom.com/docs/linux_sta/README_${PV}.txt -> README-${P}.txt" + +LICENSE="Broadcom" +KEYWORDS="-* ~amd64 ~x86" + +RESTRICT="mirror" + +DEPEND="virtual/linux-sources" +RDEPEND="" + +S="${WORKDIR}" + +MODULE_NAMES="wl(net/wireless)" +MODULESD_WL_ALIASES=("wlan0 wl") + +pkg_setup() { + # bug #300570 + # NOTE: module builds correctly anyway with b43 and SSB enabled + # make checks non-fatal. The correct fix is blackisting ssb and, perhaps + # b43 via udev rules. Moreover, previous fix broke binpkgs support. + CONFIG_CHECK="~!B43 ~!BCMA ~!SSB" + CONFIG_CHECK2="LIB80211 ~!MAC80211 ~LIB80211_CRYPT_TKIP" + ERROR_B43="B43: If you insist on building this, you must blacklist it!" + ERROR_BCMA="BCMA: If you insist on building this, you must blacklist it!" + ERROR_SSB="SSB: If you insist on building this, you must blacklist it!" + ERROR_LIB80211="LIB80211: Please enable it. If you can't find it: enabling the driver for \"Intel PRO/Wireless 2100\" or \"Intel PRO/Wireless 2200BG\" (IPW2100 or IPW2200) should suffice." + ERROR_MAC80211="MAC80211: If you insist on building this, you must blacklist it!" + ERROR_PREEMPT_RCU="PREEMPT_RCU: Please do not set the Preemption Model to \"Preemptible Kernel\"; choose something else." + ERROR_LIB80211_CRYPT_TKIP="LIB80211_CRYPT_TKIP: You will need this for WPA." + if kernel_is ge 3 8 8; then + CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} CFG80211 ~!PREEMPT_RCU ~!PREEMPT" + elif kernel_is ge 2 6 32; then + CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} CFG80211" + elif kernel_is ge 2 6 31; then + CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} WIRELESS_EXT ~!MAC80211" + elif kernel_is ge 2 6 29; then + CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} WIRELESS_EXT COMPAT_NET_DEV_OPS" + else + CONFIG_CHECK="${CONFIG_CHECK} IEEE80211 IEEE80211_CRYPT_TKIP" + fi + + linux-mod_pkg_setup + + BUILD_PARAMS="-C ${KV_DIR} M=${S}" + BUILD_TARGETS="wl.ko" +} + +src_prepare() { + epatch \ + "${FILESDIR}/${PN}-6.30.223.141-makefile.patch" \ + "${FILESDIR}/${PN}-6.30.223.141-eth-to-wlan.patch" \ + "${FILESDIR}/${PN}-6.30.223.141-gcc.patch" \ + "${FILESDIR}/${PN}-6.30.223.248-r3-Wno-date-time.patch" \ + "${FILESDIR}/${PN}-6.30.223.271-r1-linux-3.18.patch" \ + "${FILESDIR}/${PN}-6.30.223.271-r2-linux-4.3.patch" + + epatch_user +} + +src_install() { + linux-mod_src_install + + dodoc "${DISTDIR}/README-${P}.txt" +} diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-linux-4.3.patch b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-linux-4.3.patch new file mode 100644 index 000..ae0dc56 --- /dev/null +++ b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.271-linux-4.3.patch @@ -0,0 +1,11 @@ +--- a/src/shared/linux_osl.c2015-09-19 00:47:15.0 +0200 b/src/shared/linux_osl.c2015-11-09 17:02:22.0 +0100 +@@ -932,7 +932,7 @@ + uint cycles; + + #if defined(__i386__) +- rdtscl(cycles); ++ cycles = (u32)native_read_tsc(); + #else + cycles = 0; + #endif