30 #define ISA_VENDOR( a, b, c ) \ 31 bswap_16 ( ( ( ( (a) - 'A' + 1 ) & 0x1f ) << 10 ) | \ 32 ( ( ( (b) - 'A' + 1 ) & 0x1f ) << 5 ) | \ 33 ( ( ( (c) - 'A' + 1 ) & 0x1f ) << 0 ) ) 35 #define ISAPNP_VENDOR( a, b, c ) ISA_VENDOR ( a, b, c ) 36 #define EISA_VENDOR( a, b, c ) ISA_VENDOR ( a, b, c ) 38 #define GENERIC_ISAPNP_VENDOR ISAPNP_VENDOR ( 'P','N','P' ) 44 #define ISA_PROD_ID_MASK ( 0xf0ff ) 45 #define ISA_PROD_ID(product) ( (product) & ISA_PROD_ID_MASK ) 46 #define ISA_PROD_REV(product) ( ( (product) & ~ISA_PROD_ID_MASK ) >> 8 )
char * isa_id_string(unsigned int vendor, unsigned int product)
static unsigned short vendor
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
uint8_t product
Product string.