selinux: fix overflow and 0 length allocations
[deliverable/linux.git] / drivers / net / wireless / broadcom / brcm80211 / include / brcm_hw_ids.h
1 /*
2 * Copyright (c) 2010 Broadcom Corporation
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
11 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
13 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
14 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 */
16
17 #ifndef _BRCM_HW_IDS_H_
18 #define _BRCM_HW_IDS_H_
19
20 #include <linux/pci_ids.h>
21 #include <linux/mmc/sdio_ids.h>
22
23 #define BRCM_USB_VENDOR_ID_BROADCOM 0x0a5c
24 #define BRCM_USB_VENDOR_ID_LG 0x043e
25 #define BRCM_PCIE_VENDOR_ID_BROADCOM PCI_VENDOR_ID_BROADCOM
26
27 /* Chipcommon Core Chip IDs */
28 #define BRCM_CC_43143_CHIP_ID 43143
29 #define BRCM_CC_43235_CHIP_ID 43235
30 #define BRCM_CC_43236_CHIP_ID 43236
31 #define BRCM_CC_43238_CHIP_ID 43238
32 #define BRCM_CC_43241_CHIP_ID 0x4324
33 #define BRCM_CC_43242_CHIP_ID 43242
34 #define BRCM_CC_4329_CHIP_ID 0x4329
35 #define BRCM_CC_4330_CHIP_ID 0x4330
36 #define BRCM_CC_4334_CHIP_ID 0x4334
37 #define BRCM_CC_43340_CHIP_ID 43340
38 #define BRCM_CC_43362_CHIP_ID 43362
39 #define BRCM_CC_4335_CHIP_ID 0x4335
40 #define BRCM_CC_4339_CHIP_ID 0x4339
41 #define BRCM_CC_43430_CHIP_ID 43430
42 #define BRCM_CC_4345_CHIP_ID 0x4345
43 #define BRCM_CC_43465_CHIP_ID 43465
44 #define BRCM_CC_4350_CHIP_ID 0x4350
45 #define BRCM_CC_43525_CHIP_ID 43525
46 #define BRCM_CC_4354_CHIP_ID 0x4354
47 #define BRCM_CC_4356_CHIP_ID 0x4356
48 #define BRCM_CC_43566_CHIP_ID 43566
49 #define BRCM_CC_43567_CHIP_ID 43567
50 #define BRCM_CC_43569_CHIP_ID 43569
51 #define BRCM_CC_43570_CHIP_ID 43570
52 #define BRCM_CC_4358_CHIP_ID 0x4358
53 #define BRCM_CC_4359_CHIP_ID 0x4359
54 #define BRCM_CC_43602_CHIP_ID 43602
55 #define BRCM_CC_4365_CHIP_ID 0x4365
56 #define BRCM_CC_4366_CHIP_ID 0x4366
57 #define BRCM_CC_4371_CHIP_ID 0x4371
58
59 /* USB Device IDs */
60 #define BRCM_USB_43143_DEVICE_ID 0xbd1e
61 #define BRCM_USB_43236_DEVICE_ID 0xbd17
62 #define BRCM_USB_43242_DEVICE_ID 0xbd1f
63 #define BRCM_USB_43242_LG_DEVICE_ID 0x3101
64 #define BRCM_USB_43569_DEVICE_ID 0xbd27
65 #define BRCM_USB_BCMFW_DEVICE_ID 0x0bdc
66
67 /* PCIE Device IDs */
68 #define BRCM_PCIE_4350_DEVICE_ID 0x43a3
69 #define BRCM_PCIE_4354_DEVICE_ID 0x43df
70 #define BRCM_PCIE_4356_DEVICE_ID 0x43ec
71 #define BRCM_PCIE_43567_DEVICE_ID 0x43d3
72 #define BRCM_PCIE_43570_DEVICE_ID 0x43d9
73 #define BRCM_PCIE_4358_DEVICE_ID 0x43e9
74 #define BRCM_PCIE_4359_DEVICE_ID 0x43ef
75 #define BRCM_PCIE_43602_DEVICE_ID 0x43ba
76 #define BRCM_PCIE_43602_2G_DEVICE_ID 0x43bb
77 #define BRCM_PCIE_43602_5G_DEVICE_ID 0x43bc
78 #define BRCM_PCIE_43602_RAW_DEVICE_ID 43602
79 #define BRCM_PCIE_4365_DEVICE_ID 0x43ca
80 #define BRCM_PCIE_4365_2G_DEVICE_ID 0x43cb
81 #define BRCM_PCIE_4365_5G_DEVICE_ID 0x43cc
82 #define BRCM_PCIE_4366_DEVICE_ID 0x43c3
83 #define BRCM_PCIE_4366_2G_DEVICE_ID 0x43c4
84 #define BRCM_PCIE_4366_5G_DEVICE_ID 0x43c5
85 #define BRCM_PCIE_4371_DEVICE_ID 0x440d
86
87
88 /* brcmsmac IDs */
89 #define BCM4313_D11N2G_ID 0x4727 /* 4313 802.11n 2.4G device */
90 #define BCM43224_D11N_ID 0x4353 /* 43224 802.11n dualband device */
91 #define BCM43224_D11N_ID_VEN1 0x0576 /* Vendor specific 43224 802.11n db */
92 #define BCM43225_D11N2G_ID 0x4357 /* 43225 802.11n 2.4GHz device */
93 #define BCM43236_D11N_ID 0x4346 /* 43236 802.11n dualband device */
94 #define BCM43236_D11N2G_ID 0x4347 /* 43236 802.11n 2.4GHz device */
95
96 #define BCM4313_CHIP_ID 0x4313
97 #define BCM43224_CHIP_ID 43224
98
99 #endif /* _BRCM_HW_IDS_H_ */
This page took 0.043817 seconds and 5 git commands to generate.