[gPXE] Trying to extend TG3 driver

Nick Couchman Nick.Couchman at seakr.com
Fri Nov 20 16:42:03 EST 2009


Hello, everyone,
I'm attempting to extend the tg3 driver to support some of the later chipsets that have come out.  I'm specifically interested in support for the PCIe-based Broadcom 5764M chipset, one that's integrated into Dell's Optiplex 160 units.  I've managed to get the basics working - I know the PCI IDs used by the card and updated tg3 with those, and I also found the chip revision of the card.  However, I'm running into some sort of issue right now with it not enabling transmit mode correctly.  Basically, all I'm trying to do is pick up a DHCP address, and the output looks something like this:

DHCP (net0 AA:BB:CC:XX:YY:ZZ)....transmit timed out
tg3_stop_block timed out, ofs=0x1400, enable_bit=002
Link is down
......Link is up at 1000 Mbps, full duplex.  TX RX flow control
... Connection timed out (0x4c106035)

I've looked at the tg3 driver in the later versions of the Linux kernel, and it seems like there are a lot of specific fixes and conditions for specific Broadcom chips.  Unfortunately, I don't really know which ones matter for gPXE and which ones can be ignored.  So, where do I need to go from here to figure out why transmit is timing out?  I'm guessing there's something about this particular chip that isn't implemented correctly in gPXE today, but what's the best way to track that down?

Also, on a related topic, the network card appears to be UNDI-capable, but the undi and undionly drivers do not work correctly.  How can these drivers be extended to support this Broadcom chipset, or does that rely on the tg3 driver having support, first?

Thanks - Nick



--------
This e-mail may contain confidential and privileged material for the sole use of the intended recipient.  If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information.  In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way.  If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox.  Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.


More information about the gPXE mailing list