[Prev][Next][Index][Thread]

Re: ethernet driver problem



> eth0: Intel EtherExpress Pro 10/100 at 0xff40, 00:A0:C9:06:BB:57, IRQ 11.
>   Board assembly 645520-034, Physical connectors present: RJ45
>   Primary interface chip DP83840 PHY #1.
>   DP83840 specific setup, setting register 23 to 8462.
>   General self-test: passed.
> <7>  Serial sub-system self-test: passed.
> <7>  Internal registers self-test: passed.
> <7>  ROM checksum self-test: passed (0x49caa8d6).
>   Receiver lock-up workaround activated.

This is a message from the eepro100 device driver.  
That is what I was looking for.  

You need to hard-code the media selection, the autodetection doesn't work.
I think this may be true for all the oskit linux ethernet drivers.

I use this change to linux/src/drivers/net/eepro100.c for
my 100Mbs full-duplex connection.  

--- eepro100.c	1998/04/16 18:28:12	1.2
+++ eepro100.c	1999/07/17 05:01:37
@@ -469,7 +469,7 @@ static void set_rx_mode(struct device *d
 /* 'options' is used to pass a transceiver override or full-duplex flag
    e.g. "options=16" for FD, "options=32" for 100mbps-only. */
 static int full_duplex[] = {-1, -1, -1, -1, -1, -1, -1, -1};
-static int options[] = {-1, -1, -1, -1, -1, -1, -1, -1};
+static int options[] = {16|32, -1, -1, -1, -1, -1, -1, -1};
 #ifdef MODULE
 static int debug = -1;			/* The debug level */
 #endif

Follow-Ups: References: