[gPXE] Intel NIC Link-state problem
Geert Stappers
stappers at stappers.nl
Thu Apr 15 02:07:46 EDT 2010
Op 20100415 om 01:24 schreef Thomas Miletich:
> On Thu, Apr 15, 2010 at 1:01 AM, Christopher Armenio wrote:
> > Shao,
> > I just tried compiling the 1.0.0+ code...still the same problem...it thinks
> > the link is down, but I can see the receive counter incrementing.
> >
> > Again, the output of 'lspci -n -s 02:07' is:
> >
> > 02:07.0 0200: 8086:1209 (rev 10)
> >
And what says `lspci -vn -s 02:07` ( v from verbose, shows "subsystem" )
> Hello Christopher
> please insert the following line in eepro100.c in line 337, right
> after the ifec_mdio_setup() call:
>
> printf("eepro100 - mdio_register: %#04x\n", priv->mdio_register);
>
--- a/src/drivers/net/eepro100.c
+++ b/src/drivers/net/eepro100.c
@@ -333,6 +333,7 @@ static int ifec_net_open ( struct net_device *netdev )
/* Initialize MDIO */
options = 0x00; /* 0x40 = 10mbps half duplex, 0x00 = Autosense */
ifec_mdio_setup ( netdev, options );
+ printf("eepro100 - mdio_register: %#04x\n", priv->mdio_register);
/* Prepare MAC address w/ Individual Address Setup (ias) * command.*/
ias = malloc_dma ( sizeof ( *ias ), CB_ALIGN );
> The driver will output a line in the format of 'eepro100 -
> mdio_register 0x????'. Please tell us what the value of 0x???? is for
> your card. When I get home tomorrow I'll compare the value to the
> values read with my eepro100 cards.
Please mention "subsystem" from your eepro100 cards. ( lspci -vn )
> I'll also have a look at the linux e100 and eepro100 drivers and see
> how they do the link detecting, as I think to remember neither of them
> had something as a 'mdio_register'.
Groeten
Geert Stappers
More information about the gPXE
mailing list