summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-14 02:49:06 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-14 02:49:06 +0400
commit7217cbccbd0c620a6d234ebbe5e58d46d2188d0e (patch)
treeed8ad2161ca664c9100cb3fc1f9b0d8c3762500c /scripts
parent6cd7525a00f3b926e8bd2e402954ed3e09a8e924 (diff)
parentc931488cc4619eecfe68a2f046b5898fddc2f904 (diff)
downloadlinux-7217cbccbd0c620a6d234ebbe5e58d46d2188d0e.tar.xz
Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mod/file2alias.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c
index d8ee38aede26..f2ee673329a7 100644
--- a/scripts/mod/file2alias.c
+++ b/scripts/mod/file2alias.c
@@ -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]);
}