NetBSD Problem Report #8594

Received: (qmail 28715 invoked from network); 10 Oct 1999 00:25:57 -0000
Message-Id: <199910100025.TAA14392@mail.elfin.net>
Date: Sat, 9 Oct 1999 19:25:24 -0500 (CDT)
From: roskens@elfin.net
Reply-To: roskens@elfin.net
To: gnats-bugs@gnats.netbsd.org
Subject: ep driver does not support 3Com 3c574B PCMCIA card
X-Send-Pr-Version: 3.95

>Number:         8594
>Category:       kern
>Synopsis:       ep driver does not support 3Com 3c574B
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 09 17:27:00 +0000 1999
>Closed-Date:    Wed Jan 26 08:20:21 +0000 2000
>Last-Modified:  Wed Jan 26 08:20:44 +0000 2000
>Originator:     Ron Roskens
>Release:        NetBSD-current 10/09/1999
>Organization:
>Environment:

System: NetBSD laptop 1.4K NetBSD 1.4K (POS) #0: Sat Oct  9 14:50:09 EDT 1999 root@laptop:/usr/src/sys/arch/i386/compile/POS i386
Toshiba 330CDS laptop with a 3Com 3c574B network card.


>Description:
	/*	$NetBSD: elink3.c,v 1.58 1999/05/18 23:52:55 thorpej Exp $      */
	/*	$NetBSD: elink3reg.h,v 1.20 1999/04/28 22:47:44 jonathan Exp $  */
	/*	$NetBSD: elink3var.h,v 1.21 1998/11/18 18:34:52 thorpej Exp $   */

	The current ep driver does not support all 3c574 network cards. My card
	is probed:

pcmcia0 at pcic0 controller 0 socket 0
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: 3Com, Megahertz 574B, B, 001
pcmcia0: Manufacturer code 0x101, product 0x574
pcmcia0: function 0: network adapter, ccr addr 10000 mask 3
pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 5, iospace 0-1f ; rdybsy_active wp_active bvd_active io8 io16 irqlevel
ep0 at pcmcia0 function 0 port 0x340-0x35f: 3Com 3c574-TX 10/100Mbps Ethernet
ep0: address 02:01:02:01:02:01, 64KB word-wide FIFO, 1:1 Rx:Tx split

	The current driver uses a hardcoded eeprom location (READ_EEPROM in elink3reg.h)
	This value is incorrect for this card and should be set to 0x200 not 0x80 (1<<7).
	Changing the value in elink3reg.h, the driver correctly probed the card for
	the mac address.

	But even this did not make the card function to use. When you ifconfig the card,
	the kernel goes into a spin loop printing out ep0: adapter failure (0x????).

>How-To-Repeat:
	build a kernel with support for the pcmcia ep driver and boot a laptop up with
	this network card.
>Fix:
	unknown.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: thorpej 
State-Changed-When: Wed Jan 26 00:20:21 PST 2000 
State-Changed-Why:  
3c574 confirmed working (by me). 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.