[Bug 247913] Incorrect BCM module descriptions in if_bwi_pci.c

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 11 15:27:54 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247913

            Bug ID: 247913
           Summary: Incorrect BCM module descriptions in if_bwi_pci.c
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: wireless
          Assignee: wireless at FreeBSD.org
          Reporter: andrewponomarenko at yandex.ru

In this structure:

static const struct bwi_dev {
        uint16_t        vid;
        uint16_t        did;
        const char      *desc;
} bwi_devices[] = {
        { PCI_VENDOR_BROADCOM, 0x4301,"Broadcom BCM4301 802.11b Wireless Lan"
},
        { PCI_VENDOR_BROADCOM, 0x4307,"Broadcom BCM4307 802.11b Wireless Lan"
},
        { PCI_VENDOR_BROADCOM, 0x4311,"Broadcom BCM4311 802.11b/g Wireless Lan"
},
        { PCI_VENDOR_BROADCOM, 0x4312,"Broadcom BCM4312 802.11a/b/g Wireless
Lan" },
        { PCI_VENDOR_BROADCOM, 0x4313,"Broadcom BCM4312 802.11a Wireless Lan"
},
        { PCI_VENDOR_BROADCOM, 0x4320,"Broadcom BCM4306 802.11b/g Wireless
Lan"},
        { PCI_VENDOR_BROADCOM, 0x4321,"Broadcom BCM4306 802.11a Wireless Lan"},
        { PCI_VENDOR_BROADCOM, 0x4325,"Broadcom BCM4306 802.11b/g Wireless
Lan"},
        { PCI_VENDOR_BROADCOM, 0x4324,"Broadcom BCM4309 802.11a/b/g Wireless
Lan" },
        { PCI_VENDOR_BROADCOM, 0x4318,"Broadcom BCM4318 802.11b/g Wireless Lan"
},
        { PCI_VENDOR_BROADCOM, 0x4319,"Broadcom BCM4318 802.11a/b/g Wireless
Lan" },
        { PCI_VENDOR_BROADCOM, 0x431a,"Broadcom BCM4318 802.11a Wireless Lan"
},
        { 0, 0, NULL }
};

ID of BCM4312 is 0x4315, not 0x4312 and not 0x4313.

0x4312 is BCM4311.

Etc...

I see inconsistency here with https://pci-ids.ucw.cz/v2.2/pci.ids and
https://linux-hardware.org/?view=search&vendorid=14e4&deviceid=4315

How card descriptions in this structure are used?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-wireless mailing list