Subject: how to add arbitrary #defines into kernel driver code cleanly?
To: None <netbsd-help@netbsd.org>
From: George Michaelson <ggm@apnic.net>
List: netbsd-help
Date: 03/10/2003 14:37:22
--:?x)dvKX=.n=:z5Z
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
scsiconf.c has SCSI_DELAY=2 but on a #ifndef SCSI_DELAY. I'd like to #define
it up a bit (my USB attached SCSI looks to need a bit more settling time)
I can see how to hack this in post config, but could somebody clue me into how
you add an arbitrary #define value cleanly into a kernel build? it would seem
to require a bit more than just adding options <X>=<val> in the config file.
(files.* in some directory? some other process?)
cheers
-George
--
George Michaelson | APNIC
Email: ggm@apnic.net | PO Box 2131 Milton QLD 4064
Phone: +61 7 3367 0490 | Australia
Fax: +61 7 3367 0482 | http://www.apnic.net
--:?x)dvKX=.n=:z5Z
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)
iD8DBQE+bBaDEBtqCXNexlkRAjpQAJ0T8yEajqki8WJWc2mejbfZMPjWNQCeLke/
Sa8x+XDXpV5/pdfbJmieaXI=
=zacr
-----END PGP SIGNATURE-----
--:?x)dvKX=.n=:z5Z--