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 )
static unsigned short vendor
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
uint8_t product
Product string.
char * isa_id_string(unsigned int vendor, unsigned int product)