From Andre.Albsmeier@mchp.siemens.de  Fri Oct 24 00:51:18 1997
Received: from david.siemens.de (david.siemens.de [139.23.36.11])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA00943
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Oct 1997 00:51:17 -0700 (PDT)
          (envelope-from Andre.Albsmeier@mchp.siemens.de)
Received: from salomon.mchp.siemens.de (mail.siemens.de [139.23.33.13])
	by david.siemens.de (8.8.7/8.8.7) with ESMTP id JAA08790
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Oct 1997 09:46:52 +0200 (MET DST)
Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23])
	by salomon.mchp.siemens.de (8.8.7/8.8.5) with ESMTP id JAA15549
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Oct 1997 09:51:08 +0200 (MDT)
Received: (from daemon@localhost)
	by curry.mchp.siemens.de (8.8.7/8.8.7) id JAA15570
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Oct 1997 09:51:08 +0200 (MET DST)
Message-Id: <199710240751.JAA02873@curry.mchp.siemens.de>
Date: Fri, 24 Oct 1997 09:51:05 +0200 (CEST)
From: Andre Albsmeier <Andre.Albsmeier@mchp.siemens.de>
To: FreeBSD-gnats-submit@freebsd.org
Subject: de driver still broken in 2.2.5
X-Send-Pr-Version: 3.2

>Number:         4841
>Category:       kern
>Synopsis:       de driver still broken in 2.2.5
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    peter
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 24 01:00:00 PDT 1997
>Closed-Date:    Mon Apr 27 02:45:09 PDT 1998
>Last-Modified:  Mon Apr 27 02:45:53 PDT 1998
>Originator:     Andre Albsmeier
>Release:        FreeBSD 2.2.5-RELEASE i386
>Organization:
>Environment:

        2.2.5-RELEASE, SMC 8434BT

        de0 <Digital 21040 Ethernet> rev 36 int a irq 9 on pci1:4
        de0: SMC 8434BT-CH1 21040 [10Mb/s] pass 2.4
        [...]
        de1 <Digital 21040 Ethernet> rev 36 int a irq 15 on pci1:5
        de1: SMC 8434BT-CH2 21040 [10Mb/s] pass 2.4
        [...]

>Description:

        The de driver importet from current does not work with a SMC 8434BT
        using the BNC port(s). This was testet on 2 different machines with
        two different SMC 8434BT NICs. The card is detected but now packets
        go in or out. Peter Wemm suspects the problem in the media detection;
        however, I tried all combinations of "ifconfig de0 ... media ..." but
        to no avail.

        Trying with -current also didn't result in any success.

        A Digital 21041 Ethernet works fine as always.

        I am now back on if_de.c 1.54.2.6 which works very well.
	

>How-To-Repeat:

        Install 2.2.5-RELEASE or -current with de enabled.
        Install a SMC 8434BT using the BNC port(s).
        ifconfig de0 ... media ...
        ping outside
        
>Fix:
	
        Use version 1.54.2.6 :-(
>Release-Note:
>Audit-Trail:

From: Andre Albsmeier <andre@akademie3000.de>
To: freebsd-gnats-submit@freebsd.org
Cc:  Subject: Re: kern/4841 de driver still broken in 2.2.5
Date: Sun, 22 Mar 1998 23:44:00 +0100 (CET)

 > Greetings, :)
 > 
 > 	I am writing to you in regards to your FreeBSD Problem
 > Report. The FreeBSD project is currently conducting a beta test on
 > version 2.2.6 and feedback as to whether you are still experiencing
 > your problem would be very valuable. 
 > 
 > 	If you are still experiencing the problem you reported, it
 > would help the project track the problem if you could upgrade to the
 > latest snapshot of 2.2.6-Beta (located at releng22.freebsd.org) and
 > test your problem again. 
 > 
 > 	If you have any feedback regarding this Problem Report,
 > whether you are still experiencing the problem or whether the PR can
 > be closed, please mail your response to
 > freebsd-gnats-submit@freebsd.org. Please do not respond directly to
 > me. I am merely a humble volunteer and have no official connection to
 > the FreeBSD project. Therefore I cannot make any changes to the status
 > of your Problem Report. It is also very important that you include 
 > the category and number of your Problem Report (kern/4841)
 > in the subject line of your response.
 
 Hi,
 
 I am currently sitting in the Dominican Republic and will return
 to my FreeBSD machines on Wednesday. Therefore I cannot make
 any statements about the porblem of the de-driver until thursday
 or friday. But I think the problem is still not solved, since
 it wasn't about 2 weeks ago. I will be glad to help as much
 as I can since I have a great interes to get this thing working.
 
 When I get home I will immediately upgrade to the latetst
 version (as I do always on my test nmachine) .
 
 Pleas tell me how to do any help concerning  this thing.
 
 	-Andre

