Commit Graph

102465 Commits

Author SHA1 Message Date
ru
4e45410d6e Markup overhaul. 2004-05-18 07:23:37 +00:00
rik
3071bbd736 1. Remove '-' sign between model an manufacturer.
2. Add information about cp(4) driver (Cronyx Tau-PCI).
2004-05-18 07:12:06 +00:00
rik
aea47b5957 Add information about cp(4) driver (Cronyx Tau-PCI). 2004-05-18 06:48:27 +00:00
rik
e41addd1ea ct(4) now has manual page, so add reference to it. 2004-05-18 06:36:17 +00:00
bde
28faba2e27 Fixed DDB_NOKLDSYM on amd64's:
machdep.c:
Initialize the symbol table pointers, not quite like for other arches.

db_elf.c:
Don't claim to be an i486 in the fake ELF header.
2004-05-18 05:30:06 +00:00
peter
235a3d8f64 If a symbol has section+offset definitions provided, always use instead
of doing a name lookup for global symbols.  This fixes the snd_pcm module.
2004-05-18 05:15:43 +00:00
peter
a6091b3b08 Remove leftover padding variables.
Convert some silent 'ignore programmer error' cases into panics
Remove 'align' field from section table (no longer needed)
2004-05-18 05:14:19 +00:00
kientzle
35d99a4cd3 Clarify an error message. 2004-05-18 00:13:06 +00:00
yar
75331fe5be Clarify and extend paragraphs on interoperation
of fcntl(2), flock(2), and lockf(3) advisory locks.
Add such a paragraph to the flock(2) manpage for the
sake of consistency.

Reviewed by:	Cyrille Lefevre and Kirk McKusick on -arch
MFC after:	2 weeks
2004-05-17 23:09:10 +00:00
peter
7730ed4e26 Oops, I left a duplicate 'relocbase' declaration.
Submitted by:  Koop Mast <kwm@rainbow-runner.nl>
2004-05-17 22:26:17 +00:00
kientzle
330e353d70 getgrent() and friends should set errno if there is an error.
Also, clarify the manpage description of when errno is set and
explain that clients should set errno=0 first if they want useful
error information.
2004-05-17 22:15:49 +00:00
peter
4070a4a8d4 Turn on modules for amd64. Fear. 2004-05-17 22:13:14 +00:00
hmp
6b26513d96 Add rman_get_device(9) to SYNOPSIS, .Nm and MLINK it to
rman(9).
2004-05-17 21:25:02 +00:00
peter
867065a3a4 Since we go to the trouble of compiling the kobj ops table for each class,
and cannot handle it going away, add an explicit reference to the kobj
class inside each linker class.  Without this, a class with no modules
loaded will sit with an idle refcount of 0.  Loading and unloading
a module with it causes a 0->1->0 transition which frees the ops table
and causes subsequent loads using that class to explode.  Normally, the
"kernel" module will remain forever loaded and prevent this happening, but
if you have more than one linker class active, only one owns the "kernel".

This finishes making modules work for kldload(8) on amd64.
2004-05-17 21:24:39 +00:00
ru
479e3fd631 Markup nits. 2004-05-17 21:24:06 +00:00
peter
b7f2f12793 Clean up the code some more. Unify the text/data (progbits) and bss
(nobits) tables to simplify some code.  Try and shorten some of the very
wide lines.  Somewhere along the way, I think I fixed the memory
corruption that caused panics after going multiuser.
2004-05-17 21:20:23 +00:00
peter
d0605f2d9e Deal with REL records that have the addend embedded variable sized targets
rather than the RELA table.  I dont know if bintutils will ever generate
REL records, but just in case.....
2004-05-17 21:16:49 +00:00
ru
5299a4a0f7 Correct existing usage lines, add two more. 2004-05-17 21:11:35 +00:00
ru
72b515d266 Markup nits. 2004-05-17 21:05:39 +00:00
ru
d93de8e986 Markup and grammar nits. 2004-05-17 20:58:42 +00:00
ru
826e635fc0 Markup overhaul. 2004-05-17 20:45:21 +00:00
joerg
d07b18d4db Now that I learned about how all this is working together, quickly
document it for anyone else who might be interested in it.

MFC after:	2 weeks
2004-05-17 20:17:39 +00:00
truckman
6174e9d812 Switch from using the vnode interlock to a private mutex in fifo_open()
to avoid lock order problems when manipulating the sockets associated
with the fifo.

Minor optimization of a couple of calls to fifo_cleanup() from
fifo_open().
2004-05-17 20:16:40 +00:00
pjd
de894751b4 NG_ONE2MANY_XMIT_ALL algorithm should also be listed here.
Submitted by:	Michel Lavonds <fox@vader.aacc.cc.md.us>
Approved by:	archie
2004-05-17 19:35:40 +00:00
joerg
916d8239a8 Fix my own style(9) bugs:
. forward declare all static functions
. add a couple of redundant parens in return statements where they've
  been missing
