mirror of
https://github.com/ipxe/ipxe
synced 2025-12-31 06:49:20 +03:00
Created separate isa_ids.h file and a utility function to print out ISA
IDs in a human-readable format.
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
#ifndef ISA_H
|
||||
#define ISA_H
|
||||
|
||||
#include "isa_ids.h"
|
||||
|
||||
struct dev;
|
||||
|
||||
#define ISAPNP_VENDOR(a,b,c) (((((a)-'A'+1)&0x3f)<<2)|\
|
||||
((((b)-'A'+1)&0x18)>>3)|((((b)-'A'+1)&7)<<13)|\
|
||||
((((c)-'A'+1)&0x1f)<<8))
|
||||
|
||||
#define GENERIC_ISAPNP_VENDOR ISAPNP_VENDOR('P','N','P')
|
||||
|
||||
struct isa_driver
|
||||
{
|
||||
int type;
|
||||
|
||||
Reference in New Issue
Block a user