Subject: CVS commit: syssrc
To: None <>
From: Jason R Thorpe <>
List: source-changes
Date: 07/06/1999 17:02:10
Module Name:	syssrc
Committed By:	thorpej
Date:		Wed Jul  7 00:02:10 UTC 1999

Modified Files:
	syssrc/usr.sbin/config: config.h gram.y scan.l

Log Message:
Add a mechanism for files.* files to be included, in the kernel configuration
file, conditional on their existence.  For example:

[ in ../conf/GENERIC ]
cinclude "../crypto-intl/sys/conf/files.crypto-intl"

This required a change to the files.* grammar; pseudo-device in that
context has been changed to defpseudo, to avoid a conflicting rule
for pseudo-device in the kernel config files.

The same grammar change allows vendors to ship files.* files for
commercial drivers, rather than diffs to e.g. files.pci, i.e.:

include "arch/i386/pci/files.zap"
zap* at pci? device ? function ?

Where files.zap might contain:

device zap: ether, ifnet, arp, mii
attach zap at pci
object	arch/i386/pci/zap.o	zap

To generate a diff of this commit:
cvs rdiff -r1.42 -r1.43 syssrc/usr.sbin/config/config.h
cvs rdiff -r1.25 -r1.26 syssrc/usr.sbin/config/gram.y
cvs rdiff -r1.22 -r1.23 syssrc/usr.sbin/config/scan.l

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.