[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux1394-devel
Subject:    Re: Fixed problems running the OHCI 1394 code on Toshiba notebook
From:       Stefan Richter <stefanr () s5r6 ! in-berlin ! de>
Date:       2007-09-21 17:33:43
Message-ID: 46F40077.8050206 () s5r6 ! in-berlin ! de
[Download RAW message or body]

> On Tue, 2007-09-18 at 15:23 +0000, Frank wrote:
>>  I found two error messages in my kernel-log:
>>  a) PCI: Device 0000:02:07.0 not available because of resource collisions
>>  b) ohci1394: Failed to enable OHCI hardware.
>>
>> ( 0000:02:07.0 is the TI 1394-Controller )
>>
>> I figured out that the OHCI-driver's init-function ohci1394_init() in ohci1394.c is 
>> the problem because the driver is called BEFORE the pci-system has allocated the
>> IOMEM-resources for the 1394-controller. Changing fs_initcall(ohci1394_init)
>> to fs_initcall_sync(ohci1394_init) fixed the problem.

Frank,

thanks once more debugging this.  As proposed I changed the fix to use
module_init(ohci1394_init), which in a static build is like
device_initcall, and the fix will be released in Linux 2.6.23.  I also
submitted it for the next 2.6.22.y and 2.6.20.y.
-- 
Stefan Richter
-=====-=-=== =--= =-=-=
http://arcgraph.de/sr/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
mailing list linux1394-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic