Subject: Re: patch for bge driver with 5751M chip
To: Quentin Garnier <cube@cubidou.net>
From: elmar <elmar@engel-kg.com>
List: tech-kern
Date: 06/15/2005 16:51:32
--vkogqOf2sHV7VnPd
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

On Wed, Jun 15, 2005 at 03:19:37PM +0200, Quentin Garnier wrote:
> On Wed, Jun 15, 2005 at 03:03:05PM +0200, Kurt Schreiner wrote:
> > On Tue, Jun 14, 2005 at 06:54:20PM +0200, elmar wrote:
> > > hi all,
> > > 
> > > I found my NIC was not supported on my laptop (HP Compaq nx8220) but I
> > > could make it work with the applied patch (which only adds some IDs).
> > > 
> > > it has been tested under -currennt (3.99.3 and 3.99.6).
> > > 
> > > would someone else like to test (and commit) it?
> > Same here w/ a new IBM T43p. I did virtually the same here to get
> > things going. Can someone commit the patch from elmar or is
> > send-pr'ing neccessary?
> 
> I'd like to see the relevant dmesg(1) output first.

I attached the corresponding snippets from  dmesg  and  scanpci -v.
although there is still the word 'unknown' in dmesg's output, the interface
works just fine.
HTH.

greetings
-- 

Mit freundlichen Grüßen,

    Elmar Gerdes

======================================================================
Engel Technologieberatung                       Güterfelder Damm 69-71
Entwicklung/Verkauf von                         D-14532 Stahnsdorf
Soft- und Hardware KG     elmar@engel-kg.com      Tel +49-3329-615 000
HRA 2004 AG Potsdam     http://www.engel-kg.com   Fax +49-3329-612 050

--vkogqOf2sHV7VnPd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.log"

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.99.6 (hpnb202f) #2: Tue Jun 14 15:50:56 CEST 2005
	r@hpnb20.engel-kg.com:/ekg/Nb-current/src/sys/arch/i386/compile/obj/hpnb202f
total memory = 1023 MB
avail memory = 999 MB
BIOS32 rev. 0 found at 0xf0000
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium M (Dothan) (686-class), 1995.15 MHz, id 0x6d8
	:
	:
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
	:
	:
ppb1 at pci0 dev 28 function 0: Intel 82801FB/FR PCI Express Port #0 (rev. 0x03)
pci2 at ppb1 bus 16
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
bge0 at pci2 dev 0 function 0: Broadcom BCM5751M Gigabit Ethernet
bge0: interrupting at irq 10
bge0: ASIC unknown BCM5750 (0x4101), Ethernet address 00:12:79:c4:24:67
brgphy0 at bge0 phy 1: BCM5750 1000BASE-T media interface, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb2 at pci0 dev 28 function 1: Intel 82801FB/FR PCI Express Port #1 (rev. 0x03)
	:
	:

--vkogqOf2sHV7VnPd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="scanpci-v.log"


(partial) output of   scanpci -v

pci bus 0x0010 cardnum 0x00 function 0x00: vendor 0x14e4 device 0x167d
 Broadcom Corporation  Device unknown
 CardVendor 0x103c card 0x0934 (Card unknown)
  STATUS    0x0010  COMMAND 0x0006
  CLASS     0x02 0x00 0x00  REVISION 0x11
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x10
  BASE0     0x00000000c8000004  addr 0x00000000c8000000  MEM 64BIT
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x0a


--vkogqOf2sHV7VnPd--