Commit Graph

85225 Commits

Author SHA1 Message Date
ache
c60183cc58 Add (unsigned char) cast to ctype macros
Handle NULL return from malloc and strdup
2003-01-19 03:05:01 +00:00
obrien
665cbf9fac Remove miidevs.h and generate it from miidevs at compile time.
The devlist2h.awk tool to do this has been repocopied to sys/tools/.
2003-01-19 02:59:34 +00:00
jake
443c2037af Make xl sparc64 too. 2003-01-19 02:54:10 +00:00
mtm
e6f9cdec45 Kill whitespace at EOL.
Approved by: markm (mentor)
Noticed by:  ru
2003-01-19 01:49:31 +00:00
jmallett
70c14dc49d Don't crash when utilities are dumb and try to read less than the disk block
size (dumpfs may try to read the cylinder size (or is is sector size?) by way
of bread).  Prevents a bounds error.
2003-01-19 01:39:53 +00:00
jmallett
7a4607b5ca Use libufs to read one cylinder group from the disk at a time. 2003-01-19 01:31:49 +00:00
jmallett
445adec218 Add facility to read one, or a string of, cylinger groups. 2003-01-19 01:31:26 +00:00
obrien
8af24a10fd Sync with NetBSD -- sl_add() now returns an int. 2003-01-19 01:16:01 +00:00
jmallett
4f8d2d71f0 Simplify the main function now that libufs will hunt for the disk for us. 2003-01-19 01:02:25 +00:00
jmallett
0a0a65bb42 Hunt for a disk to operate on, if we're passed a partition mountpoint, etc.
Concept reviewed by:	phk
2003-01-19 00:43:17 +00:00
imp
c4382c90c1 Fix comment about what we do when there are no listeners. 2003-01-19 00:34:17 +00:00
jmallett
73809496b4 Per-variable\ entry headers, to allow the 'ps -otime -otime=FOO' or similar
case to do the right thing and affect exactly one column.  This is consistent
with GNU ps(1) in BSD mode, and POLA.
2003-01-19 00:31:16 +00:00
tmm
d52835b4ab Make the xl driver work on sparc64:
- Add conversions to/from little endian for fields that the NIC accesses
  by DMA as required.
- Add some bus_dmamap_sync() calls, and correct some existing ones.
- Read the receiver information from the EEPROM in an endian-neutral
  manner.
- Load all RX and TX descriptors in a single DMA map up front, and
  get the bus addresses of individual descriptors by address arithmetic;
  this fixes multiple use of the descriptor tags, which would have
  undesired effects.
It seems that xl still does not work on e250 boxen, for reasons which
are not clear yet.

Reviewed by:	mux
2003-01-19 00:23:59 +00:00
jmallett
0c8d64a2c4 When inserting a non-user-specified (e.g. not via -o or -O) format, don't dupe
one that is already there.  This is consistent with GNU ps(1)'s BSD mode, and
POLA.

Reported by:	Andy Farkas <andyf@speednet.com.au>
Tested by:	Andy Farkas <andyf@speednet.com.au>
2003-01-19 00:22:34 +00:00
obrien
6f344674a0 Use __FBSDID. 2003-01-19 00:17:03 +00:00
obrien
9ae17ce137 Protect against multiple inclusions. 2003-01-18 23:43:12 +00:00
obrien
a390eae40f We don't need our own personal definition of __CONCAT. 2003-01-18 23:26:04 +00:00
obrien
d09e50792c Simplify the Makefile by just using our standard PROG variable. 2003-01-18 23:09:56 +00:00
tom
f199b661e8 Note that Wisecom's PCI adapter works. 2003-01-18 21:47:48 +00:00
obrien
e3fd0e351e Rev 1.16 renamed VM_METER to VM_TOTAL. This is breaking 3rd-party apps.
So add a VM_METER compat define.

Submitted by:	Andy Fawcett <andy@athame.co.uk>
2003-01-18 21:14:02 +00:00
ue
52f45b2ab2 Add a missing word 2003-01-18 20:03:48 +00:00
alfred
1cdda66e68 Document lock order reversals possible when calling allocation functions
with vnode interlocks held.

Emphasize that users need to be careful with malloc flags versus mbuf
flags.

Remove stale portion in vnode.9 about v_tag.  We don't have it anylonger.