From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To: freebsd-gnats-submit@freebsd.org
Cc:  Subject: Re: kern/4841: de driver still broken in 2.2.5
Date: Wed, 1 Apr 1998 18:37:50 +0200 (CEST)

 The patch below brings back the BNC functionality for the SMC 8432
 dual channel NIC. I noticed that csr_sia_connectivity was initalized
 with 0x0000EF09 in the old driver while it was 0x00008F09 in the new
 driver. It is a small change but it took me nearly one day to find
 it :-).
 However, I don't know what else it breaks, since I don't have
 other 21040 based cards (only 21041).
 
 Maybe Matt will review this before it goes into -stable, I will
 drop him a note.
 
 I think this also affects kern/5590 :-)
 
 
 *** dc21040reg.h.ORI	Wed Apr  1 17:59:58 1998
 --- dc21040reg.h	Wed Apr  1 17:59:58 1998
 ***************
 *** 212,226 ****
   #define	TULIP_21040_PROBE_AUIBNC_TIMEOUT	300
   #define	TULIP_21040_PROBE_EXTSIA_TIMEOUT	300
   
 ! #define	TULIP_21040_SIACONN_10BASET	0x00008F01L
   #define	TULIP_21040_SIATXRX_10BASET	0x0000FFFFL
   #define	TULIP_21040_SIAGEN_10BASET	0x00000000L
   
 ! #define	TULIP_21040_SIACONN_10BASET_FD	0x00008F01L
   #define	TULIP_21040_SIATXRX_10BASET_FD	0x0000FFFDL
   #define	TULIP_21040_SIAGEN_10BASET_FD	0x00000000L
   
 ! #define	TULIP_21040_SIACONN_AUIBNC	0x00008F09L
   #define	TULIP_21040_SIATXRX_AUIBNC	0x00000705L
   #define	TULIP_21040_SIAGEN_AUIBNC	0x00000006L
   
 --- 212,226 ----
   #define	TULIP_21040_PROBE_AUIBNC_TIMEOUT	300
   #define	TULIP_21040_PROBE_EXTSIA_TIMEOUT	300
   
 ! #define	TULIP_21040_SIACONN_10BASET	0x0000EF01L
   #define	TULIP_21040_SIATXRX_10BASET	0x0000FFFFL
   #define	TULIP_21040_SIAGEN_10BASET	0x00000000L
   
 ! #define	TULIP_21040_SIACONN_10BASET_FD	0x0000EF01L
   #define	TULIP_21040_SIATXRX_10BASET_FD	0x0000FFFDL
   #define	TULIP_21040_SIAGEN_10BASET_FD	0x00000000L
   
 ! #define	TULIP_21040_SIACONN_AUIBNC	0x0000EF09L
   #define	TULIP_21040_SIATXRX_AUIBNC	0x00000705L
   #define	TULIP_21040_SIAGEN_AUIBNC	0x00000006L
Responsible-Changed-From-To: freebsd-bugs->peter 
Responsible-Changed-By: phk 
Responsible-Changed-When: Sun Apr 26 23:48:08 PDT 1998 
Responsible-Changed-Why:  
->peter 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Mon Apr 27 02:45:09 PDT 1998 
State-Changed-Why:  
See kern/6422 for a patch to fix this. 
>Unformatted:
