2.6.25-rc8 PHY Davicom DM9161AEP driver: incorrect mii_bus:phy_addr & irq detecting [AT91SAM9260-EK board]

From: Oleg Strikov
Date: Mon Apr 07 2008 - 10:16:49 EST


We found that the latest kernel PHY Davicom DM9161A driver
(linux/drivers/net/phy/davicom.c) does not work correctly with Davicom
DM9161AEP PHY controller on Atmel AT91SAM9260-EK board.
During init stage i get incorrect driver output:

>eth0: Atmel MACB at 0xfffc4000 irq 21 (00:00:00:00:00:00)
>eth0: attached PHY driver [Davicom DM9161A]
(mii_bus:phy_addr=ffffffff:00, irq=-1)

It seems that MACB initialization pass O.K.
&
PHY driver does not get correct phy_addr & irq values.

MB DM9161AEP controller cannot be handled by DM9161A driver, but it
tries to catch it based in the same ID?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/