summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmed ElArabawy <arabawy@google.com>2020-08-05 17:10:05 -0700
committerAhmed ElArabawy <arabawy@google.com>2020-08-11 09:05:50 -0700
commit0b5e038c4d5c4f7a62b4416d4a936804103a661a (patch)
treef6659da652fe8507be7e2440520ee9764ef6f318
parent80812e76c421c229ff06b9fc1baf0b47d987cd79 (diff)
downloadbcm43752-0b5e038c4d5c4f7a62b4416d4a936804103a661a.tar.gz
Set the dhd to only accept 43752 chip
This commit changes the devices supported by PCI from PCI_ANY_ID to only the device id for BCM43752 chip Bug: 162985533 Test: Make sure dhd only loads when BCM43752 chip is connected Change-Id: I7c4169f7318438c384df3b6ab96b5ac2795f4346 Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
-rwxr-xr-xdhd_pcie_linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhd_pcie_linux.c b/dhd_pcie_linux.c
index 7f16ab9..110f164 100755
--- a/dhd_pcie_linux.c
+++ b/dhd_pcie_linux.c
@@ -203,8 +203,8 @@ dhdpcie_access_cap(struct pci_dev *pdev, int cap, uint offset, bool is_ext, bool
uint32 writeval);
static struct pci_device_id dhdpcie_pci_devid[] __devinitdata = {
- { vendor: 0x14e4,
- device: PCI_ANY_ID,
+ { vendor: VENDOR_BROADCOM,
+ device: BCM43752_D11AX_ID,
subvendor: PCI_ANY_ID,
subdevice: PCI_ANY_ID,
class: PCI_CLASS_NETWORK_OTHER << 8,