[PARISC] move parisc_device_id definition to mod_devicetable.h
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
committed by
Kyle McMartin
parent
a04b060538
commit
f2439b262a
@@ -320,4 +320,16 @@ struct eisa_device_id {
|
||||
|
||||
#define EISA_DEVICE_MODALIAS_FMT "eisa:s%s"
|
||||
|
||||
struct parisc_device_id {
|
||||
__u8 hw_type; /* 5 bits used */
|
||||
__u8 hversion_rev; /* 4 bits */
|
||||
__u16 hversion; /* 12 bits */
|
||||
__u32 sversion; /* 20 bits */
|
||||
};
|
||||
|
||||
#define HWTYPE_ANY_ID 0xff
|
||||
#define HVERSION_REV_ANY_ID 0xff
|
||||
#define HVERSION_ANY_ID 0xffff
|
||||
#define SVERSION_ANY_ID 0xffffffff
|
||||
|
||||
#endif /* LINUX_MOD_DEVICETABLE_H */
|
||||
|
Reference in New Issue
Block a user