fix: make bcm43xx driver script vendor agnostic

This commit is contained in:
sadd al
2025-10-13 09:19:50 +05:00
parent 6c2c85d2b9
commit 5b8ee60cc4
3 changed files with 11 additions and 12 deletions

View File

@@ -0,0 +1,10 @@
# Install Wi-Fi drivers for Broadcom chips:
# - BCM4360 (20132015)
# - BCM4331 (2012, early 2013)
pci_info=$(lspci -nnv)
if (echo "$pci_info" | grep -q "14e4:43a0" || echo "$pci_info" | grep -q "14e4:4331"); then
echo "BCM4360 / BCM4331 detected"
sudo pacman -S --noconfirm --needed broadcom-wl dkms linux-headers
fi