| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
in config.c).
|
|
|
|
|
|
| |
come tomorrow.
Submitted by: Simon Shapiro <shimon@simon-shapiro.org>
|
|
|
|
| |
Suggested by: joerg
|
|
|
|
| |
Submitted by: bde
|
| |
|
| |
|
|
|
|
| |
Requested by: David Quattlebaum <sasdrq@unx.sas.com>
|
|
|
|
|
| |
behaviour. Also indicate which option(s) are unknown if there are any
old-style options.
|
|
|
|
| |
(that is, old-style) options are found.
|
| |
|
|
|
|
|
| |
PR: bin/4892
Submitted by: Vasim Valejev <vasim@uddias.diaspro.com>
|
|
|
|
| |
namespace changes.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Requested by: Bruce.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
posix standard on the topic.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
Now port ommiting is equal to port "none" not to port 0
|
|
|
|
|
| |
in config for iobase: -1 (auto) and -2 (none)
Other values are printed as big port numbers
|
|
|
|
| |
(negative numbers was printed as very big ports)
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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!
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
because of u_char count field size. It hits when device
header file already present.
|
|
|
|
|
|
|
| |
is conditionalized by the INCLUDE_CONFIG_FILE option in your kernel config
file and is not turned on by default.
Submitted-By: Bill Pechter <pechter@shell.monmouth.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
dangerous drivers in GENERIC.
Removed non-comments on #endifs in config.y.
Improved output formatting in mkioconf.c.
|
|
|
|
|
|
| |
in the clk0 counter.
Reviewed by: se
|
|
|
|
| |
they were not changed. This makes 'make depend' more useful.
|
|
|
|
| |
types. This is closer to the reality of reasonable values.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
looking at a high resolution clock for each of the following events:
function call, function return, interrupt entry, interrupt exit,
and interesting branches. The differences between the times of
these events are added at appropriate places in a ordinary histogram
(as if very fast statistical profiling sampled the pc at those
places) so that ordinary gprof can be used to analyze the times.
gmon.h:
Histogram counters need to be 4 bytes for microsecond resolutions.
They will need to be larger for the 586 clock.
The comments were vax-centric and wrong even on vaxes. Does anyone
disagree?
gprof4.c:
The standard gprof should support counters of all integral sizes
and the size of the counter should be in the gmon header. This
hack will do until then. (Use gprof4 -u to examine the results
of non-statistical profiling.)
config/*:
Non-statistical profiling is configured with `config -pp'.
`config -p' still gives ordinary profiling.
kgmon/*:
Non-statistical profiling is enabled with `kgmon -B'. `kgmon -b'
still enables ordinary profiling (and distables non-statistical
profiling) if non-statistical profiling is configured.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that this code is dormant unless the options files exist.
Also, parsing of quoted options in the config files is improved.
What this allows, is all the options in LINT to be specified to be
configured as #defines in a file rather than on the CC command line at
kernel build time. This means that 'make depend' will catch dependencies
on actual *options*, meaning that you can run 'config' and 'make depend'
in complete safety WITHOUT removing the compile directory each time.
Unfortunately, this requires a pass over the source to get the individual
files to #include the new .h files that would be generated by config.
This has a small compile time penalty (appears up to about 2% slower)
from a "fresh" build. Of course, you should not be needing to do complete
rebuilds very often once this was completed, so it would be an overall
win for most people.
Since this code is dormant and we've got a lot of other things happening
on the kernel tree at the moment (prototypes, devfs, static declarations
etc) I am not planning on doing any changes to activate this feature just
yet.
|
|
|
|
|
| |
it possible for config to ever blow away a work directory. Default behavior
remains broken.
|
|
|
|
| |
Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama)
|
|
|
|
|
| |
the same way that is done for CFILES. Files ending in .s or .S that match
the option criteria will be included in this list.
|
|
|
|
|
| |
who don't carefully consider their choice for the machine name. The same
functionality can still be had with an "option", so nothing is lost.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Generate prototypes for SCSI functions and function pointers.
Fix redundant declarations of interrupt handlers.
Generate 4.4-style includes (<> instead of "").
Clean up formatting of both the source and the output a bit.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is performed by using a line similar to:
controller scbus0 at ahc0 bus 1
to wire scbus0 to the second bus on an adaptec 2742T controller.
Reviewed by: Peter Dufault(dufault@hda.com), Rod Grimes(rgrimes@FreeBSD.org)
|