From nobody  Fri Jul 10 10:37:30 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id KAA11880;
          Fri, 10 Jul 1998 10:37:30 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199807101737.KAA11880@hub.freebsd.org>
Date: Fri, 10 Jul 1998 10:37:30 -0700 (PDT)
From: srosenthal@northernlight.com
To: freebsd-gnats-submit@freebsd.org
Subject: 3Com 3C905 ethernet card cannot be probed
X-Send-Pr-Version: www-1.0

>Number:         7235
>Category:       i386
>Synopsis:       3Com 3C905 ethernet card cannot be probed
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 10 10:40:00 PDT 1998
>Closed-Date:    Sun Aug 16 12:24:38 PDT 1998
>Last-Modified:  Sun Aug 16 12:27:29 PDT 1998
>Originator:     Simon Rosenthal
>Release:        2.2.6
>Organization:
Northern Light Technology
>Environment:
FreeBSD beryl.nimbus.northernlight.com 2.2.6-RELEASE 
FreeBSD 2.2.6-RELEASE #0: Fri Jul 10 12:32:25 EDT 1998     
root@beryl.nimbus.northernlight.com:/usr/src/sys/compile/BERYL  i386
>Description:
We have a very new 3Com Fast Etherlink XL 3C905B-TX card. (PCI). The probe 
by the vx driver was not seeing it. The console log showed that this model had
a device ID which was not being recognized by the probe function in if_vx.pci.c

I modified /sys/pci/if_vx.c to recognize the device id the cards was sending 
back; however, when the card was configured using ifconfig, the system
would hang with a 
"Out of mbuf clusters - increase maxusers! "message. This still persisted when
maxusers was increased to 64.

The card was plugged into a 100mB hub.

>How-To-Repeat:

>Fix:
We're working around it by using an older 3COM PCI card. I'd appreciate being
notified of any fixes to the driver, though.

Modified sys/pci/if_vx_pci.c to check for the new device id.

diffs:

85c85
<    if(device_id == 0x905510b7ul || device_id == 0x905010b7ul || device_id == 0x905110b7ul)
---
>    if(device_id == 0x905010b7ul || device_id == 0x905110b7ul)

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wpaul 
State-Changed-When: Sun Aug 16 12:24:38 PDT 1998 
State-Changed-Why:  

The 3Com Ethelink XL adapters, including the 3c905B, are now supported 
using the XL (if_xl) driver which has just been imported to -current. 
You can obtain driver source for FreeBSD 3.0 and 2.2.x along with 
instructions on how to make a new kernel image with the XL driver at 
http://www.freebsd.org/~wpaul/3Com. 

-Bill 
>Unformatted:
