Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/bhnd/bhnd_ids.h
Show First 20 Lines • Show All 529 Lines • ▼ Show 20 Lines | |||||
#define BHND_HWREV_INVALID 0xFF /* Invalid hardware revision ID */ | #define BHND_HWREV_INVALID 0xFF /* Invalid hardware revision ID */ | ||||
/* Chip Types */ | /* Chip Types */ | ||||
#define BHND_CHIPTYPE_SIBA 0 /**< siba(4) interconnect */ | #define BHND_CHIPTYPE_SIBA 0 /**< siba(4) interconnect */ | ||||
#define BHND_CHIPTYPE_BCMA 1 /**< bcma(4) interconnect */ | #define BHND_CHIPTYPE_BCMA 1 /**< bcma(4) interconnect */ | ||||
#define BHND_CHIPTYPE_UBUS 2 /**< ubus interconnect found in bcm63xx devices */ | #define BHND_CHIPTYPE_UBUS 2 /**< ubus interconnect found in bcm63xx devices */ | ||||
#define BHND_CHIPTYPE_BCMA_ALT 3 /**< bcma(4) interconnect */ | #define BHND_CHIPTYPE_BCMA_ALT 3 /**< bcma(4) interconnect */ | ||||
/** Evaluates to true if @p _type uses a BCMA EROM table */ | |||||
#define BHND_CHIPTYPE_HAS_EROM(_type) \ | |||||
((_type) == BHND_CHIPTYPE_BCMA || \ | |||||
(_type) == BHND_CHIPTYPE_BCMA_ALT || \ | |||||
(_type) == BHND_CHIPTYPE_UBUS) | |||||
/* Boardflags */ | /* Boardflags */ | ||||
#define BHND_BFL_BTC2WIRE 0x00000001 /* old 2wire Bluetooth coexistence, OBSOLETE */ | #define BHND_BFL_BTC2WIRE 0x00000001 /* old 2wire Bluetooth coexistence, OBSOLETE */ | ||||
#define BHND_BFL_BTCOEX 0x00000001 /* Board supports BTCOEX */ | #define BHND_BFL_BTCOEX 0x00000001 /* Board supports BTCOEX */ | ||||
#define BHND_BFL_PACTRL 0x00000002 /* Board has gpio 9 controlling the PA */ | #define BHND_BFL_PACTRL 0x00000002 /* Board has gpio 9 controlling the PA */ | ||||
#define BHND_BFL_AIRLINEMODE 0x00000004 /* Board implements gpio 13 radio disable indication, UNUSED */ | #define BHND_BFL_AIRLINEMODE 0x00000004 /* Board implements gpio 13 radio disable indication, UNUSED */ | ||||
#define BHND_BFL_ADCDIV 0x00000008 /* Board has the rssi ADC divider */ | #define BHND_BFL_ADCDIV 0x00000008 /* Board has the rssi ADC divider */ | ||||
#define BHND_BFL_DIS_256QAM 0x00000008 | #define BHND_BFL_DIS_256QAM 0x00000008 | ||||
#define BHND_BFL_ENETROBO 0x00000010 /* Board has robo switch or core */ | #define BHND_BFL_ENETROBO 0x00000010 /* Board has robo switch or core */ | ||||
▲ Show 20 Lines • Show All 582 Lines • Show Last 20 Lines |