[linux-sh:03219] Re: [linuxsh-dev] Status of ST40 on the 2.6 tree

Alex Bennee <[email protected]> Tue, 27 Apr 2004 16:30:29 +0100
Newsgroups gmane.linux.ports.sh.general,gmane.linux.ports.sh.devel
Organization Hackers Inc
Message-ID <[email protected]>
On Tue, 2004-04-27 at 15:57, David MCKAY wrote:
> I have done exactly the same. I'll post patches soon. I'm currently testing 
> it, it seems to work OK. I have one question though, looking at the 7751 code 
> I do not understand how the ordering dependency between 
> sh7751_pci_init() and  pcibios_init() is handled. What enforces the order?

Magic?

IIRC its down to link order. There is a cryptic reference in the kbuild
docs section 3.2:

        Link order is significant, because certain functions
        (module_init() / __initcall) will be called during boot in the
        order they appear. So keep in mind that changing the link
        order may e.g.  change the order in which your SCSI
        controllers are detected, and thus you disks are renumbered.

-- 
Alex, homepage: http://www.bennee.com/~alex/
Han Solo:
	Not a bad bit of rescuing, huh? You know, sometimes I amaze even
myself.
Princess Leia:
	That doesn't sound too hard.