Commit Graph

125974 Commits

Author SHA1 Message Date
atatat 9b2972c08e Invert the meaning of SYSCTL_NO_DESCR by calling it SYSCTL_USE_DESCR
instead.  This makes it an option to include the descriptions, as
opposed to an option to *exclude* them.
2004-04-09 18:13:36 +00:00
thorpej c235249183 Add support for 64-bit PCI DMA addressing. 2004-04-09 17:51:18 +00:00
kim ed816845e6 Avoid the output "Running xxx.local" if the "xxx.local" script
does not produce any output.  This matches what /etc/security
already does with /etc/security.local output.
2004-04-09 17:35:21 +00:00
kim 4d55452261 Catch STDERR from /etc/security.local (not just STDOUT). 2004-04-09 17:33:35 +00:00
oster fcea0f7690 We really should have a wakeup in RF_UNLOCK_PSS_MUTEX in case we have
a nap in RF_LOCK_PSS_MUTEX!
2004-04-09 17:01:03 +00:00
provos 2e7c8ca97f check process flags, noted by Stefan Esser 2004-04-09 16:49:33 +00:00
pooka ade6841fe5 If argv[1] doesn't exist, don't try to use it. 2004-04-09 16:41:23 +00:00
atatat f9eafc41bd Standalone programs should not use stddef.h. They are more like the
kernel, so they must use sys/systm.h instead.
2004-04-09 15:43:19 +00:00
tsutsui d010f57a21 Include "ite.h" before the first reference of NITE.
Fixes panic with unknown type keyboards (including JP one).
2004-04-09 11:55:27 +00:00
matt a9903fcc11 When linking, use ${_MKTARGET_LINK} so that MAKEVERBOSE=1 looks right. 2004-04-09 04:01:42 +00:00
matt 2ce2389229 Deal with OFW trees that have interrupt nodes without an #address-cells
property.  Treat them as if they had such a property but its value was 0.
2004-04-08 23:58:24 +00:00
uwe c22f771297 Register definitions for sh3 integrated DMA controller. 2004-04-08 21:02:57 +00:00
tsutsui 25fa76b1ba Don't panic when kernel tries to print a horizontal tab via itecnputc(). 2004-04-08 17:41:50 +00:00
tsutsui 68fc876f21 Check mapped device VA by badaddr() in cnattach functions for framebuffers.
Now consinit() no longer hangs at least on HP425t with Topcat console.
2004-04-08 17:39:37 +00:00
pooka b11a60fb35 apply wide-angle KNFication beam 2004-04-08 14:45:13 +00:00
pooka 6f81d36c60 note file(1) update to 4.09 2004-04-08 12:41:44 +00:00
pooka b6a1a17518 Apply patch from Christos to fix build on FreeBSD 4 2004-04-08 12:33:20 +00:00
pooka 34a84c1d28 update for 4.09 2004-04-08 12:30:24 +00:00
pooka 0fa4e65c16 the conflict peril was no more 2004-04-08 12:29:45 +00:00
pooka 5b7d7b4cbc file 4.09:
* (almost) fix toolbuild on platforms with a lacking wchar
* more magic
2004-04-08 12:21:54 +00:00
martin 8133a23a7e Be more paranoid about data a non-root user may query.
Fixes PR kern/25099 by Christian Biere.
2004-04-08 09:26:59 +00:00
pk f95fd4f56f compat mode: skip double map at VA 0 if the physical load address is 0.
This allows a much wider range of historic kernels to be booted (w/ `-C').
2004-04-08 07:35:34 +00:00
sjg df910819de Revised patch for catching extraneous .else's
We actually need to tack condTop and skipIfLevel.
Bump MAXIF while here.
Enhance the unit-test for conditionals to exercise more code.

PR: 24420
2004-04-08 07:24:26 +00:00
atatat 67f14f8fff Don't copy the size that sysctl gave back directly, copy the size of
the description.  *thwap*
2004-04-08 06:49:03 +00:00
atatat 3a5915c0ae Lots of sysctl descriptions (if someone wants to help out here, that
would be good) mostly copied from sysctl(3).  This takes care of the
top-level, most of kern.* and hw.* (modulo the ath and bge stuff), and
all of proc.*.

If you don't want the added rodata in your kernel, use "options
SYSCTL_NO_DESCR" in your kernel config.
2004-04-08 06:20:29 +00:00
lukem 68909c287b Store the full path to the /usr/sbin/postfix in $postfix_command
and use the latter postfix_op() to implement start/stop/reload.
(We generally use full paths in rc.d scripts.)  Problem noted by Bill Squier.
2004-04-08 06:15:27 +00:00
atatat 610ed0d02a Don't copy the size that sysctl gave back directly, copy the size of
the description.
2004-04-08 06:12:43 +00:00
atatat 6c7aa21ce7 The device is called /dev/dmoverio, not /dev/dmover. 2004-04-08 05:49:13 +00:00
atatat 8d5507a13f Weak aliases for sysctlfoobar() functions. 2004-04-08 05:45:26 +00:00
matt f8bf8392a4 Regen. 2004-04-08 05:36:30 +00:00
matt ebe3577cee Add Dell BC02 Bluetooth USB Adapter 2004-04-08 05:36:00 +00:00
atatat 11d2a71805 Descriptions for user.* sysctl nodes. Mostly copied from sysctl(3). 2004-04-08 04:10:44 +00:00
atatat 4f406ff76d Do nothing else for nodes with no children if -d is used (dflag is
set).  Otherwise, some nodes (those with "printers") will also print
the "use foo ..." message.
2004-04-08 04:00:33 +00:00
atatat ceffc3a69b Include new opt_sysctl.h here, and use SYSCTL_NO_DESCR for eliminating
properly declared descriptions.
2004-04-08 03:57:48 +00:00
atatat 1e239fdec9 Create opt_sysctl.h which will hold sysctl related options. I suspect
most of these won't be used (well, the description related one will
be), but it's good to formalize things.
2004-04-08 03:43:38 +00:00
atatat a70c39ff35 Clear out the struct kinfo_drivers before stuffing things into it.
Avoids leaking garbage from the stack (left over from the earlier
call to sysctl_locate()).
2004-04-08 03:35:10 +00:00
sjg ab4f0bc644 Back out previous patch for now.
Breaks bsd.obj.mk
2004-04-08 01:35:33 +00:00
sjg 8bef426d13 Add check for extraneous .else's - based on patch from Arne H. Juul
in PR/24420.
Add a unit-test for conditionals.
Also in the unit-test makefile strip any .CURDIR in output.

PR: 24420
2004-04-08 00:59:01 +00:00
christos dfa47cfea0 PR/25097: Kouichirou Hiratsuka: incorrect conditional -- misplaced ] 2004-04-07 20:27:54 +00:00
kochi fa6f52f090 A bugfix for Mutex handling.
Originally reported by Takahiro Kambe and this fixed
powerdown on his Panasonic CF-R1N.
This fix is already reported to Intel ACPI-CA team, and will be
included in future releases of ACPI-CA.
2004-04-07 18:19:33 +00:00
matt e31defb1fb Regen. 2004-04-07 18:11:31 +00:00
matt 6e500a5352 Add Dell's vendor code 2004-04-07 18:11:07 +00:00
ross 9209ce5ad8 Rework to use curses.h only on the target, not on the host. 2004-04-07 17:46:47 +00:00
christos 33e4f3be32 Check refresh() error code and bail out if we lost the terminal.
From Julian Coleman
2004-04-07 17:28:54 +00:00
christos 9717f6662e check fflush() return code (from Julian Coleman) 2004-04-07 17:27:10 +00:00
wiz 9e31d256ec Grammar fix, from xsa@openbsd via jmc@openbsd. 2004-04-07 15:28:13 +00:00
wiz 4dc479e359 Add TNF copyright license in Matt Thomas' name; okayed by matt@. 2004-04-07 14:57:39 +00:00
mrg ff187e728e - completely rewrite print_ratio(). fixes PR#25072 and a few other cases
- print_list() was getting the compressed/uncompressed sizes backwards.
2004-04-07 14:25:43 +00:00
tsutsui f8cd9ac4fd Adjust FRODO_BASE macro since com_frodo uses bus_space_map(9)
which takes offset from intiobase instead of KVA.

Now com* at frodo? is probed properly.
(but not tested because I don't have a special cable for apci ports yet)
2004-04-07 13:41:10 +00:00
tsutsui 0af71a11f1 Adjust fd_name in struct frodo_device frodo_subdevs[]
since MD apci(4) has been switched to MI com(4).
2004-04-07 13:34:47 +00:00