Commit Graph

109 Commits

Author SHA1 Message Date
dfr
b475fdd431 Snip out some dead code from the alpha part. 1998-09-16 09:34:07 +00:00
gibbs
b85ccc7a32 Bump config version. Also mention that even after rebuilding a new
config, you may need to resynchronize your config file with syntax
or name changes documented in GENERIC or LINT.
1998-09-15 21:07:54 +00:00
gibbs
3034169241 Build CAM hardwiring info. 1998-09-15 10:29:32 +00:00
ache
d1aa8892b2 add missing sys/queue.h 1998-09-04 07:48:53 +00:00
nsouch
67419707bb Reviewed by: Doug Rabson
Submitted by:	nsouch
'local' token added to support new bus architecture .c files generated
by .m files.
1998-09-03 21:03:43 +00:00
dfr
dc04b45a8b Dump out ISA device resources for alpha. 1998-07-21 21:47:51 +00:00
bde
fefe9e9ac6 Removed all traces of PARAM in Makefile.i386. Incremented CONFIGVERS
to reflect the dependency of Makefile.i386 on nothing being put in
PARAM.

Config versioning is too closely coupled with the Makefile.i386.
1998-07-12 09:52:45 +00:00
bde
5d983285b3 Convert the maxusers directive to a normal MAXUSERS option (normally
define MAXUSERS in opt_param.h as directed in /sys/conf/options;
if it's not mentioned there, then define it in IDENT; never define
it in PARAM).  MAXUSERS probably should be a completely normal option.

Don't define PARAM now that it is empty.

Cleaned up similar conversion of cpu directives to XXX_CPU options.
1998-07-12 08:10:33 +00:00
bde
82ecca82af Warn about redefined options. Keep using the last value processed.
Options are processed reverse file order, so the first definition in
the config file wins (except for directives that are converted to
option).
1998-07-12 02:31:08 +00:00
bde
aa863717b9 Fixed off-by-1 errors in option line numbers. yyline is 0-based, but
was used as if it is 1-based.  This happened to give the correct result
for options without values because of a compensating error in newline
lexing.  Didn't fix the latter, so line numbers in yyerror() may still
be 1 too high in some cases.
1998-07-12 02:18:41 +00:00
jkh
70c19cb746 MF22: more explanatory message from config on version mismatch detection. 1998-06-24 06:16:32 +00:00
bde
916e39c6d2 Don't generate declarations for isa device structs in "ioconf.h".
Don't generate declarations for isa interrupt handlers at all.
Isa interrupt handlers are now declared in <i386/isa/isa_device.h>
but should be converted take a `void *' arg and staticized as
soon as possible.

Updated CONFIGVERS.  New configs are very incompatible with
previous versions.
1998-06-17 15:16:53 +00:00
dfr
9d3db765ca Add (mostly stub) alpha support. Incidentally, it doesn't build on stable
unless I manually construct y.tab.h.  Is this normal?
1998-06-09 14:02:08 +00:00
bde
b11e33ba51 Backed out previous backout. Put y.tab.h back in SRCS. 1998-05-06 15:27:57 +00:00
bde
dba406f638 Backed out previous commit. It was tested, but not for the case where
a separate object tree doesn't exist.  Crufty makefiles will have to
put y.tab.h in SRCS so that we know not to create foo.h from foo.y.
1998-05-05 07:36:55 +00:00
bde
f701fbc7d5 Fixed races in `make -jN' using new yacc rules. 1998-05-04 20:09:06 +00:00
kato
60e8af1f2f Support PC-98 machine. 1998-05-02 01:57:39 +00:00
bde
6cfa12f63a Don't generate code with syntax errors (hard newlines in string constants
in config.c).
1998-04-23 16:37:06 +00:00
eivind
9f3f2581d7 Scaffolding for High Availability code. The actual code will probably
come tomorrow.

