NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/38280: config(1) should emit devsw.h for devsw declarations in devsw.c



The following reply was made to PR toolchain/38280; it has been noted by GNATS.

From: Quentin Garnier <cube%cubidou.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: toolchain/38280: config(1) should emit devsw.h for devsw 
declarations in devsw.c
Date: Sat, 22 Mar 2008 22:49:04 +0100

 --J/F6JaM/TgkXbavH
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sat, Mar 22, 2008 at 08:30:01PM +0000, tsutsui%ceres.dti.ne.jp@localhost 
wrote:
 > >Number:         38280
 > >Category:       toolchain
 > >Synopsis:       config(1) should emit devsw.h for devsw declarations in =
 devsw.c
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    toolchain-manager
 > >State:          open
 > >Class:          change-request
 > >Submitter-Id:   net
 > >Arrival-Date:   Sat Mar 22 20:30:00 +0000 2008
 > >Originator:     Izumi Tsutsui
 > >Release:        NetBSD 4.99.55
 > >Organization:
 > >Environment:
 > Machine independent
 > >Description:
 > Currently many sources and drivers have declarations like
 > "extern const struct cdevsw foo_cdevsw;"
 
 Wouldn't it be better to fix drivers to use devsw_name2chr() and
 devsw_name2blk()?  Directly referencing something like that gives me
 an ewww feeling.
 
 --=20
 Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
 "See the look on my face from staying too long in one place
 [...] every time the morning breaks I know I'm closer to falling"
 KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
 
 --J/F6JaM/TgkXbavH
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.6 (NetBSD)
 
 iQEVAwUBR+V+0NgoQloHrPnoAQLbjQgAlyPqUhdbNBreN8JJU/M1h+kZIR3VkEyd
 UWp1zKevaWsIyyK7M+d7I8T3w9vqDCkDH+c/7O8st6hFxcCqon0qqimw2O1klA/O
 FKSUguKK3dMZBGJO7WqlVDkliKMRGW4Q7MdzeILV685ANzsts6dXTLZiPb4SY/iL
 9z8BmgR8faAOBhogTSMBWfPM4fUMV2aTDEOmvf3Tp/raq8CVEdIrrHo+k52RLDlN
 F8HYNagFcord78XbVtKbIncr4LXObh7gnNJdG9BpUNoILPoUgw0XTTx1XtPFjzLv
 JT2KwbAxc5Zs66J7WaxI1UrXzPD26HuehfrVVoZG2zPCTfhXlKEf5Q==
 =PY9A
 -----END PGP SIGNATURE-----
 
 --J/F6JaM/TgkXbavH--
 


Home | Main Index | Thread Index | Old Index