Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2000 23:37:30 +0900
From:      SGU03026@nifty.ne.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   i386/19365: lnc1 is not worked with Am79C973
Message-ID:  <20000618233730B.sgu03026@nifty.ne.jp>

next in thread | raw e-mail | index | archive | help

>Number:         19365
>Category:       i386
>Synopsis:       lnc1 is not worked with Am79C973
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 18 07:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Koichi Soraku
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
NIFTY-SERVE Japan
>Environment:

FreeBSD creunoc.magi.nifty.ne.jp.invalid 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Wed Jun 14 18:37:10 JST 2000     root@creunoc.magi.nifty.ne.jp.invalid:/usr/src/sys/compile/CREUNOC  i386

>Description:

	lnc1 is not worked with HITACHI FLORA270SX's internal NIC.
	That use Am79C973 chip. But if_lnc.c and if_lnc.h are not
	supported it's chip-ID.

>How-To-Repeat:

	Setup FreeBSD 3.3-RELEASE i386 on FLORA270SX.

>Fix:

To support Am79C973's chip-ID.

#Patch for if_lnc.c	
---->start---->start---->start---->staet----->
*** /sys/i386/isa/if_lnc.c.org	Mon Aug 30 01:07:22 1999
--- /sys/i386/isa/if_lnc.c	Wed Jun 14 18:32:12 2000
***************
*** 151,156 ****
--- 151,157 ----
  	"PCnet-PCI II",
  	"PCnet-FAST",
  	"PCnet-FAST+",
+ 	"PCnet-FAST III",
  };
  
  static void lnc_setladrf __P((struct lnc_softc *sc));
***************
*** 1192,1197 ****
--- 1193,1200 ----
  				return (PCnet_FAST);
  			case Am79C972:
  				return (PCnet_FASTplus);
+ 			case Am79C973:
+ 				return (PCnet_FAST_III);
  			default:
  				break;
  			}
<---- END <---- END <---- END <---- END <----

#Patch for if_lnc.h
---->start---->start---->start---->staet----->
*** /sys/i386/isa/if_lnc.h.org	Mon Aug 30 01:07:23 1999
--- /sys/i386/isa/if_lnc.h	Wed Jun 14 18:33:19 2000
***************
*** 107,112 ****
--- 107,113 ----
  #define PCnet_PCI_II    8        /* Am79C970A */
  #define PCnet_FAST      9        /* Am79C971 */
  #define PCnet_FASTplus  10       /* Am79C972 */
+ #define PCnet_FAST_III  11       /* Am79C973, Am79C975 */
  
  /* CSR88-89: Chip ID masks */
  #define AMD_MASK  0x003
***************
*** 119,124 ****
--- 120,127 ----
  #define Am79C970A 0x2621
  #define Am79C971  0x2623
  #define Am79C972  0x2624
+ #define Am79C973  0x2625
+ #define Am79C975  0x2627
  
  /* Board types */
  #define UNKNOWN         0
<---- END <---- END <---- END <---- END <----

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000618233730B.sgu03026>