Hi!

I was just thinking about the purpose of this method... What is it?

It used to be used by NIC drivers to add something like AUI beside MII
provided media, correct?

But it looks like every PHY's driver thinks it must call MEDIAINIT in its
attach() routine. So, if there would be two PHY on MII (can this happen?),
then the method will be called twice, and some NIC drivers (tx, xl, dc,
maybe more) will not behave well.

Isn't it reasonable to stop all PHY drivers from calling MEDIAINIT, and
call it once per miibus instance in miibus_attach() or miibus_probe()
instead?

Thanks!


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to