Subject: kern/9028: 3Com 3c980 Server Adapter doesn't work
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/19/1999 10:46:03
>Number:         9028
>Category:       kern
>Synopsis:       3Com 3c980 Server Adpater card fails to work after ifconfig is done
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 19 10:45:01 1999
>Originator:     Michael L. Hitch
	Montana State University
>Release:        <NetBSD-current source date> December 4, 1999
System: NetBSD 1.4P NetBSD 1.4P (PC164) #991204-7: Sat Dec 18 10:47:03 MST 1999 alpha

	The 3Com 3c980 Server Adapter card will initialize with with the link status
	indicator and auto-detected speed indicator when the system boots.  As soon
	as an ifconfig is done to configure the IP address of the interface, the
	link status light goes out, and the interface doesn't work.
	Install a 3Com 3c980 Server Adapter card, connect it to a good network, boot
	NetBSD, and try to configure the IP address on that adapter.
	I don't know enough about the PHY and MII stuff in the Ethernet drivers,
	and don't have any documentation on the 3c980 board, so I do not know
	the correct solution to this problem.

	The following patch will allow the card to be configured and be used, but
	I don't think it addresses any issues regarding the media selection options
	(i.e. the board is making a 100Mbit connection to my dual-speed hub, but
	the media information from ifconfig says 10Mbit).

*** sys/dev/pci/if_ex_pci.c.orig	Fri Sep  3 05:28:01 1999
--- sys/dev/pci/if_ex_pci.c	Thu Nov 18 21:19:09 1999
*** 135,141 ****
--- 135,145 ----
  	  "3c905B-FX 10/100 Ethernet" },
  	/* XXX Internal PHY? */
+ #if 0
+ #else
+ #endif
  	  "3c980 Server Adapter 10/100 Ethernet" },
  	  "3c905C-TX 10/100 Ethernet with mngmt" },