Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 1999 17:37:51 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Alexander Leidinger <netchild@wurzelausix.CS.Uni-SB.DE>
Cc:        current@FreeBSD.ORG
Subject:   Re: config & NO_F00F_HACK 
Message-ID:  <19990426093753.D52B31F5C@spinner.netplex.com.au>
In-Reply-To: Your message of "Mon, 26 Apr 1999 10:45:56 %2B0200." <199904260845.KAA11929@wurzelausix.cs.uni-sb.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote:
> On 26 Apr, Peter Wemm wrote:
> 
> > I've fixed this here and will commit it shortly, but I'm a bit nervous abou
    t
> > the scope of the change required to prevent this information loss. :-/  I
> > don't know enough lex/yacc to do context-sensitive tokenization.
> 
> What about
> pseudo-device "i4bq921"
> at the moment I have to quote.

I don't think anything much can be done about that..  The tokenizer
essentially ignores whitespace, so these are the same:
pseudo-device	snp	4
pseudo-device	snp4

Without the quotes, your example above is parsed something like this:
pseudo-device i	4	bq	921
Ie: a request for 4 units of the i device and 921 units of the bq device,
which do not exist, or it will be a syntax error.

Unfortunately, you can't use "options i4bq921" since there is:
#if NI4BQ921 > 0		and...
conf/files:i4b/layer2/i4b_l2fsm.c     optional i4bq921

That 'N' prefix is for the unit count.

Sigh...

Cheers,
-Peter



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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