Dima Dorfman
e9e3b98562
Remove the "special processes" section. It has rotted, and the idea
...
ceased to be useful when the number of "special processes" went from 3
to one per device. I considered replacing it with a "kernel threads"
section, but this seemed like the wrong place for that.
PR: 40969
2002-10-02 00:09:24 +00:00
Dima Dorfman
cb292be1ad
Don't claim to return the fileid which we unloaded. The kernel
...
doesn't do this, and it wouldn't be very useful if it did, since the
caller supplies us with that number.
PR: 41329
Submitted by: Michael Galassi <nerd@xyz.com>
2002-10-01 23:53:51 +00:00
Dima Dorfman
e767e97d74
Correct minor errors in the code examples.
...
PR: 41993
Submitted by: David Lay <dsl@foozle.org>
2002-10-01 23:35:33 +00:00
Dima Dorfman
86b0a4f56e
choosen -> chosen
...
PR: 42962
Submitted by: Scott D Friedemann <sdf@expertune.com>
2002-10-01 23:15:32 +00:00
Dima Dorfman
e9d295bf0b
Actually use the exitstatus value that we maintain.
...
PR: 43562
Submitted by: Marc Olzheim <marcolz@ilse.nl>
2002-10-01 22:59:11 +00:00
Jake Burkholder
17cc43149a
Fix a typo in BGE_BIGENDIAN_INIT.
2002-10-01 22:33:40 +00:00
Poul-Henning Kamp
1878960dc9
Fix two misindents.
...
Spotted by: FlexeLint
2002-10-01 22:27:03 +00:00
Matthew N. Dodd
f72e17e233
Add a field to struct cmn_unit to hold a pointer to the driver's softc.
2002-10-01 22:04:31 +00:00
Alfred Perlstein
91c590034d
make rstat(3) return an 'enum clnt_stat' rather than an 'int' to match
...
the prototype from rstat.x -> rstat.h.
MFC After: 1 day
2002-10-01 22:02:06 +00:00
Poul-Henning Kamp
c2476fafad
Indentation indicates missing braces.
...
Spotted by: FlexeLint
2002-10-01 21:59:46 +00:00
Poul-Henning Kamp
fcd054483a
Fix the same misinitialization of pmap_prefault_pageorder as on i386.
...
Suggeste by: jake
2002-10-01 20:56:29 +00:00
Poul-Henning Kamp
b29d22f94e
The pmap_prefault_pageorder[] array was initialize with wrong values
...
due to a missing comma.
I have no idea what trouble, if any, this may have caused.
Pointed out by: FlexeLint
2002-10-01 20:51:47 +00:00
Tom Rhodes
0237755d1a
Return the ``u''
2002-10-01 20:32:59 +00:00
John Baldwin
a1885c44cf
Whitespace nit.
2002-10-01 20:05:58 +00:00
Poul-Henning Kamp
0a2ece0481
Use the canonical root:operator 0640 for GEOM disk devices.
...
Spotted by: brooks
Sponsored by: DARPA & NAI Labs.
2002-10-01 19:33:09 +00:00
Mitsuru IWASAKI
31db71276a
Don't call INT 12H anymore in boot program.
...
Many recent machine have a broken INT 12H (Get base memory size)
implementation and boot program stops if INT 12H is called.
This commit should solve the problem at very first step of FreeBSD
installation occurred on newer some machines.
Reviewed by: bde, jhb
MFC after: 1 week
2002-10-01 19:31:09 +00:00
Poul-Henning Kamp
c111eed934
Divorce bsd disklabels, IBM PC MBR's and whatever the things are
...
called on NEC PC98 machines.
Sponsored by: DARPA & NAI Labs.
2002-10-01 19:29:19 +00:00
Jake Burkholder
aa98088877
Moved the cam and cd9660 modules to the MI list. Don't build msdosfs or
...
syscons on sparc64; msdosfs will likely never work, syscons needs work.
2002-10-01 19:05:18 +00:00
Poul-Henning Kamp
2fcf0b5c37
Don't restrict device drivers ability to sleep in the ioctl method, this
...
is actually entirely legal.
Do bio's with ioctls in them in a g_call_me() function.
Sponsored by: DARPA & NAI Labs
2002-10-01 18:42:32 +00:00
Alfred Perlstein
0c96d7c634
Add prototypes for rstat(3) and havedisk(3).
...
Requested by: kris, Emil Mikulic <emikulic@optushome.com.au>
MFC After: 1 day
2002-10-01 17:59:53 +00:00
Archie Cobbs
42b3e574e6
Fix spelling error; say what "UTS" stands for.
...
Noticed by: ru
2002-10-01 17:50:44 +00:00
Archie Cobbs
bc0a9fcb45
Fix cut&paste error: "tm_spare" should have been "km_spare".
...
Noticed by: ru
2002-10-01 17:47:44 +00:00
Poul-Henning Kamp
3f8322d6b8
Remove a comma trailing an if clause.
...
According to Kirk: "Luckily, the statement is usually true".
Spotted by: FlexeLint
2002-10-01 17:31:28 +00:00
Juli Mallett
e8a58a8362
Ressurect libkvm use of the bitmasked signal list in the kernel, now that
...
reliable signal queues are gone.
2002-10-01 17:17:32 +00:00
Juli Mallett
1d9c56964d
Back our kernel support for reliable signal queues.
...
Requested by: rwatson, phk, and many others
2002-10-01 17:15:53 +00:00
Jake Burkholder
689cd8eeb8
Convert the bus space accessors from macros to inlines. This fixes some
...
problems with drivers that expect functions rather than function like
macros.
Reviewed by: tmm
2002-10-01 16:32:09 +00:00
John Baldwin
feb2449610
Minor style nits in a comment.
2002-10-01 15:49:32 +00:00
Poul-Henning Kamp
8d3574c7a4
Fix some harmless mis-indents.
...
Spotted by: FlexeLint
2002-10-01 15:48:31 +00:00
Maxim Sobolev
c12958c403
Add quirks for DaisyTechnology PhotoClip camera.
...
Submitted by: Olexander Kunitsa <kunia@istc.kiev.ua>
MFC after: 3 days
2002-10-01 15:42:04 +00:00
Poul-Henning Kamp
328048bc56
Remember to include "opt_devfs.h" so we get any relevant changes
...
to NDEVFSINO before we include devfs.h.
Spotted by: FlexeLint
2002-10-01 15:24:35 +00:00
Søren Schmidt
94ec75ef27
Misc cleanups.
...
Pointed out by: phk/flexelint
2002-10-01 15:21:57 +00:00
Søren Schmidt
26cc243d90
Add yet another Promise PCI id.
2002-10-01 15:21:09 +00:00
John Baldwin
6cae6dacd5
Various style fixups.
...
Submitted by: bde (mostly)
2002-10-01 14:16:50 +00:00
John Baldwin
f6ccde8308
Actually clear PS_XCPU in ast() when we handle it.
...
Submitted by: bde
Pointy hat to: jhb
2002-10-01 14:13:13 +00:00
John Baldwin
1d56414515
- Adjust comment noting that handling of CPU limit exhaustion is done in
...
ast().
- Actually set KEF_ASTPENDING so ast() is called. I think this is buggy
for a process with multiple KSE's in that PS_XCPU is not a KSE event,
it's a process-wide event. IMO there really should probably be two
ASTPENDING flags, one for per-process, and one for per-KSE.
Submitted by: bde
2002-10-01 14:10:08 +00:00
Poul-Henning Kamp
c2b6013026
It is too much work convincing lint why we would want empty structures,
...
so make the non-empty #ifdef lint.
2002-10-01 14:08:08 +00:00
Poul-Henning Kamp
0d5858f265
Use long long to indicate 64bitness in #ifdef lint.
2002-10-01 14:07:18 +00:00
Poul-Henning Kamp
e9a848359b
Include <sys/diskmbr.h> instead of <sys/disklabel.h>
...
Sponsored by: DARPA & NAI Labs.
2002-10-01 14:05:06 +00:00
Poul-Henning Kamp
7e9bac35e2
A more lint friendly #ifdef lint section.
2002-10-01 14:01:58 +00:00
Bruce Evans
4fb133adea
Changed "file system" back to "filesystem" in the usage message. English
...
rules don't apply to tokens that are supposed to represent single args.
This was only fixed in the man page.
Fixed other differences between the man page and the usage message (1
formatting bug and 1 syntax bug).
2002-10-01 13:44:15 +00:00
Tim J. Robbins
658a755b6a
Back out experimental changes to fmtstr() that I didn't mean to include
...
in the previous commit.
2002-10-01 13:41:13 +00:00
Ruslan Ermilov
7206028152
test -h is deprecated; use -L instead.
...
PR: bin/40846
2002-10-01 13:29:45 +00:00
Bruce Evans
7e3998a3de
Removed the only PCI_DEBUG ifdef in the kernel. PCI_DEBUG was not a
...
supported option and it disabled a whole 2 lines of bootverbose messages.
I wanted to see 1 of the messages (about the latency timers). This
is a wrong place to decode pci configurations, but the code is already
here and handles more details than pciconf(8).
2002-10-01 13:28:24 +00:00
Tim J. Robbins
7e73d40ee5
Replace a home-grown printf() clone with a fwopen() wrapper around
...
libc's vfprintf() that writes to a `struct output' instead of a file.
Inspired by NetBSD's similar changes (they used asprintf() instead).
2002-10-01 13:22:12 +00:00
Poul-Henning Kamp
fa15abd8a6
Don't #error if we are lint.
2002-10-01 13:15:11 +00:00
Maxime Henrion
ca5434bae6
It is now safe to remove WARNS=0 and WFORMAT=0.
...
Tested on: alpha, i386, sparc64
2002-10-01 12:12:45 +00:00
Tim J. Robbins
8c39572997
Restore "not found" error message when searching for (or executing)
...
a program fails because the file or a path component does not exist.
Suggested by: bde
2002-10-01 11:48:18 +00:00
Maxime Henrion
0c1661b754
- Don't use quad_t when we really mean rlim_t.
...
- Cast rlim_t to intmax_t when printing it.
This should fix the last format errors in sh(1).
Tested on: i386, sparc64
2002-10-01 11:44:38 +00:00
Bruce Evans
54e9b36765
Fixed a last-minute editing error in previous commit. nfs and/or cvs
...
replaced a 14-byte change in the middle of the file with 14 NULs at EOF
despite or because of aborting the initial commit to pick up the change.
2002-10-01 11:44:35 +00:00
Bruce Evans
219cbe1087
Merged all interesting difference between the old math.h and the current
...
one into the latter and removed the former.
This works around the bug that some broken Makefiles add -I.../src/include
to CFLAGS, resulting in the old math.h being preferred and differences
between the headers possibly being fatal.
The merge mainly involves declaring some functions as __pure2 although
they are not yet all strictly free of side effects.
PR: 43544
2002-10-01 11:34:42 +00:00