Dave Jones <davej@xxxxxxxxxx> wrote:https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=134047
The ieee1394 drivers have buggered module aliases.
alias: char-major-171-0 * 16
This is because MODULE_ALIAS_CHARDEV stringifies its arguments.
hm. There are a bunch of 1394 patches in -mm which appear to remove
most/all of this stuff.
So what-the-heck I think I'll send those patches on to Linus today. Please[...same for the other 1394 hi-level drivers]
review the result and send any remaining fixups on to Linus for 2.6.14. (I'm offline for ~10 days, starting tomorrow).
--- linux-2.6.13/drivers/ieee1394/amdtp.c~ 2005-09-29 03:50:20.000000000 -0400
+++ linux-2.6.13/drivers/ieee1394/amdtp.c 2005-09-29 03:50:54.000000000 -0400
@@ -1234,7 +1234,7 @@ static void amdtp_add_host(struct hpsb_h
hpsb_set_hostinfo_key(&amdtp_highlevel, host, ah->host->id);
- minor = IEEE1394_MINOR_BLOCK_AMDTP * 16 + ah->host->id;
+ minor = IEEE1394_MINOR_BLOCK_AMDTP + ah->host->id;
INIT_LIST_HEAD(&ah->stream_list);
spin_lock_init(&ah->stream_list_lock);
@@ -1297,4 +1297,4 @@ static void __exit amdtp_exit_module (vo
module_init(amdtp_init_module);
module_exit(amdtp_exit_module);
-MODULE_ALIAS_CHARDEV(IEEE1394_MAJOR, IEEE1394_MINOR_BLOCK_AMDTP * 16);
+MODULE_ALIAS_CHARDEV(IEEE1394_MAJOR, IEEE1394_MINOR_BLOCK_AMDTP);