Submitted by:	Simon Shapiro <shimon@simon-shapiro.org>
1998-04-02 04:25:41 +00:00
eivind
c5fc4aa131 Add message when using obsolete command line option.
Suggested by:	joerg
1998-03-16 11:19:10 +00:00
eivind
b56f0166c2 Style & message change.
Submitted by:	bde
1998-03-16 11:15:45 +00:00
bde
1eec1ef17a Fixed `make -jN' for large N, as usual. 1998-03-06 15:02:45 +00:00
eivind
ab0c84a191 Style police service brought to you by: bde 1998-02-19 00:51:49 +00:00
eivind
d2daf125ee Re-introduce '-n' - now a no-op for backwards compatibility only.
Requested by:	David Quattlebaum <sasdrq@unx.sas.com>
1998-02-19 00:45:33 +00:00
eivind
6c500cca36 Make '-n' the default, and introduce a new flag '-r' to get old
behaviour.  Also indicate which option(s) are unknown if there are any
old-style options.
1998-02-18 04:15:04 +00:00
eivind
466933731d All our options are new-style now - enable the warning if unrecognized
(that is, old-style) options are found.
1998-02-09 23:59:51 +00:00
jdp
7e0fa23aa5 Fix incorrect format string detected by "-Wformat". 1997-11-18 03:41:51 +00:00
joerg
9ee9500401 Fix some breakage from my last set of changes.
PR:		bin/4892
Submitted by:	Vasim Valejev <vasim@uddias.diaspro.com>
1997-11-07 00:09:40 +00:00
msmith
a70940419f Bump configvers to 300003 to account for the crd->card (and related)
namespace changes.
1997-11-06 03:11:40 +00:00
joerg
5c37a12152 Allow for a keyword in the "files" file named "mandatory". The first
candidate for this is "npx0", more are likely to follow.

Check for pseudo-devices that are being configured, but don't appear
in any "files" file.  The ``pseudo-device bpf 2'' already hit me too
often.
1997-10-28 07:21:04 +00:00
peter
cac6af7db2 For safety's sake, explicitly depend all objects on the configvers.h header
to make sure that it's all recompiled even if there is no 'make depend'.
This is overkill, but should be one less thing that someone can do wrong.
1997-10-22 00:44:08 +00:00
peter
b57d8acf74 Recognize a %VERSREQ=nnnnn string in the system Makefile. Both config(8)
and the kernel will have a 'config interface version number'.  If an
incompatable change is made to the kernel that requires a rebuild of
config(8) (such as the cam devtab stuff), then the version number would be
bumped in both places.  If a user neglects to rebuild config, then they
will get a nagging (but non-fatal) warning that they need to rebuild
config.
1997-10-22 00:38:48 +00:00
gibbs
202e8d2ad2 Add isa_devtab_cam. 1997-09-21 22:12:50 +00:00
charnier
7f53c003f5 Wrap too long lines.
Requested by: Bruce.
1997-09-17 06:20:45 +00:00
charnier
28c97c8eb6 Police from style.9 and Bruce. 1997-09-16 07:11:13 +00:00
charnier
b8c46235c5 Use err(3), add usage(). -Wall clean. 1997-09-15 06:37:10 +00:00
bde
31b6c99454 Oops, the previous commit shouldn't have touch the Makefile. 1997-09-07 12:27:54 +00:00
bde
a498d09490 Don't say that swapping is configured by config. 1997-09-07 10:35:17 +00:00
imp
691010efad compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-31 05:11:47 +00:00
peter
37683aa141 Reserve a placeholder for 4 SMP ipi interrupts in the same way that
it's done for pci.  This is so that systat and vmstat can get at the
interrupt counts for the Inter-Processor Interrupts when running a smp
kernel.  This doesn't affect the normal kernel, but makes life easier for
the smp people who don't have to track two versions of config.
1997-03-29 12:04:51 +00:00
ache
bcbc3df8b0 Remove support for "port none" and "port auto", it gains nothing,
non-standard and not used. "port auto" is equal to "port?" or missing "port"
keyword now. "port none" is really probe routine task (return -1 for
no ports).
1997-03-28 00:56:11 +00:00
ache
e27bac84c5 Add #define's for port "none" and "auto"
Now port ommiting is equal to port "none" not to port 0
1997-03-26 15:19:55 +00:00
ache
75276ab04b Print negative values only for two cases used
in config for iobase: -1 (auto) and -2 (none)
Other values are printed as big port numbers
1997-03-25 02:54:34 +00:00
ache
a28593bb74 Fix iobase printing for autodetect and none cases
(negative numbers was printed as very big ports)
1997-03-25 02:35:12 +00:00
alex
a3118e8c68 Sweep through the tree fixing mmap() usage:
- Use MAP_FAILED instead of the constant -1 to indicate
    failure (required by POSIX).
  - Removed flag arguments of '0' (required by POSIX).
  - Fixed code which expected an error return of 0.
  - Fixed code which thought any address with the high bit set
    was an error.
  - Check for failure where no checks were present.

Discussed with:	bde
1997-01-16 21:58:40 +00:00
peter
164adbdd56 Tidy up the generated config.c file. Use #include "opt_config.h", comment
out text after #endif line, add missing \n at end of file, only install new
config.c if it's different to the last one which preserves the timestamp.
1996-12-26 23:40:32 +00:00
joerg
5476bdc687 Part #2 of the config cleanup. More aggressive, replaced an NIH
version of strdup() by a macro, killed many calls to strdup(), thus
potentially wasting less malloc'ed space (their args were never be
free()ed desptie despite of being malloc'ed).  Probably still a huge
memory leak at all...  Also killed two totally useless variables.

I've tested it as i could, but wouldn't be surprised if unexpected
problems showed up.  So watch out this space!
1996-12-14 19:53:49 +00:00
joerg
000a733206 Round #1 of cleaning up the config(8) mess. This is only the more
conservative part of the tidyup, like fixing potential buffer overflow
conditions.  It is believed to be safe to go into 2.2.

Pointed out by:	lozenko@cc.acnit.ac.ru (Evgeny A. Lozenko)
1996-12-14 19:44:13 +00:00
bde
be904e56d5 Moved nonstandard compiler profiling options out of config. Just print
the profiling level in config and decide what to do in makefiles.

Makefile.i386:
Align functions to 16-byte boundaries if profiling is enabled.  This
will allow a fourfold reduction in the size of the profiling buffers.
1996-12-13 12:46:28 +00:00
ache
cb3f7aca30 Bugfix: all device counts >= 256 was broken, they truncated by % 255
because of u_char count field size. It hits when device
header file already present.
1996-08-21 17:00:54 +00:00