From sanpei@sanpei.org  Mon May  1 05:45:18 2000
Return-Path: <sanpei@sanpei.org>
Received: from oxygen.yy.ics.keio.ac.jp (oxygen.yy.ics.keio.ac.jp [131.113.47.3])
	by hub.freebsd.org (Postfix) with ESMTP
	id 884D037BBA2; Mon,  1 May 2000 05:45:15 -0700 (PDT)
	(envelope-from sanpei@sanpei.org)
Received: from lavender.yy.cs.keio.ac.jp (ppp135.dialup.st.keio.ac.jp [131.113.27.135])
	by oxygen.yy.ics.keio.ac.jp (8.9.3+3.2W/3.7W) with ESMTP id VAA07296;
	Mon, 1 May 2000 21:45:09 +0900 (JST)
	(envelope-from sanpei@sanpei.org)
Received: (from sanpei@localhost)
	by lavender.yy.cs.keio.ac.jp (8.9.3/3.7W) id UAA02434;
	Mon, 1 May 2000 20:49:42 +0900 (JST)
Message-Id: <200005011149.UAA02434@lavender.yy.cs.keio.ac.jp>
Date: Mon, 1 May 2000 20:49:42 +0900 (JST)
From: sanpei@sanpei.org
Reply-To: sanpei@sanpei.org
To: FreeBSD-gnats-submit@freebsd.org
Cc: imp@FreeBSD.org
Subject: [Patch] patch for kernel config file about sn/cs Ethernet Driver
X-Send-Pr-Version: 3.2

>Number:         18323
>Category:       i386
>Synopsis:       [Patch] patch for kernel config file about sn/cs Ethernet Driver
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May  1 05:50:00 PDT 2000
>Closed-Date:    Tue May 2 18:50:10 MDT 2000
>Last-Modified:  Tue May  2 18:50:31 MDT 2000
>Originator:     MIHIRA Yoshiro
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Yokohama, Japan.
>Environment:


>Description:

    sn driver for SMC's 9000 series of Ethernet adapters(sys/dev/sn)
and cs driver for Crystal Semiconductor CS8900 and CS8920(sys/dev/cs)
were already Newbusify on Dec 22 by Warner-san, I think.

sn driver
http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/dev/sn/if_sn.c
Rev.1.4
cs driver
http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/dev/cs/if_cs.c
Rev.1.15

  But in sys/i386/conf/GENERIC file, these device are still listed in
``The probe order of these is presently determined by i386/isa/isa_compat.c.''

  I think, it need to move correct place. 

>How-To-Repeat:


>Fix:

--- sys/i386/conf/GENERIC.org	Mon May  1 20:46:43 2000
+++ sys/i386/conf/GENERIC	Mon May  1 20:46:58 2000
@@ -180,6 +180,8 @@
 device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
 device		ex
 device		ep
+device		sn0	at isa? port 0x300 irq 10
+device		cs0	at isa? port 0x300
 # WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
 # exists only as a PCMCIA device, so there is no ISA attatement needed
 # and resources will always be dynamically assigned by the pccard code.
@@ -197,8 +199,6 @@
 device		fe0	at isa? port 0x300
 device		le0	at isa? port 0x300 irq 5 iomem 0xd0000
 device		lnc0	at isa? port 0x280 irq 10 drq 0
-device		cs0	at isa? port 0x300
-device		sn0	at isa? port 0x300 irq 10
 # Disabled because it is currently broken.
 #device		xe
 

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Tue May 2 18:50:10 MDT 2000 
State-Changed-Why:  
Fixed. 
>Unformatted:
