Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9315
b: refs/heads/master
c: 4fb7edc
h: refs/heads/master
i:
  9313: 92622c6
  9311: edf2b39
v: v3
  • Loading branch information
Kars de Jong authored and Dominik Brodowski committed Sep 26, 2005
1 parent 571f00a commit 85c6a27
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2570b746484cfddf4b7b4715dbb69d53d5284f4d
refs/heads/master: 4fb7edce52e5b6cf41e3375822d74a27f0b6f2dd
5 changes: 3 additions & 2 deletions trunk/include/linux/mod_devicetable.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,11 @@ struct pcmcia_device_id {
/* for real multi-function devices */
__u8 function;

/* for pseude multi-function devices */
/* for pseudo multi-function devices */
__u8 device_no;

__u32 prod_id_hash[4];
__u32 prod_id_hash[4]
__attribute__((aligned(sizeof(__u32))));

/* not matched against in kernelspace*/
#ifdef __KERNEL__
Expand Down
2 changes: 2 additions & 0 deletions trunk/scripts/mod/file2alias.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,11 +295,13 @@ static int do_pcmcia_entry(const char *filename,
{
unsigned int i;

id->match_flags = TO_NATIVE(id->match_flags);
id->manf_id = TO_NATIVE(id->manf_id);
id->card_id = TO_NATIVE(id->card_id);
id->func_id = TO_NATIVE(id->func_id);
id->function = TO_NATIVE(id->function);
id->device_no = TO_NATIVE(id->device_no);

for (i=0; i<4; i++) {
id->prod_id_hash[i] = TO_NATIVE(id->prod_id_hash[i]);
}
Expand Down

0 comments on commit 85c6a27

Please sign in to comment.