aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/hardware.h
diff options
context:
space:
mode:
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 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
6struct 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
18struct hp_hardware { 7struct 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;