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:
Michael Brown
2005-04-13 12:01:44 +00:00
parent ac1c0a753d
commit 9711f50e20
4 changed files with 72 additions and 8 deletions

View File

@@ -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;