Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
f2439b26
Commit
f2439b26
authored
Jan 13, 2007
by
Kyle McMartin
Committed by
Kyle McMartin
Feb 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PARISC] move parisc_device_id definition to mod_devicetable.h
Signed-off-by:
Kyle McMartin
<
kyle@parisc-linux.org
>
parent
a04b0605
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
+13
-12
include/asm-parisc/hardware.h
include/asm-parisc/hardware.h
+1
-12
include/linux/mod_devicetable.h
include/linux/mod_devicetable.h
+12
-0
No files found.
include/asm-parisc/hardware.h
View file @
f2439b26
#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
;
...
...
include/linux/mod_devicetable.h
View file @
f2439b26
...
...
@@ -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 */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment