Commit Graph

155509 Commits

Author SHA1 Message Date
hubertf
be5e286e64 - Don't call basename $0 at many places. Use variable $PROGNAME
- Better check when neither $ACRONYMDB is define nor files in
   /usr/share/misc/ are found
 - Replace cat | fgrep to using fgrep only
 - Replace sort | uniq to using sort -u

By Slava Semushin <slava.semushin@gmail.com> in private email.
2007-01-24 13:17:42 +00:00
hubertf
142c2a33ba Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.
2007-01-24 13:08:11 +00:00
drochner
72af1800e4 There are devices which don't report the "self powered" state correctly
in the device status word (at least Palmpilot; comments in Linux
indicate that there are more).
So don't use this information, just use the bit in the configuration
descriptor we are attempting to set. (It is of little use anyway,
perhaps the code can be simplified further.)
Thanks to Steven M. Bellovin for running some tests with a Palmpilot.
2007-01-24 12:36:56 +00:00
drochner
a2f923ec42 In detach(), check for incomplete initialisation which might happen if
attach() encounters an error.
avoids a NULL pointer dereference panic reported by Steven M. Bellovin
2007-01-24 12:26:49 +00:00
abs
06ffa3913a if ioctl(fd, CDIOCPLAYMSF,...) fails, do not warn("ioctl(CDIOREADTOCENTRYS)"); 2007-01-24 10:36:33 +00:00
mrg
384736624e add a LOUD comment that this kernel does not work yet. 2007-01-24 05:53:56 +00:00
wiz
b5d2193e6a Add NetBSD-1.3.3 and FreeBSD-6.1 for hashinit(9). 2007-01-23 22:26:06 +00:00
wiz
a6b4bc9d66 Do not give Nx arguments it does not understand. 2007-01-23 22:24:30 +00:00
wiz
6aacb705f6 4 -> 4.0, since Nx does not accept all arguments without complaint. 2007-01-23 22:23:48 +00:00
wiz
15b0193490 Refer to RFC 4716 in two more places (instead of "IETF SECSH").
From jmc@openbsd.
2007-01-23 22:21:54 +00:00
hubertf
b9df58262c Allow using something else than 'cut' to test this with the CUT env variable. 2007-01-23 21:32:55 +00:00
wiz
a0ab6bc85b Bump date for previous. 2007-01-23 20:34:17 +00:00
wiz
656213bfe1 Sort SEE ALSO alphabetically. Fix Xref. 2007-01-23 20:33:38 +00:00
wiz
a297486471 Sort SEE ALSO. 2007-01-23 20:32:05 +00:00
wiz
c0ed8c1e97 Make HTML-safe. 2007-01-23 20:31:33 +00:00
wiz
0f3c9bb729 Sort ERRORS. 2007-01-23 20:31:20 +00:00
reinoud
e54557c432 Fix for atapi devices that have 32 bit databusses selected. The devices
won't error out but will return garbage data. Implemented by generalising
the odd-check for PIO selection to check for 4 byte alignment in offset and
size.

Note that this check could be relaxed by checking if the ATAPI/ide bus
width is 16 for the device but its unknown to me if that information is
available here.
2007-01-23 20:10:06 +00:00
pooka
7fa4b7d96a fix comment (no functional change) 2007-01-23 18:27:50 +00:00
tsutsui
a32a73741e Two fixes to avoid lost softintr (probably caused by some race condition):
- make sh_pending in struct softintr_handler volatile
- activate softintr unconditionally in softintr_schedule()
2007-01-23 16:03:43 +00:00
tsutsui
920dd50438 Use bus_space(9). 2007-01-23 15:58:22 +00:00
itohy
7e0772cff8 Use Ns (no space) in definition of Ul (UNIX-like) macro,
since recent groff inserts a space before -like.
2007-01-23 15:23:05 +00:00
skrll
65cd49f99e Pass the right pointer to firmware_free.
Fixes the DIAGNOSTIC panic reported by Sverre Froyen on current-users.
2007-01-23 15:02:50 +00:00
he
680cc3ab67 According to http://www.intel.com/design/chipsets/specupdt/290639.htm,
the BIOS bug workaround for the i82443BX chipset's DRAM leadoff timing
parameter is not needed for revisions >= C0, so avoid tweaking that
parameter in that case.

