diff options
author | Kyle McMartin <kyle@mako.i.cabal.ca> | 2007-01-13 14:57:25 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@athena.road.mcmartin.ca> | 2007-02-17 01:08:11 -0500 |
commit | f2439b262ab11717c892efd5fdacf43f65f2a422 (patch) | |
tree | 9908b68877de3b2adfc55e0788397d50f34ac787 /include/asm-parisc | |
parent | a04b0605384e019c6fd77cfd4e4ffce8eb50785f (diff) |
[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')
-rw-r--r-- | include/asm-parisc/hardware.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/include/asm-parisc/hardware.h b/include/asm-parisc/hardware.h index 106d3f7cd882..ac5881492b10 100644 --- a/include/asm-parisc/hardware.h +++ b/include/asm-parisc/hardware.h | |||
@@ -1,20 +1,9 @@ | |||
1 | #ifndef _PARISC_HARDWARE_H | 1 | #ifndef _PARISC_HARDWARE_H |
2 | #define _PARISC_HARDWARE_H | 2 | #define _PARISC_HARDWARE_H |
3 | 3 | ||
4 | #include <linux/mod_devicetable.h> | ||
4 | #include <asm/pdc.h> | 5 | #include <asm/pdc.h> |
5 | 6 | ||
6 | struct parisc_device_id { | ||
7 | unsigned char hw_type; /* 5 bits used */ | ||
8 | unsigned char hversion_rev; /* 4 bits */ | ||
9 | unsigned short hversion; /* 12 bits */ | ||
10 | unsigned int sversion; /* 20 bits */ | ||
11 | }; | ||
12 | |||
13 | #define HWTYPE_ANY_ID 0xff | ||
14 | #define HVERSION_REV_ANY_ID 0xff | ||
15 | #define HVERSION_ANY_ID 0xffff | ||
16 | #define SVERSION_ANY_ID 0xffffffffU | ||
17 | |||
18 | struct hp_hardware { | 7 | struct hp_hardware { |
19 | unsigned short hw_type:5; /* HPHW_xxx */ | 8 | unsigned short hw_type:5; /* HPHW_xxx */ |
20 | unsigned short hversion; | 9 | unsigned short hversion; |