From owner-freebsd-current@FreeBSD.ORG Sun May 18 11:39:29 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5465437B401; Sun, 18 May 2003 11:39:29 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDEB443FA3; Sun, 18 May 2003 11:39:25 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h4IIdAEd026348 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 May 2003 21:39:11 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h4IIdAeD026343; Sun, 18 May 2003 21:39:10 +0300 (EEST) (envelope-from ru) Date: Sun, 18 May 2003 21:39:10 +0300 From: Ruslan Ermilov To: Scott Long Message-ID: <20030518183910.GA25981@sunbay.com> References: <20030518083130.GD24393@sunbay.com> <3EC7B8B6.5090208@btc.adaptec.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: <3EC7B8B6.5090208@btc.adaptec.com> User-Agent: Mutt/1.5.4i cc: re@FreeBSD.org cc: current@FreeBSD.org Subject: Re: Tidying src/release/*/{dokern.sh,drivers.conf} X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 18:39:29 -0000 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 18, 2003 at 10:45:42AM -0600, Scott Long wrote: > Ruslan Ermilov wrote: > >Perhaps somebody will find this script useful too. > >It finds missing GENERIC entries and cross-checks > >dokern.sh and drivers.conf for redundant entries. > > > >It edits out the "SMALL" part of pc98/dokern.sh > >so as to not give false matches. > > > >It should be run with cwd=3D/usr/src/release. > > > >The patch that it "generates" is also attached. > > >=20 > Is this an approval request? >=20 Yes, why not. > See below... >=20 > > > >Cheers, > > > > > >------------------------------------------------------------------------ > >[...] > >------------------------------------------------------------------------ > > > >Index: release/alpha/dokern.sh > >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >RCS file: /home/ncvs/src/release/alpha/dokern.sh,v > >retrieving revision 1.72 > >diff -u -r1.72 dokern.sh > >--- release/alpha/dokern.sh 18 May 2003 03:52:22 -0000 1.72 > >+++ release/alpha/dokern.sh 18 May 2003 08:26:42 -0000 > >@@ -23,7 +23,6 @@ > > -e '/DDB/d' \ > > -e '/INVARIANTS/d' \ > > -e '/INVARIANT_SUPPORT/d' \ > >- -e '/WITNESS/d' \ > > -e '/SMP/d' \ > > -e '/ atapifd /d' \ > > -e '/ atapist /d' \ > >@@ -52,7 +51,6 @@ > > -e '/ umass /d' \ > > -e '/ ums /d' \ > > -e '/ aue /d' \ > >- -e '/ axe /d' \ > > -e '/ cue /d' \ > > -e '/ kue /d' \ > > -e '/ firewire /d' \ > >Index: release/pc98/dokern.sh > >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >RCS file: /home/ncvs/src/release/pc98/dokern.sh,v > >retrieving revision 1.76 > >diff -u -r1.76 dokern.sh > >--- release/pc98/dokern.sh 18 May 2003 03:52:22 -0000 1.76 > >+++ release/pc98/dokern.sh 18 May 2003 08:27:24 -0000 > >@@ -33,8 +33,6 @@ > > -e '/ pass /d' \ > > -e '/ ses /d' \ > > -e '/ splash /d' \ > >- -e '/ apm$/d' \ > >- -e '/ pmtimer$/d' \ > > -e '/ ppc$/d' \ > > -e '/ ppbus /d' \ > > -e '/ lpt /d' \ > >@@ -98,8 +96,6 @@ > > -e '/ pass /d' \ > > -e '/ ses /d' \ > > -e '/ splash /d' \ > >- -e '/ apm$/d' \ > >- -e '/ pmtimer$/d' \ > > -e '/ ppc$/d' \ > > -e '/ ppbus /d' \ > > -e '/ lpt /d' \ >=20 > Can you explain why you are prososing to add these devices back to > te BOOTMFS kernel? I assume that they were trimmed for a reason. >=20 This does NOT add any devices back, this just removes redundant lines from here: $ egrep -w 'apm|pmtimer' /sys/pc98/conf/GENERIC #device apm #device pmtimer > >Index: sys/alpha/conf/GENERIC > >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >RCS file: /home/ncvs/src/sys/alpha/conf/GENERIC,v > >retrieving revision 1.159 > >diff -u -r1.159 GENERIC > >--- sys/alpha/conf/GENERIC 21 Apr 2003 16:44:04 -0000 1.159 > >+++ sys/alpha/conf/GENERIC 18 May 2003 08:26:10 -0000 > >@@ -95,6 +95,7 @@ > > # SCSI Controllers > > device ahc # AHA2940 and onboard AIC7xxx devices > > device isp # Qlogic family > >+device ispfw # Firmware module for Qlogic host=20 > >adapters > > device mpt # LSI-Logic MPT-Fusion > > #device ncr # NCR/Symbios Logic > > device sym # NCR/Symbios Logic (newer chipsets=20 > > + those of `ncr') > >Index: sys/i386/conf/GENERIC > >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >RCS file: /home/ncvs/src/sys/i386/conf/GENERIC,v > >retrieving revision 1.383 > >diff -u -r1.383 GENERIC > >--- sys/i386/conf/GENERIC 11 May 2003 06:39:05 -0000 1.383 > >+++ sys/i386/conf/GENERIC 18 May 2003 08:26:00 -0000 > >@@ -192,7 +192,9 @@ > > device rl # RealTek 8129/8139 > > device sf # Adaptec AIC-6915 (``Starfire'') > > device sis # Silicon Integrated Systems SiS=20 > > 900/SiS 7016 > >+device sk # SysKonnect SK-984x and SK-982x=20 > >gigabit ethernet > > device ste # Sundance ST201 (D-Link DFE-550TX) > >+device ti # Alteon Networks Tigon I/II gigabit=20 > >ethernet > > device tl # Texas Instruments ThunderLAN > > device tx # SMC EtherPower II (83c170 ``EPIC'') > > device vr # VIA Rhine, Rhine II >=20 > Adding these three device lines is probably ok. I spoke with Ken about > if_ti and he confirmed that there is no reason why it can't go into > GENERIC. --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+x9NOUkv4P6juNwoRAmuSAJ9HrJYTxfapeRrAFPtZ/7pQabhwEACfUNOr Wm7PpXtvTnTmtw3xo/QcCvg= =pKuK -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z--