Earlier, this would trigger NMIs on fully memory-populated Compaq
1850R systems, where the BIOS appears to program and require a non-
standard value for this parameter.

Thanks to Chris Ross for the diagnosis and the fix!
2007-01-23 10:45:33 +00:00
he
a128c1c544 Adapt to the addition of vfs_suspendctl in struct vfsops. 2007-01-23 10:35:05 +00:00
njoly
61f7169efa Add myself to the developer list 2007-01-23 10:35:01 +00:00
christos
855c80dc29 delete "-std=gnu99" from c++ flags. From mrg. 2007-01-22 21:49:07 +00:00
jdc
3ad888c757 Pull down the following from the wcurses branch:
ctrace.c: revision 1.16.2.2
  initscr.c: revision 1.27.18.2
Orginal commit message:

Do the debug initialisation only in ctrace.c.  Otherwise, it might not
get done, for example, if we start curses with setterm() and not initscr().
2007-01-22 21:14:53 +00:00
bouyer
606238bef2 Note scsictl(8) setspeed 2007-01-22 20:58:27 +00:00
bouyer
e47fe82adf Kimura Fuyuki, bin/35216: add a setspeed command, to set the highest speed
that the optical drive should use for reading data.
2007-01-22 20:56:46 +00:00
ghen
ac00a3df1f The Graphire's are 4x5 and 6x8, not 4x6. 2007-01-22 19:48:57 +00:00
ghen
11405ff194 Regen. 2007-01-22 19:40:21 +00:00
ghen
f391a807d6 Add ID's for the Graphire3 6x8 (from PR 35111) and Graphire4 4x5 (tested by
myself).
2007-01-22 19:39:37 +00:00
christos
12d4fbef5e don't overwrite variables on the stack. From Anon Ymous. 2007-01-22 19:07:13 +00:00
jdc
2761c4c97a Note that sun-4 systems must set the PROM variable "console=p4opt".
Cross-reference cgfourteen(4).
New sentence, new line.
2007-01-22 18:11:56 +00:00
reinoud
be6d76ac92 Fix typo
-                * assoicated with this mount point, start over.
+                * associated with this mount point, start over.
2007-01-22 16:07:33 +00:00
elad
317687e988 Don't rely on KAUTH_PROCESS_CANSEE for environment just yet,
otherwise we're allowing anyone to read the environment unless
curtain is enabled.

From yamt@.
2007-01-22 15:11:52 +00:00
christos
bbc680871a Add another volatile, mentioned in current-users from a cross-build on amd64. 2007-01-22 15:06:31 +00:00
jdc
3cfa1eec0a Add additional cross-references (from Slava Semushin). 2007-01-22 11:57:44 +00:00
joerg
a69e0dfa1d exit(3) needs stdlib.h. 2007-01-22 11:46:43 +00:00
dyoung
b9f72dd1c3 Stop 'build.sh -V MKDOC=no distribution' from quitting in the
checkflist stage: remove the 'doc' tag from /usr/share/doc/html/ntp
and all of the directories below.
2007-01-22 08:00:47 +00:00
cbiere
f5b684cf56 Added missing const-qualifiers. 2007-01-22 01:38:33 +00:00
macallan
4aa2bfbc61 get rid of OpenFirmware dependencies, use device properties instead 2007-01-22 00:12:24 +00:00
macallan
3ee719808f of_compatible() returns -1 not 0 when nothing matches. Doh. 2007-01-22 00:10:27 +00:00
macallan
130442d345 make OF_interpret actually deal with input arguments 2007-01-21 23:59:39 +00:00
macallan
ed57b01256 add bus_space_*_stream() methods 2007-01-21 23:19:57 +00:00
cbiere
6d8f729825 Added const-qualifiers. 2007-01-21 23:00:08 +00:00
wiz
0b400eb99f Remove trailing space and grammar fix. 2007-01-21 22:14:53 +00:00
cbiere
551466a6e7 Avoid crash if the filename contains no digits. 2007-01-21 20:45:41 +00:00
pooka
2874c0e4be optimize a bit: don't flush pages for vnodes which have no references
in the kernel or links in the backend
2007-01-21 16:29:31 +00:00
hannken
facd1f65cb Add and update documentation for fstrans(9) file system suspension helper.
wiz?
2007-01-21 15:42:36 +00:00