Go to the source code of this file.
◆ ISA_VENDOR
| #define ISA_VENDOR |
( |
| a, |
|
|
| b, |
|
|
| c ) |
Value: bswap_16 ( ( ( ( (a) -
'A' + 1 ) & 0x1f ) << 10 ) | \
( ( ( (b) - 'A' + 1 ) & 0x1f ) << 5 ) | \
( ( ( (c) - 'A' + 1 ) & 0x1f ) << 0 ) )
Definition at line 30 of file isa_ids.h.
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 ) )
◆ ISAPNP_VENDOR
| #define ISAPNP_VENDOR |
( |
| a, |
|
|
| b, |
|
|
| c ) |
Value:
#define ISA_VENDOR(a, b, c)
Definition at line 35 of file isa_ids.h.
◆ EISA_VENDOR
| #define EISA_VENDOR |
( |
| a, |
|
|
| b, |
|
|
| c ) |
◆ GENERIC_ISAPNP_VENDOR
◆ ISA_PROD_ID_MASK
| #define ISA_PROD_ID_MASK ( 0xf0ff ) |
◆ ISA_PROD_ID
◆ ISA_PROD_REV
◆ FILE_LICENCE()
| FILE_LICENCE |
( |
GPL2_OR_LATER_OR_UBDL | | ) |
|
◆ isa_id_string()
| char * isa_id_string |
( |
unsigned int | vendor, |
|
|
unsigned int | product ) |
|
extern |
Definition at line 11 of file isa_ids.c.
11 {
12 static char buf[7];
13 int i;
14
15
17 for ( i = 2 ; i >= 0 ; i-- ) {
18 buf[i] = (
'A' - 1 + (
vendor & 0x1f ) );
20 }
21
22
24
25 return buf;
26}
static unsigned short vendor
#define sprintf(buf, fmt,...)
Write a formatted string to a buffer.
References bswap_16, product, sprintf, and vendor.
Referenced by eisa_probe(), and isapnp_probe().