android_kernel_xiaomi_sm7250/drivers/ieee1394
Stefan Richter 70093cfde8 ieee1394: eth1394: don't autoload by hotplug when ohci1394 starts
Until now, ieee1394 put an IP-over-1394 capability entry into each new
host's config ROM.  As soon as the controller was initialized --- i.e.
right after modprobe ohci1394 --- this entry triggered a hotplug event
which typically caused auto-loading of eth1394.

This irritated or annoyed many users and distributors.  Of course they
could blacklist eth1394, but then ieee1394 wrongly advertized IP-over-
1394 capability to the FireWire bus.

Therefore
  - remove the offending kernel config option
    IEEE1394_CONFIG_ROM_IP1394,
  - let eth1394 add the ROM entry by itself, i.e. only after eth1394 was
    loaded.

This fixes http://bugzilla.kernel.org/show_bug.cgi?id=7793 .

To emulate the behaviour of older kernels, simply add the following to
to /etc/modprobe.conf:

install ohci1394 /sbin/modprobe eth1394; \
                 /sbin/modprobe --ignore-install ohci1394

Note, autoloading of eth1394 when an _external_ IP-over-1394 capable
device is discovered is _not_ affected by this patch.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2007-04-30 00:00:30 +02:00
..
config_roms.c ieee1394: eth1394: don't autoload by hotplug when ohci1394 starts 2007-04-30 00:00:30 +02:00
config_roms.h ieee1394: eth1394: don't autoload by hotplug when ohci1394 starts 2007-04-30 00:00:30 +02:00
csr1212.c ieee1394: csr1212: log if devices have CRC errors in their ROM 2007-04-30 00:00:29 +02:00
csr1212.h ieee1394: csr1212: coding style 2007-04-30 00:00:28 +02:00
csr.c ieee1394: usecs_to_jiffies takes unsigned int argument 2006-12-07 21:29:08 +01:00
csr.h
dma.c ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
dma.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
dv1394-private.h
dv1394.c ieee1394: change deprecation status of dv1394 2007-04-09 18:52:27 +02:00
dv1394.h
eth1394.c ieee1394: eth1394: don't autoload by hotplug when ohci1394 starts 2007-04-30 00:00:30 +02:00
eth1394.h ieee1394: small header cleanup 2007-04-30 00:00:28 +02:00
highlevel.c ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
highlevel.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
hosts.c ieee1394: eth1394: don't autoload by hotplug when ohci1394 starts 2007-04-30 00:00:30 +02:00
hosts.h ieee1394: remove usage of skb_queue as packet queue 2007-04-30 00:00:29 +02:00
ieee1394_core.c ieee1394: unroll a weird macro 2007-04-30 00:00:29 +02:00
ieee1394_core.h ieee1394: remove usage of skb_queue as packet queue 2007-04-30 00:00:29 +02:00
ieee1394_hotplug.h
ieee1394_transactions.c ieee1394: send async streams at S100 2007-04-30 00:00:30 +02:00
ieee1394_transactions.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
ieee1394_types.h
ieee1394-ioctl.h ieee1394: cycle timer read extension for raw1394 2007-02-17 14:39:33 +01:00
ieee1394.h
iso.c ieee1394: iso.c needs sched.h 2007-04-30 00:00:29 +02:00
iso.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
Kconfig ieee1394: eth1394: don't autoload by hotplug when ohci1394 starts 2007-04-30 00:00:30 +02:00
Makefile the scheduled IEEE1394_OUI_DB removal 2007-02-08 20:57:43 +01:00
nodemgr.c ieee1394: nodemgr: unify some error messages 2007-04-30 00:00:30 +02:00
nodemgr.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
ohci1394.c ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
ohci1394.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
pcilynx.c i2c: Declare more i2c_adapter parent devices 2007-02-13 22:09:03 +01:00
pcilynx.h
raw1394-private.h ieee1394: raw1394: add comments on lock usage 2006-12-07 21:28:06 +01:00
raw1394.c ieee1394: remove usage of skb_queue as packet queue 2007-04-30 00:00:29 +02:00
raw1394.h ieee1394: cycle timer read extension for raw1394 2007-02-17 14:39:33 +01:00
sbp2.c ieee1394: sbp2: include fixes 2007-04-30 00:00:27 +02:00
sbp2.h ieee1394: sbp2: remove unnecessary alignments of struct members 2007-04-30 00:00:27 +02:00
video1394.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
video1394.h