netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Net driver module dependencies on PHY driver modules
@ 2009-10-31 11:42 Ben Hutchings
  2009-10-31 15:34 ` Tim Gardner
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Hutchings @ 2009-10-31 11:42 UTC (permalink / raw)
  To: Matt Carlson, Michael Chan, netdev; +Cc: 553024

[-- Attachment #1: Type: text/plain, Size: 686 bytes --]

I'm handling a bug report <http://bugs.debian.org/553024> relating to
tg3 using phylib and missing the broadcom module.

There seem to be two general problems here:
1. PHY drivers are not auto-loaded
2. An initramfs builder cannot statically determine that a net device
requires a PHY driver

It seems to me that PHY drivers should have aliases based on MDIO PHY
ids, and phylib should request_module() if no suitable driver is
registered.  This would solve (1) and go some way to solving (2).

Ben.

-- 
Ben Hutchings
The generation of random numbers is too important to be left to chance.
                                                            - Robert Coveyou

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-31 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-31 11:42 Net driver module dependencies on PHY driver modules Ben Hutchings
2009-10-31 15:34 ` Tim Gardner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).