diff options
| author | Bastian Blank <[email protected]> | 2006-03-06 15:43:00 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-03-06 18:40:45 -0800 |
| commit | de1d9c033f32ce39bf60e25be3b8624225fa9181 (patch) | |
| tree | b4aa8fd8dc687db7eb98781089b94f15d830ecc7 /scripts/mod | |
| parent | cdd440fe9f2e83b1e268148647126440799b71fc (diff) | |
[PATCH] s390: fix match in ccw modalias
Fix matching of devmodel in modaliases. It breaks automatic loading of any
dasd module.
Cc: Heiko Carstens <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Acked-by: Cornelia Huck <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/mod')
| -rw-r--r-- | scripts/mod/file2alias.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c index be97caf664bb..c164b230ad6f 100644 --- a/scripts/mod/file2alias.c +++ b/scripts/mod/file2alias.c @@ -246,7 +246,7 @@ static int do_ccw_entry(const char *filename, id->cu_model); ADD(alias, "dt", id->match_flags&CCW_DEVICE_ID_MATCH_DEVICE_TYPE, id->dev_type); - ADD(alias, "dm", id->match_flags&CCW_DEVICE_ID_MATCH_DEVICE_TYPE, + ADD(alias, "dm", id->match_flags&CCW_DEVICE_ID_MATCH_DEVICE_MODEL, id->dev_model); return 1; } |