Commit Graph

125948 Commits

Author SHA1 Message Date
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
tsutsui eb4893fd2e Fix yet another y2k+1 bug. 2004-04-07 13:29:26 +00:00
augustss 9224fd7b0a Put ichlpcib in alphabetical order. 2004-04-07 13:13:59 +00:00
ross 317058e147 Ignore errors when making tags here with the override target. (Now matches
the default target in bsd.dep.mk, which dashes the ctags commands.)
2004-04-07 03:49:16 +00:00
wiz 8ad72c592f Revert previous: Linux' procfs spells "CPU" "cpu", so mimic it.
Closes PR 25076 by salo.
2004-04-06 20:37:07 +00:00
ross e4baf7f2f0 * Bump up SYMTAB_SPACE slightly.
* Use the correct board name.
2004-04-06 20:00:54 +00:00
atatat fcc6bb1735 Add -d flag to usage message(s). 2004-04-06 19:39:44 +00:00
jdc f015cad4b7 If the current player has no cards, skip to the other player.
While we're here, make this compile with -DDEBUG.
Fixes PR bin/12530 from Thomas Klausner.
2004-04-06 19:15:07 +00:00
atatat 275e2ae7f3 First caller to set a description on a node sets it. This allows one
setup function to set the description, even if the node has been
instantiated elsewhere.  Or not, depending on the other that the setup
functions are called.
2004-04-06 18:52:35 +00:00
tv 1649429e19 Allow compilation without MQ200_DEBUG: mq200_clknames is used outside of
debugging-only code.
2004-04-06 16:49:56 +00:00
tv ef3e0a3d4c Allow the codegen option to be specified in the config file rather than
being fixed at -mips2, by setting "makeoptions MIPSFLAGS".
2004-04-06 16:37:58 +00:00
cl ea9aadc45a sync with arch/i386/isa/npx.c:
1.103/simonb
Only initialise ksi if we use it.
2004-04-06 16:23:33 +00:00
cl 428b54f8f6 sync with arch/i386/i386/identcpu.c:
1.9/kim
AMD CPUID 0x6a0 is an Athlon XP processor model 10, revision A2.
http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/27532.pdf
1.10/minoura
Print better names for Pentium4-class processors (Xeon, Celeron, etc).
1.11/mrg
- fix i386_intel_brand[]: it was missing a empty reserved entry at 0xD
  causing Mobile Pentium 4 to be shown as a Mobile Celeron.
- fix intel_family6_name() for brand=0xB && signature >= 0xF13
- fix a potential out-of-bounds array reference
2004-04-06 16:20:29 +00:00
cl cb8eb7578b update reference $NetBSD ID 2004-04-06 16:04:09 +00:00
cl 5bd1e12004 ANSIfy. 2004-04-06 16:01:50 +00:00
cl 0b3df53fa4 update reference $NetBSD ID 2004-04-06 15:56:32 +00:00
tv 89349d303e Give the MobilePro 800 and MobilePro 880 correct keymaps: fix the
positioning of the cursor keys to match the keycaps, and make the cmdmap
work correctly.
2004-04-06 15:48:17 +00:00
simonb ad2144406e Bump NMBCLUSTERS to something a little more modern - 2048 for the
normal case and 4096 for the "options GATEWAY" case.
2004-04-06 14:56:13 +00:00
keihan fef14e4cd8 s/netbsd.org/NetBSD.org/g 2004-04-06 08:48:55 +00:00
agc 1915cbb83e Fix signature verification after pkg_add and friends were changed to use
fexec() - trying to exec "gpg --verify %s" won't work with fexec, so split
up the command into separate words.
2004-04-06 05:56:07 +00:00
matt 949694f7d9 When seeing if the FP or VEC unit has been stolen by another process, check
PSL_{FP|VEC} instead of PCB_{FP|VEC}.  The former will only be set if the
process owned the {FP,VEC} unit when it trapped into the kernel.  The latter
would be set if the lwp ever used the {FP,VEC} unit.
2004-04-06 02:25:22 +00:00
bsh 6141a1e035 enable PS/2 mouse support.
Thanks to Ben Harris' pckbport, pms driver now attaches to sackbc
very cleanly.
2004-04-06 01:45:03 +00:00
bsh 34d29162ae fake that the PS/2 kbd/mouse controller of SA-1111 has two slots.
This is necessary to attach a pms driver to sackbc.
2004-04-06 01:32:17 +00:00
bsh 9a78d53bf0 whitespace nits. 2004-04-06 01:16:34 +00:00
christos 2a1bd4a323 - more void casts
- knf nits
- check for fdopen failure
2004-04-05 23:11:34 +00:00
enami 786727e51f Fix race condition introduced in rev 1.189; after the change, if there is
THRE interrupt occurs between the LSR read and IIR read, we won't see the
LSR_TXRDY bit when testing it in the variable `lsr' and we don't interrupted
again (as the corresponding bit in the IIR is cleared by reading, except
for some broken device).

Tested by Matthias Scheler and me, reviewed by Allen Briggs.
Closes PR#25010.
2004-04-05 22:33:08 +00:00
christos 99d2bc9467 PR/22551: Invoking tcpcb's get erroneously free'd resulting in to_ticks <= 0
assertion. Approved by he.
2004-04-05 21:49:21 +00:00