Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 1997 18:40:03 -0700 (PDT)
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs
Subject:   Re: conf/3526: Bug in config(8) mechanism
Message-ID:  <199705080140.SAA00784@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/3526; it has been noted by GNATS.

From: Bruce Evans <bde@zeta.org.au>
To: FreeBSD-gnats-submit@FreeBSD.ORG, hm@kts.org
Cc:  Subject: Re: conf/3526: Bug in config(8) mechanism
Date: Thu, 8 May 1997 11:34:15 +1000

 >	config(8) fails to properly configure drivers which name ends
 >	in digits:
 >
 >	A line in the kernel config file:
 >
 >		pseudo-device   bisdnq921
 
 This is a bug in your config line.  In config syntax, `bisdnq921'
 consists of 2 tokens, `bisdnq' and `921'.  It specifies 921 units for
 the pseudo-device bisdnq.  When there is no bisdnq device listed in
 /sys/conf/files or /sys/i386/conf/files.i386, this line is completely
 ignored.  (This is probably a bug.  It also causes problems for
 misspelled driver names, e.g., `snoop' instead of `snp'.)  Since you
 have a bisdnq921 device in the file lists but no driver for this
 device is configured, you bisdnq921.h with NBSDNQ921 = 0 in it.
 
 The problem is more obvious for
 
 		pseudo-device   bisdnq921	1
 
 This specifies the number of devices twice, which is a syntax error.
 
 "bisdn921" should work.
 
 Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705080140.SAA00784>