Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Production Test Suite
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Production Test Suite
Commits
1a5c12c1
Commit
1a5c12c1
authored
Jul 22, 2011
by
Samuel Iglesias Gonsalvez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gnurabbit: added old patch about CERN VENDOR ID/DEVICE ID to the new driver
parent
dda98e95
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
rawrabbit-core.c
gnurabbit/kernel/rawrabbit-core.c
+7
-1
rawrabbit.h
gnurabbit/kernel/rawrabbit.h
+2
-0
No files found.
gnurabbit/kernel/rawrabbit-core.c
View file @
1a5c12c1
...
...
@@ -62,7 +62,7 @@ irqreturn_t rr_interrupt(int irq, void *devid)
* One device id only is supported.
*/
static
struct
pci_device_id
rr_idtable
[
2
];
/* last must be zero */
static
struct
pci_device_id
rr_idtable
[
3
];
/* last must be zero */
static
void
rr_fill_table
(
struct
rr_dev
*
dev
)
{
...
...
@@ -75,6 +75,12 @@ static void rr_fill_table(struct rr_dev *dev)
}
dev
->
id_table
->
vendor
=
dev
->
devsel
->
vendor
;
dev
->
id_table
->
device
=
dev
->
devsel
->
device
;
dev
->
id_table
[
1
].
vendor
=
RR_CERN_VENDOR
;
dev
->
id_table
[
1
].
device
=
RR_CERN_DEVICE
;
dev
->
id_table
[
1
].
subvendor
=
PCI_ANY_ID
;
dev
->
id_table
[
1
].
subdevice
=
PCI_ANY_ID
;
}
static
int
rr_fill_table_and_probe
(
struct
rr_dev
*
dev
)
...
...
gnurabbit/kernel/rawrabbit.h
View file @
1a5c12c1
...
...
@@ -58,6 +58,8 @@ extern void rr_load_firmware(struct work_struct *work);
/* By default, the driver registers for this vendor/devid */
#define RR_DEFAULT_VENDOR 0x1a39
#define RR_DEFAULT_DEVICE 0x0004
#define RR_CERN_VENDOR 0x10dc
#define RR_CERN_DEVICE 0x018d
#define RR_DEFAULT_FWNAME "rrabbit-%P-%p@%b"
#define RR_MAX_FWNAME_SIZE 64
...
...
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