aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mod_devicetable.h
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mako.i.cabal.ca>2007-01-13 14:57:25 -0500
committerKyle McMartin <kyle@athena.road.mcmartin.ca>2007-02-17 01:08:11 -0500
commitf2439b262ab11717c892efd5fdacf43f65f2a422 (patch)
tree9908b68877de3b2adfc55e0788397d50f34ac787 /include/linux/mod_devicetable.h
parenta04b0605384e019c6fd77cfd4e4ffce8eb50785f (diff)
[PARISC] move parisc_device_id definition to mod_devicetable.h
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/linux/mod_devicetable.h')
-rw-r--r--include/linux/mod_devicetable.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index e0c393cc7240..1632025f3e60 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -320,4 +320,16 @@ struct eisa_device_id {
320 320
321#define EISA_DEVICE_MODALIAS_FMT "eisa:s%s" 321#define EISA_DEVICE_MODALIAS_FMT "eisa:s%s"
322 322
323struct parisc_device_id {
324 __u8 hw_type; /* 5 bits used */
325 __u8 hversion_rev; /* 4 bits */
326 __u16 hversion; /* 12 bits */
327 __u32 sversion; /* 20 bits */
328};
329
330#define HWTYPE_ANY_ID 0xff
331#define HVERSION_REV_ANY_ID 0xff
332#define HVERSION_ANY_ID 0xffff
333#define SVERSION_ANY_ID 0xffffffff
334
323#endif /* LINUX_MOD_DEVICETABLE_H */ 335#endif /* LINUX_MOD_DEVICETABLE_H */