Submitted by: Hiten Pandya <hiten@unixdaemons.com>
2003-01-18 19:51:52 +00:00
hsu
a18d0c206f Optimize away call to bzero() in the common case by directly checking
if a connection has any cached TAO information.
2003-01-18 19:03:26 +00:00
mux
baad1fb8f8 Don't try to free() map in bus_dmamap_destroy() when it's
set to &nobounce_dmamap.  A similar bug was fixed by wpaul
in revision 1.19 of sys/alpha/alpha/busdma_machdep.c.
2003-01-18 18:33:56 +00:00
gioria
700b439510 Allow French releases notes to be build correctly
Hat To:  Hiroki SATO  <hrs@eos.ocn.ne.jp>
2003-01-18 18:03:01 +00:00
ue
344ead9603 MFbed: translation updates and fixes
early-adopter/article.sgml:	fixes only
errata/article.sgml:		1.17 -> 1.18
2003-01-18 16:42:18 +00:00
phk
1a85c3746b Inline now trivial functions getccdbuf() and putccdbuf().
Fix another trivial memory-leak.
2003-01-18 12:23:49 +00:00
des
f11f32abe2 Don't truncate lines if an error occurred. 2003-01-18 12:15:34 +00:00
des
2555f8d918 Indentation cleanup. 2003-01-18 12:12:49 +00:00
grehan
0d5519ef7a Removed unnecessary includes and brought up to date with ata
common code by adding lock functions.
2003-01-18 11:46:50 +00:00
phk
5bbadf161c Fix minor memory-leak. 2003-01-18 11:33:06 +00:00
grehan
76e3af26c7 Stub profile.h, required for userland builds.
Approved by:  Benno
2003-01-18 11:31:58 +00:00
grehan
3ccdb905db <machine/ieee.h>, taken from sparc64
Approved by:  Benno
2003-01-18 11:30:59 +00:00
grehan
75726c8985 Fix bugs with operand ordering and unnecessary sync/eieio ops. Mostly
obtained from Alpha atomic.h

Approved by:  Benno
2003-01-18 11:28:36 +00:00
grehan
9ae60db947 Allow the MD frame definition to be seen in. Required for truss/ptrace.
Approved by:  Benno
2003-01-18 11:25:21 +00:00
grehan
f683674356 RAIDframe requires LONG_BIT
Approved by:  Benno
2003-01-18 11:23:42 +00:00
grehan
022b9e97e5 Prepended underscores to macro local vars, avoiding gcc "declaration
shadows global" warning

Approved by:  benno
2003-01-18 11:20:06 +00:00
grehan
63c6d5a631 Change definition of int64 to avoid gcc3.2.1 complaints. Taken from i386
Approved by:  benno
2003-01-18 11:18:42 +00:00
phk
d5b262df48 Use the M_CCD malloc bucket instead of M_DEVBUF.
Don't keep a private freelist of a low number of trivially small structures.
2003-01-18 11:04:41 +00:00
phk
577399eeab Inline trivial function ccdintr() into its one caller ccdiodone().
Only call ccdfind() once in ccdiodone() and cache the result.
2003-01-18 10:44:17 +00:00
phk
910debfbc0 Fix two errorchecks to check for negative error returns. 2003-01-18 10:29:24 +00:00
phk
961794d713 Sanitize the copyright section a bit: We do not need two copies of the
four-clause BSD license in the file, one will do.
2003-01-18 10:08:27 +00:00
nyan
85ff31750a Remove unneeded entries. 2003-01-18 08:29:10 +00:00
nyan
80176aa181 Fixed comment. 2003-01-18 08:26:42 +00:00
jmallett
03b3bddb34 Consistentify output whitespace. 2003-01-18 06:29:15 +00:00
billf
78d6e2099a MFCrypto: update RFC assigned telnet options (r1.9) 2003-01-18 06:13:57 +00:00
billf
75d164a3d8 add more RFC defined telnet options
Reviewed by:	ps
2003-01-18 06:10:21 +00:00
mtm
93839ecd46 Make the debug messages, for when a script rolls its own start routine,
more usefull. Currently it just says 'xxx_cmd'; whereas with this
change it will name the routine that's being run.

Approved by: markm (mentor)
2003-01-18 05:25:59 +00:00
jmallett
291746d562 Fix typo. 2003-01-18 05:06:07 +00:00
mdodd
9fa1ba53a7 - Removed unecesary code.
- Correct smapi32_new() asm (still doesn't work.)
- Attach to mainboard not isa.
2003-01-18 04:36:12 +00:00