Subject: Re: kern/34085: "scsibus* at umass?" missing for GENERIC kernel
To: None <cube@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Quentin Garnier <cube@cubidou.net>
List: netbsd-bugs
Date: 07/26/2006 06:50:02
The following reply was made to PR kern/34085; it has been noted by GNATS.
From: Quentin Garnier <cube@cubidou.net>
To: gnats-bugs@NetBSD.org
Cc: christianbiere@gmx.de
Subject: Re: kern/34085: "scsibus* at umass?" missing for GENERIC kernel
Date: Wed, 26 Jul 2006 08:39:05 +0200
--iQ8Co4IqQeXLS+x9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Tue, Jul 25, 2006 at 11:05:00PM +0000, christianbiere@gmx.de wrote:
> >Number: 34085
> >Category: kern
> >Synopsis: "scsibus* at umass?" missing for GENERIC kernel
> >Confidential: no
> >Severity: non-critical
> >Priority: low
> >Responsible: kern-bug-people
> >State: open
> >Class: change-request
> >Submitter-Id: net
> >Arrival-Date: Tue Jul 25 23:05:00 +0000 2006
> >Originator: Christian Biere
> >Release: NetBSD 3.99.20
> >Organization:
> >Environment:
> NetBSD cyclonus 3.99.20 NetBSD 3.99.20 (STARSCREAM) #0: Tue Jul 25 20:54:=
43 CEST 2006 bin@cyclonus:/o/NetBSD/obj/sys/arch/i386/compile/STARSCREAM i=
386
> >Description:
> The following line is missing in the GENERIC kernel for several platforms:
>=20
> scsibus* at umass? channel ?
No, it's not missing.
It's not that you can't have it; you very well can, and the alpha
config proves it. My point is that if you have "scsibus* at scsi?", you
don't need it.
That's the thing: if "scsibus* at scsi?" appears before the instance
attaching at umass, the latter will never even be considered by
autoconf(9) because the two are semantically equivalent for an
attachment at umass. So if you have the two lines, you're actually
wasting the few bytes of a cfdata structure.
> I have an external harddisk (using USB) which requires this configuration.
> This is documented in scsibus(4) and the GENERIC kernel for e.g., alpha
> includes it. If there are no reasons to exclude this line, it should be
> added to the GENERIC kernel for all platforms or at least i386. If
> kernel size is the reason, it would be nice to have it at least
> commented out there because it might not be as easy to find the necessary
> option otherwise.
I'll remove that line where it can only brings confusion, such as the
alpha configuration file.
I'll probably fix scsibus.4, too, although it's interesting to have a
list somewhere of the devices that expose the scsi attribute, so it does
make sense to have it that way.
--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
--iQ8Co4IqQeXLS+x9
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
iQEVAwUBRMcOCdgoQloHrPnoAQJq2Qf9GQYVIwe3EqCLBYv+HwCbvYFlUPiQXQC/
O/RP8cKN8kWGR7pUDLANjM6/0lZBtShnTUXtlAZ3ex1JuDqzPP3NJXfhghGfOkjh
cSws6ywj4Jxbe3ITQLDOU5Y+7mGZtmeT84VMm1y0eAOHpxxSmnRM+7quq86LGfgV
tsyhk0t4NaqcVPCaFVXVa+yJGCImR4VSvDvzGjIZl0ddonDk+iZZr/Sg/lzx/af/
zJe0/q73/EqCusRE/HWrqpKkwpsEaX4QShz8ioqpV6XvXmk+sXc42Ij09ggKKAtm
RZ64gk8Yv6Ue9AA09OUSEqRBPMsqxnx0NhXa27Y2p5m/ZFoKYDZpsg==
=tG4O
-----END PGP SIGNATURE-----
--iQ8Co4IqQeXLS+x9--