Tested on Comtrend VR-3025u (brcm6368 + a8d6-43222).

Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
diff --git a/package/kernel/broadcom-wl/patches/200-add_bcm_a8xx_support.patch 
b/package/kernel/broadcom-wl/patches/200-add_bcm_a8xx_support.patch
new file mode 100644
index 0000000..7fcd796
--- /dev/null
+++ b/package/kernel/broadcom-wl/patches/200-add_bcm_a8xx_support.patch
@@ -0,0 +1,24 @@
+--- a/driver/wl_linux.c
++++ b/driver/wl_linux.c
+@@ -876,7 +876,8 @@ wl_pci_probe(struct pci_dev *pdev, const
+ 
+       if ((pdev->vendor != PCI_VENDOR_ID_BROADCOM) ||
+           (((pdev->device & 0xff00) != 0x4300) &&
+-           ((pdev->device & 0xff00) != 0x4700)))
++           ((pdev->device & 0xff00) != 0x4700) &&
++           ((pdev->device & 0xff00) != 0xa800)))
+               return (-ENODEV);
+ 
+       rc = pci_enable_device(pdev);
+--- a/driver-mini/wl_linux.c
++++ b/driver-mini/wl_linux.c
+@@ -860,7 +860,8 @@ wl_pci_probe(struct pci_dev *pdev, const
+ 
+       if ((pdev->vendor != PCI_VENDOR_ID_BROADCOM) ||
+           (((pdev->device & 0xff00) != 0x4300) &&
+-           ((pdev->device & 0xff00) != 0x4700)))
++           ((pdev->device & 0xff00) != 0x4700) &&
++           ((pdev->device & 0xff00) != 0xa800)))
+               return (-ENODEV);
+ 
+       rc = pci_enable_device(pdev);
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to