Need to load broadcom kernel module before loading tg3 driver

Scott James Remnant scott at
Wed Sep 2 15:37:19 UTC 2009

On Wed, 2009-09-02 at 09:27 -0600, Tim Gardner wrote:

> The real problem is that the MII modules, while they all have some kind 
> of device signature, require the PCI module to be loaded in order to 
> extract the MII signature.
This is why the kernel has subsystems ;-)

You should have an MII host driver, loaded when MIIish PCI devices are
detected.  That should then create an MII subsystem with kobjects which
the underlying device signatures.

And then the actual drivers would be MII subsystem drivers, matching
mii:someinfo not pci:someinfo

> Alternatively, it seems like the PCI module could dynamically load it's 
> MII phylib module before registering with phylib. After all, its not 
> like it doesn't _know_ which module is providing MII support.
Couldn't it just "depends" it?

Scott James Remnant
scott at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the kernel-team mailing list