📄 bcmdevs.h
字号:
/* * Broadcom device-specific manifest constants. * * Copyright 2005-2006, Broadcom Corporation * All Rights Reserved. * * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE. * $Id$ */#ifndef _BCMDEVS_H#define _BCMDEVS_H/* Known PCI vendor Id's */#define VENDOR_BROADCOM 0x14e4#define VENDOR_DELL 0x1028#define VENDOR_HP 0x0e11#define BCM4306_CHIP_ID 0x4306 /* 4306 chipcommon chipid */#define BCM4306_D11G_ID 0x4320 /* 4306 802.11g */#define BCM4306_D11G_ID2 0x4325 #define BCM4306_D11A_ID 0x4321 /* 4306 802.11a */#define BCM4306_UART_ID 0x4322 /* 4306 uart */#define BCM4306_V90_ID 0x4323 /* 4306 v90 codec */#define BCM4306_D11DUAL_ID 0x4324 /* 4306 dual A+B */#define BCM4309_PKG_ID 1 /* 4309 package id */#define BCM4311_CHIP_ID 0x4311 /* 4311 PCIe 802.11a/b/g */#define BCM4311_D11G_ID 0x4311 /* 4311 802.11b/g id */#define BCM4311_D11DUAL_ID 0x4312 /* 4311 802.11a/b/g id */#define BCM4311_D11A_ID 0x4313 /* 4311 802.11a id */#define BCM4318_CHIP_ID 0x4318 /* 4318 chip common chipid */#define BCM4318_D11G_ID 0x4318 /* 4318 802.11b/g id */#define BCM4318_D11DUAL_ID 0x4319 /* 4318 802.11a/b/g id */#define BCM4318_D11A_ID 0x431a /* 4318 802.11a id */#define HDLSIM_PKG_ID 14 /* HDL simulator package id */#define HWSIM_PKG_ID 15 /* Hardware simulator package id *//* boardflags */#define BFL_BTCOEXIST 0x0001 /* This board implements Bluetooth coexistance */#define BFL_PACTRL 0x0002 /* This board has gpio 9 controlling the PA */#define BFL_AIRLINEMODE 0x0004 /* This board implements gpio13 radio disable indication */#define BFL_ADCDIV 0x0008 /* This board has the rssi ADC divider */#define BFL_NOPLLDOWN 0x0020 /* Not ok to power down the chip pll and oscillator */#define BFL_CCKHIPWR 0x0040 /* Can do high-power CCK transmission */#define BFL_NOPCI 0x0400 /* This board leaves PCI floating */#define BFL_FEM 0x0800 /* This board supports the Front End Module */#define BFL_EXTLNA 0x1000 /* This board has an external LNA */#define BFL_HGPA 0x2000 /* This board has a high gain PA */#define BFL_BTCMOD 0x4000 /* This board' BTCOEXIST is in the alternate gpios */#define BFL_ALTIQ 0x8000 /* Alternate I/Q settings *//* board specific GPIO assignment, gpio 0-3 are also customer-configurable led */#define BOARD_GPIO_BTCMOD_IN 0x010 /* bit 4 is the alternate BT Coexistance Input */#define BOARD_GPIO_BTCMOD_OUT 0x020 /* bit 5 is the alternate BT Coexistance Out */#define BOARD_GPIO_BTC_IN 0x080 /* bit 7 is BT Coexistance Input */#define BOARD_GPIO_BTC_OUT 0x100 /* bit 8 is BT Coexistance Out */#define BOARD_GPIO_PACTRL 0x200 /* bit 9 controls the PA on new 4306 boards */#define PCI_CFG_GPIO_SCS 0x10 /* PCI config space bit 4 for 4306c0 slow clock source */#define PCI_CFG_GPIO_HWRAD 0x20 /* PCI config space GPIO 13 for hw radio disable */#define PCI_CFG_GPIO_XTAL 0x40 /* PCI config space GPIO 14 for Xtal powerup */#define PCI_CFG_GPIO_PLL 0x80 /* PCI config space GPIO 15 for PLL powerdown *//* power control defines */#define PLL_DELAY 150 /* us pll on delay */#define FREF_DELAY 200 /* us fref change delay */#define MIN_SLOW_CLK 32 /* us Slow clock period */#define XTAL_ON_DELAY 1000 /* us crystal power-on delay *//* Reference Board Types */#define BCM94306MP_BOARD 0x0418#define BCM94309G_BOARD 0x0421#define BCM94306CB_BOARD 0x0417#define BCM94309MP_BOARD 0x040c#define MP4318_BOARD 0x044a#define BU4306_BOARD 0x0416#define BU4309_BOARD 0x040a/* # of GPIO pins */#define GPIO_NUMPINS 16/* radio ID codes */#define NORADIO_ID 0xe4f5#define NORADIO_IDCODE 0x4e4f5246#define BCM2050_ID 0x2050#define BCM2050_IDCODE 0x02050000#define BCM2050A0_IDCODE 0x1205017f#define BCM2050A1_IDCODE 0x2205017f#define BCM2050R8_IDCODE 0x8205017f#define BCM2060_ID 0x2060#define BCM2060_IDCODE 0x02060000#define BCM2060WW_IDCODE 0x1206017f/* parts of an idcode: */#define IDCODE_MFG_MASK 0x00000fff#define IDCODE_MFG_SHIFT 0#define IDCODE_ID_MASK 0x0ffff000#define IDCODE_ID_SHIFT 12#define IDCODE_REV_MASK 0xf0000000#define IDCODE_REV_SHIFT 28#endif /* _BCMDEVS_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -