mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 07:11:32 +00:00
We need the ISA product ID mask available separately for 3c509.c.
This commit is contained in:
parent
305daba48a
commit
bc85cf756d
@ -35,8 +35,9 @@
|
||||
* Extract product ID and revision from combined product field
|
||||
*
|
||||
*/
|
||||
#define ISA_PROD_ID(product) ( (product) & 0xf0ff )
|
||||
#define ISA_PROD_REV(product) ( ( (product) & 0x0f00 ) >> 8 )
|
||||
#define ISA_PROD_ID_MASK ( 0xf0ff )
|
||||
#define ISA_PROD_ID(product) ( (product) & ISA_PROD_ID_MASK )
|
||||
#define ISA_PROD_REV(product) ( ( (product) & ~ISA_PROD_ID_MASK ) >> 8 )
|
||||
|
||||
/* Functions in isa_ids.c */
|
||||
extern char * isa_id_string ( uint16_t vendor, uint16_t product );
|
||||
|
Loading…
Reference in New Issue
Block a user