]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/patches/suse-2.6.27.31/patches.fixes/ieee1394-sbp2_long_sysfs_ieee1394_id.patch
Reenabled linux-xen, added patches for Xen Kernel Version 2.6.27.31,
[people/teissler/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.fixes / ieee1394-sbp2_long_sysfs_ieee1394_id.patch
1 From: unknown@suse.de
2 Subject: some unknown ieee1394 patch
3
4 make the long format the default because its also the default in the
5 new firewire stack.
6 Maybe it simplifies migration for new 10.3 installs to 11.0 or later.
7 Maybe it is bad for existing 10.3 and earlier installs.
8
9 modprobe -v sbp2 sbp2_long_sysfs_ieee1394_id=0 to get the old short name
10 modprobe -v sbp2 sbp2_long_sysfs_ieee1394_id=1 to get the new long name
11
12 ---
13 drivers/ieee1394/sbp2.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 --- a/drivers/ieee1394/sbp2.c
17 +++ b/drivers/ieee1394/sbp2.c
18 @@ -225,7 +225,7 @@ MODULE_PARM_DESC(workarounds, "Work arou
19 * independent of the implementation of the ieee1394 nodemgr, the longer format
20 * is recommended for future use.
21 */
22 -static int sbp2_long_sysfs_ieee1394_id;
23 +static int sbp2_long_sysfs_ieee1394_id = 1;
24 module_param_named(long_ieee1394_id, sbp2_long_sysfs_ieee1394_id, bool, 0644);
25 MODULE_PARM_DESC(long_ieee1394_id, "8+3+2 bytes format of ieee1394_id in sysfs "
26 "(default = backwards-compatible = N, SAM-conforming = Y)");