http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html

Julian Highfield J.C.Highfield@lboro.ac.uk
Mon Aug 10 10:55:41 1998


Maybe this time it'll go out with the diff in the message!

> When I use an adaptec 21143 based card (ANA-6911A/TX), It does not work at
> all and the driver prints the following messages at load time:
> (I'm using the v0.89H version of the tulip driver under linux)
> eth0:
> eth0:  EEPROM default media type Autosense.
> eth0:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
> eth0: ***WARNING***: No MII transceiver found!
 
I am using a patched version of 0.89H with our ANA-6911A-TX Combo cards. 
Try applying this diff (excuse the line wrapping!):
 
31c31
< static int options[MAX_UNITS] = {11, };                       /*** JCH. 
Force to MII. ***/
---
> static int options[MAX_UNITS] = {0, };
65,66c65
< /*#define TX_TIMEOUT  (4*HZ) *** JCH ***/
< #define TX_TIMEOUT  (HZ)
---
> #define TX_TIMEOUT  (4*HZ)
309d307
<   /*** JCH. Changed from t21142_timer - gets wrong media. Mailing list. ***/
312c310
<       HAS_MII | HAS_MEDIA_TABLE, tulip_timer },
---
>       HAS_MII | HAS_MEDIA_TABLE, t21142_timer },
773,776d770
< 
<               /*** JCH. Ensure unused bits of CSR15 are turned off. (Mailing 
list.) ***/
<               outl(inl(ioaddr+CSR15) & ~(0x800037c0),ioaddr+CSR15); 
< 
1893,1894c1887
<                       /***dev->if_port = 11 *** JCH***/;
<                       select_media (dev, 1);
---
>                       dev->if_port = 0;
2015d2007
< printk (KERN_INFO "Tx timed out\n");
2325,2326d2316
<                               /*** JCH *** Renegotiate the media. ***/
<                               /*select_media (dev, 1);*/
2328,2333d2317
<                               /*** JCH *** Wake up the transmitter? ***/
<                               /*** Page 4-35 of the 21143 HRM. ***/
<                               outl(0, ioaddr + CSR1);
<                               /*** JCH *** Ensure we get another attempt. 
***/
<                               /*tp->timer.expires = RUN_AT(30*HZ);*/
<                               /*add_timer(&tp->timer);*/

 
 
Regards,
        Julian.