ieee1394: ohci1394: fix initialization if built non-modular
commit7cd5471bea6f4e7f97e28ff71a30bb2c7656e1c2
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 21 Sep 2007 06:11:08 +0000 (21 08:11 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 26 Sep 2007 17:54:41 +0000 (26 10:54 -0700)
treeaa1dcb8007467e4902f030153be5ca255d7f6484
parentef0f3948e965f20af7426a4f3dca2512578cd379
ieee1394: ohci1394: fix initialization if built non-modular

Initialization of ohci1394 was broken according to one reporter if the
driver was statically linked, i.e. not built as loadable module.  Dmesg:

  PCI: Device 0000:02:07.0 not available because of resource collisions
  ohci1394: Failed to enable OHCI hardware.

This was reported for a Toshiba Satellite 5100-503.  The cause is commit
8df4083c5291b3647e0381d3c69ab2196f5dd3b7 in Linux 2.6.19-rc1 which only
served purposes of early remote debugging via FireWire.  This
functionality is better provided by the currently out-of-tree driver
ohci1394_earlyinit.  Reversal of the commit was OK'd by Andi Kleen.

Same as pre-2.6.23 commit be7963b7e7f08a149e247c0bf29a4abd174e0929.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ieee1394/ieee1394_core.c
drivers/ieee1394/ohci1394.c