summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/hardware.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/asm-parisc/hardware.h
parenta04b0605384e019c6fd77cfd4e4ffce8eb50785f (diff)
downloadop-kernel-dev-f2439b262ab11717c892efd5fdacf43f65f2a422.zip
op-kernel-dev-f2439b262ab11717c892efd5fdacf43f65f2a422.tar.gz
[PARISC] move parisc_device_id definition to mod_devicetable.h
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/asm-parisc/hardware.h')
-rw-r--r--include/asm-parisc/hardware.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/asm-parisc/hardware.h b/include/asm-parisc/hardware.h
index 106d3f7..ac58814 100644
--- a/include/asm-parisc/hardware.h
+++ b/include/asm-parisc/hardware.h
@@ -1,20 +1,9 @@
#ifndef _PARISC_HARDWARE_H
#define _PARISC_HARDWARE_H
+#include <linux/mod_devicetable.h>
#include <asm/pdc.h>
-struct parisc_device_id {
- unsigned char hw_type; /* 5 bits used */
- unsigned char hversion_rev; /* 4 bits */
- unsigned short hversion; /* 12 bits */
- unsigned int sversion; /* 20 bits */
-};
-
-#define HWTYPE_ANY_ID 0xff
-#define HVERSION_REV_ANY_ID 0xff
-#define HVERSION_ANY_ID 0xffff
-#define SVERSION_ANY_ID 0xffffffffU
-
struct hp_hardware {
unsigned short hw_type:5; /* HPHW_xxx */
unsigned short hversion;
OpenPOWER on IntegriCloud