3c575_cb media type override not working
Dirk Pandel
dpandel@physics.ucsb.edu
Wed Jul 14 16:19:57 1999
For a reason that is connected to a "Tx Ring full, refusing to send
buffer" error message from the 3c575_cb driver, I tried to override the
automatic media type selection. But no matter what media type I specified
in '/etc/pcmcia/config.opts' the driver would always use media type 6.
I finally found the problem in the driver source code. When the function
'vortex_probe1' is called, the parameter 'card_idx' has a value of 9. As I
understand it should be 0 or 1 depending on which PCMCIA socket the
network card is in. Now since 'card_idx' is larger than MAX_UNITS=8, the
media type override is ignored and a default value is used. However, when
I set 'card_idx' to 0 inside 'vortex_probe1', media type override works
fine and I can force the use of a certain media type. Unfortunately that
did not solve my problem with the full Tx Ring.
I am using Red Hat Linux 6.0 with the pcmcia-cs-3.0.9 package and the
driver 3c575_cb version 0.99L. My PCMCIA card is a 3c575-TX in a Dell
Inspiron 7000 and it is identified correctly by the drivers.
Any ideas why 'card_idx' is set to the wrong value or what the cause of
the "Tx Ring full" error might be?