. remove the space after exit since it's a function
2004-05-17 19:19:08 +00:00
joerg
54a0a97b34 Fix various style(9) bugs. This includes the removal of wrong
reimplementations of enodev() (for the smbread() and smbwrite()
functions), as well as fixing various errno values to conform to
errno(3).

Bruce also points out that a number of the pointer == NULL tests
are probably nonsense because the respective checks are already
done at upper layers.

(Mostly) submitted by:	bde
2004-05-17 18:55:45 +00:00
marcel
120eb39889 Fix typo in comment. While here, end the sentence with a period and
remove the empty line between the fdc and sio devices. The empty
line suggests that the comment applies to fdc only while it applies
to all following devices and options.

Typo spotted by: ru@
2004-05-17 18:36:14 +00:00
kientzle
75a7f5bd6e Set errno to 0 before calling getpwuid/getgrgid, so that error
messages will be displayed only when there is, in fact, an error.
2004-05-17 18:29:12 +00:00
kientzle
d686b7f3d6 POSIX prohibits any library function from setting errno to 0.
Correct my previous commit and add a comment to the manpage
indicating that the user must set errno to 0 if they wish to
distinguish "no such user" from "error".

Pointed out by: Jacques Vidrine (nectar@)
2004-05-17 18:27:05 +00:00
yar
83b77f8830 Minor language fixes. 2004-05-17 17:55:19 +00:00
sos
f217f52c7f Rip out the too verbose "spurious interrupt" printf's, they dont serve
a purpose any longer.
2004-05-17 17:53:12 +00:00
yar
77523fb790 New release notes:
cron(8) -j and -J options.
2004-05-17 17:43:40 +00:00
ps
f0f9792ad4 Turn SCSI pre-fetch ON. This is mainly for 64XX and 64X based
controllers and allows the controller to prefetch 1-2k on certain
PCI memory reads to the host.  The spec says this should only be
used for IA32 based systems.

Informed of feature by:	John Cagle <first.last@hp.com>
2004-05-17 17:27:38 +00:00
vkashyap
858adca10f Undid scottl's recent changes. 2004-05-17 17:16:58 +00:00
ru
26acde6f96 Allow buildworld and friends to complete when make(1) is called
with some debug flags (-d).

Noticed by:	Gleb Smirnoff
2004-05-17 16:19:51 +00:00
rik
4d93d1ed5f Add Cronyx Tau-PCI sync WAN adapters family entry. 2004-05-17 14:42:59 +00:00
rik
04e2963118 Spell Cronyx Tau and Sigma families correctly.
MFC after:	3 days
2004-05-17 14:35:32 +00:00
rik
099e2870c8 Connect Cronyx Tau-PCI to the system. 2004-05-17 14:24:52 +00:00
archie
9282ae7aa1 Update man page date for yesterday's change. 2004-05-17 14:21:00 +00:00
rik
765bc06371 Add description of Cronyx Omega2-PCI (8x port serial adapter). 2004-05-17 12:57:30 +00:00
tjr
aee8349a0c Use conversion state objects to store the accumulated wide character,
low bound, and the number of bytes remaining instead of storing the
raw byte sequence and deriving them every time mbrtowc() is called.
This is much faster -- about twice as fast in some crude benchmarks.
2004-05-17 12:32:40 +00:00
tjr
b40b6a2d84 Use a simpler and faster buffering scheme for partial multibyte characters. 2004-05-17 11:16:14 +00:00
joerg
4a85753b5f Wire smbmsg(8) into the build. 2004-05-17 10:57:03 +00:00
joerg
08d6172bf6 This commit was generated by cvs2svn to compensate for changes in r129330,
which included commits to RCS files with non-trunk default branches.
2004-05-17 10:56:05 +00:00
joerg
6f9cbc08f9 This is smbmsg(8), a small utility to send/receive SMBus messages.
Also included is a `bus-probe' modus of operation to help scanning
an I2C bus.
2004-05-17 10:56:05 +00:00
roam
b4325232c9 Unbreak the fdc module build after the repocopy of sys/isa/fd.c to
sys/dev/fdc/fdc.c.
2004-05-17 10:48:42 +00:00
ru
f6aa4621fd Assorted markup, grammar, and spelling fixes. 2004-05-17 08:35:43 +00:00
ru
d268c01ce2 Reapply local changes that got simply axed by the latest KAME merge.
Fixed some more markup.
2004-05-17 08:25:15 +00:00
rik
eb7d6363d2 Connect Cronyx Tau-PCI to the system. 2004-05-17 08:15:59 +00:00
kientzle
cf027fa3ed Speed up safe_fprintf by copying to a temp buffer, then writing
blocks at a time, rather than using putc().
2004-05-17 07:35:52 +00:00