Mike Heffner
7a536c3b41
De-__P()-ify, convert K&R style declarations to ANSI ones
2001-02-08 05:58:55 +00:00
Mike Heffner
aeacf525ad
Prevent string overflows by using safer string functions
...
Use tolower() rather than bit or-ing
Sanity check user specified printf() format
Exit when too many input files are given
Remove register from variables
Reviewed by: markm, imp
2001-02-08 05:33:19 +00:00
David E. O'Brien
e09c90cd8a
Bump __FreeBSD_cc_version to 500002 to show the -pthread option change.
2001-02-08 05:27:17 +00:00
Semen Ustimenko
a66bd858ec
Add recently added PHY drivers sources.
...
Reminded by: Peter Wemm <peter@netplex.com.au>
2001-02-08 04:58:17 +00:00
John Baldwin
5dbc7fe2d7
Don't bother with acquiring/releasing Giant around kmem_malloc() and
...
kmem_free() for now. Kmem_malloc() and kmem_free() now have appropriate
assertions in place, and these checks aren't feasible until more of the
networking code is locked down. Also, the extra assertions here should
already be caught by the WITNESS code as lock order violations should
mutex operations on Giant be reintroduced here later.
2001-02-08 00:27:38 +00:00
John Baldwin
297c46b68c
Don't enable interrupts for a kernel breakpoint or trace trap. Otherwise,
...
this negates the explicit disabling of interrupts when entering the
debugger in Debugger().
2001-02-08 00:10:07 +00:00
John Baldwin
393c26a080
- Check if the ccb_infos in the softc is NULL before trying to free it in
...
adv_free() as the ISA probe routine doesn't malloc() ccb_infos but does
call adv_free().
- Release the ISA-only overrun DMA tags, bufs, and maps if the probe fails.
Tested by: rwatson
2001-02-08 00:00:12 +00:00
Peter Wemm
89b716473e
The code I picked up from NetBSD in '97 had a nasty bug. It limited
...
the index of the pollfd array to the number of fd's currently open, not
the maximum number of fd's. ie: if you had 0,1,2 open, you could not
use pollfd slots higher than 20. The specs say we only have to support
OPEN_MAX [64] entries but we allow way more than that.
2001-02-07 23:28:01 +00:00
John Baldwin
67b00ca875
When SMPng was first committed, we removed 'cpl' from the interrupt
...
frame. Teach ddb about this as there is one less word for it to skip
over when finding a trapframe on the interrupt frame stack.
2001-02-07 22:41:47 +00:00
Semen Ustimenko
e8288d7f9c
Oops... I knew i shouldn't use arrows in vi. Fix a typo causing errors in
...
compilation.
2001-02-07 22:34:15 +00:00
Jeroen Ruigrok van der Werven
1debc9f69d
Synch: Properly constify sccsid[].
...
Replace bcopy() with memmove().
2001-02-07 22:25:56 +00:00
Jeroen Ruigrok van der Werven
197640b1d7
Synch: Prefer memmove() over bcopy().
2001-02-07 22:22:57 +00:00
Jeroen Ruigrok van der Werven
a4322ab2f6
Synch: Properly constify sccsid[].
2001-02-07 22:20:44 +00:00
Jeroen Ruigrok van der Werven
6f76661f7f
Synch: prefer memmove() over bcopy(), since the first is a C-standard
...
interface, whilst the latter is a BSD'ism.
2001-02-07 22:18:58 +00:00
Jeroen Ruigrok van der Werven
2b081e30cf
Synch: Add $FreeBSD$.
2001-02-07 21:58:16 +00:00
Cameron Grant
d55a14469f
back out rev 1.49, looks like i committed it from the wrong tree.
...
include the changes 1.49 was supposed to have.
Noticed by: peter
2001-02-07 20:45:40 +00:00
Semen Ustimenko
0cc2be2120
Reflect recently added support for SMC9432FTX cards.
2001-02-07 20:18:54 +00:00
Semen Ustimenko
67a9752835
Add support for SMC9432FTX card, possibly othe fiber optic SMC9432 family
...
cards will work too.
2001-02-07 20:11:02 +00:00
Semen Ustimenko
c2ba59326e
Update tx(4) man page to reflect changes since 1997, especially
...
recent changes.
2001-02-07 20:09:50 +00:00
Semen Ustimenko
9526a692c6
Add QS6612, AC101 and LXT970 personal drivers and register definitions.
...
Obtained from: NetBSD/OpenBSD
2001-02-07 19:57:40 +00:00
Ruslan Ermilov
3a4ab3655c
1. Disable hyphenation on a dash (`-') character in macro arguments.
...
2. Disable recognition of end-of-sentence characters in text-type
macro arguments.
3. Fix the missing space bug when an end-of-sentence character was
followed by another punctuation character.
4. Fix the bug where hyphenation was left disabled after .Re.
Obtained from: mdocNG
2001-02-07 17:45:22 +00:00
Maxim Sobolev
a06f15e4b8
Fix a f^Hdamn typo, which prevented to fopen() more that 17 files at once.
...
Tested by: knu, sobomax and other #bsdcode'rs
2001-02-07 17:34:48 +00:00
Ruslan Ermilov
036f8336fa
mdoc(7) police: replace two -unfilled displays with -tag lists.
...
This works only because of bugs in current implementation: the
first .It after ``.Bd -unfilled'' re-enables filling mode and
does not restore (disable) it back afterwards.
2001-02-07 16:02:21 +00:00
Ruslan Ermilov
46eea498da
mdoc(7) police: Change -filled displays (which just happen
...
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
2001-02-07 13:45:30 +00:00
Ruslan Ermilov
b51747eb5e
Add a missing line-break request so that -ragged
...
-compact lists always start from the new line.
Example:
foo
.Bd -ragged -compact
bar
.Ed
Produced:
foo bar
Now produces:
foo
bar
2001-02-07 11:26:57 +00:00
David E. O'Brien
3e52f85a2b
Bump the i386 default root by another 30MB to 100MB total. The Alpha
...
default root bumps 20MB to 110MB.
Requested by: kris
2001-02-07 11:26:41 +00:00
Ruslan Ermilov
b74e63f284
mdoc(7) police: Removed extraneous .No call. The .Nm macro in
...
mdocNG has been fixed to properly handle its arguments so this
was causing the extraneous (undesirable) space.
2001-02-07 10:11:57 +00:00
David E. O'Brien
2dfcc3fa0d
Add 20MB to the default / size for this in-development branch.
2001-02-07 09:29:29 +00:00
Poul-Henning Kamp
ee613f9cb8
Use correct index when counting short errors.
2001-02-07 08:44:42 +00:00
Peter Wemm
0b7c27b904
Change the peripheral driver list from a linker set to module driven
...
driver registration. This should allow things like da, sa, cd etc to be
in seperate KLD's to the cam core and make them preloadable.
2001-02-07 07:05:59 +00:00
Cameron Grant
9d7227e565
conditionalize "hwptr went backwards" messages
...
modify default buffer size heuristic to not max out at 4k. mpg123 should now
behave better under load.
2001-02-07 06:48:28 +00:00
Warner Losh
b9f90e4ffc
Move ti1031 to the 16-bit bridge section
2001-02-07 01:16:40 +00:00
Jeroen Ruigrok van der Werven
5728844663
Fix some nits:
...
- whitespace: incorrect usage of tab or space
- removal of comments which served either no purpose or were
misleading
Submitted by: bde [a while ago]
2001-02-06 23:39:06 +00:00
Jeroen Ruigrok van der Werven
525c3eb1cf
Add list.h to the to be installed header files.
2001-02-06 22:27:16 +00:00
Philippe Charnier
4c86f3ad84
Spelling
...
Remove unused #includes
2001-02-06 20:13:48 +00:00
Philippe Charnier
39e21a1b64
Remove duplicate FreeBSD Id
...
Remoce unused #include
Use imperative mode to start flag description
2001-02-06 20:03:48 +00:00
Philippe Charnier
3a87eff1cf
Rework diagnostics text
...
Remove unused #include
2001-02-06 20:01:40 +00:00
Søren Schmidt
b17f7a1aa5
Introduce busspace instead of the good old in/out instructions.
...
Not pretty but it works (I hope)...
2001-02-06 16:44:25 +00:00
Ruslan Ermilov
cde1a559db
mdoc(7) police: removed leading (non-sense) .Ns call.
2001-02-06 16:22:17 +00:00
Ruslan Ermilov
c7368f9305
mdoc(7) police: simplify construct.
2001-02-06 16:20:31 +00:00
Ruslan Ermilov
0c5c9e884d
mdoc(7) police: correct .Dd, add missing .El.
2001-02-06 16:17:49 +00:00
Ruslan Ermilov
52dc640873
mdoc(7) police: .Xr name -> .Nm
2001-02-06 16:15:11 +00:00
Ruslan Ermilov
152a4abe51
mdoc(7) police: correct .Dd format.
2001-02-06 16:13:09 +00:00
Ruslan Ermilov
308aca6c86
mdoc(7) police: minor style/formatting fixes.
2001-02-06 15:07:35 +00:00
Nick Hibma
785fe81a71
Regen.
2001-02-06 14:59:28 +00:00
Nick Hibma
483f8be664
Add a comment about the fact that adding an ID doesn't actually do anything.
2001-02-06 14:59:03 +00:00
Ruslan Ermilov
eb8afd58fe
mdoc(7) police: minor style/formatting fixes.
2001-02-06 14:58:39 +00:00
Søren Schmidt
dbb5bf4bf6
Damn! that was the wrong patch! get it right this time....
2001-02-06 12:49:33 +00:00
Jeroen Ruigrok van der Werven
680a9c90e8
Our manual pages are no longer in /usr/man, but in /usr/share/man.
...
Also, add the default #!/bin/sh for shellscripts, as well as $FreeBSD$.
2001-02-06 12:45:29 +00:00
Søren Schmidt
06a519dfc9
Fix the clone functionality in atapi-cd, it didn't work for
...
devs other than the first, and allowed to clone a nonexistent
device..
2001-02-06 12:41:53 +00:00