Re: [PATCH] phylib: Add autoload support for the LXT973 phy.
From: Richard Cochran <richardcochran@gmail.com>
Date: 2010-06-23 05:37:27
From: Richard Cochran <richardcochran@gmail.com>
Date: 2010-06-23 05:37:27
On Tue, Jun 22, 2010 at 01:38:13PM +0100, David Woodhouse wrote:
prefer that we just remember to update the table and don't need to be forced :)
Oops, and thanks for catching this.
static struct mdio_device_id lxt_tbl[] = {
{ 0x78100000, 0xfffffff0 },
{ 0x001378e0, 0xfffffff0 },
+ { 0x00137a10, 0xfffffff0 },
{ }
};Question about the whole PHY MODULE_DEVICE_TABLE system: I recently posted a phy driver for the National Semiconductor DP83640. During development, I used drivers/net/arm/ixp4xx_eth.c as the MAC driver, which was linked into the kernel (not a module). I noticed that the phy driver's probe function only gets called if the phy driver is also statically linked, but not when it is loaded as a module. Is this the correct behavior? Thanks, Richard