Commit Graph

85213 Commits

Author SHA1 Message Date
tmm
6521d6661b 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
edceb163e8 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
18b1cd3be6 Use __FBSDID. 2003-01-19 00:17:03 +00:00
obrien
58aac8635b Protect against multiple inclusions. 2003-01-18 23:43:12 +00:00
obrien
aa5f5c4386 We don't need our own personal definition of __CONCAT. 2003-01-18 23:26:04 +00:00
obrien
d634217e6e Simplify the Makefile by just using our standard PROG variable. 2003-01-18 23:09:56 +00:00
tom
b8c6667de2 Note that Wisecom's PCI adapter works. 2003-01-18 21:47:48 +00:00
obrien
58127e30ae 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
ae94fee62a Add a missing word 2003-01-18 20:03:48 +00:00
alfred
ad1417e585 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
e51cb67095 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
b7babb3b23 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
8e210f9f78 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
7fb628c664 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
f55309d685 Inline now trivial functions getccdbuf() and putccdbuf().
Fix another trivial memory-leak.
2003-01-18 12:23:49 +00:00
des
60b9ed7933 Don't truncate lines if an error occurred. 2003-01-18 12:15:34 +00:00
des
90177a2f2f Indentation cleanup. 2003-01-18 12:12:49 +00:00
grehan
5d9f4871f6 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
5c35a13d04 Fix minor memory-leak. 2003-01-18 11:33:06 +00:00
grehan
c046c0c238 Stub profile.h, required for userland builds.
Approved by:  Benno
2003-01-18 11:31:58 +00:00
grehan
39427152ad <machine/ieee.h>, taken from sparc64
Approved by:  Benno
2003-01-18 11:30:59 +00:00
grehan
8c7799b3b2 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
7842696209 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
8dfb1b6342 RAIDframe requires LONG_BIT
Approved by:  Benno
2003-01-18 11:23:42 +00:00
grehan
015743788b Prepended underscores to macro local vars, avoiding gcc "declaration
shadows global" warning

Approved by:  benno
2003-01-18 11:20:06 +00:00
grehan
27d5ee2242 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
8a7295c157 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
3f81ff7d9e 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
62f09454e6 Fix two errorchecks to check for negative error returns. 2003-01-18 10:29:24 +00:00
phk
20e271ed70 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
c5c3367371 Remove unneeded entries. 2003-01-18 08:29:10 +00:00
nyan
19b55744da Fixed comment. 2003-01-18 08:26:42 +00:00
jmallett
1b25583da0 Consistentify output whitespace. 2003-01-18 06:29:15 +00:00
billf
7ef98bcf6b MFCrypto: update RFC assigned telnet options (r1.9) 2003-01-18 06:13:57 +00:00
billf
a6d93d624a add more RFC defined telnet options
Reviewed by:	ps
2003-01-18 06:10:21 +00:00
mtm
823567a323 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
18874b9bb4 Fix typo. 2003-01-18 05:06:07 +00:00
mdodd
3f3ed84f5b - Removed unecesary code.
- Correct smapi32_new() asm (still doesn't work.)
- Attach to mainboard not isa.
2003-01-18 04:36:12 +00:00
jmallett
fe90bb86dc Nuke dumb error reporting code, people can just use disk::d_error. Unify the
DEBUG and d_error initialisation into an ERROR macro, which can both trace and
set the d_error field.  Much a more meaningful thing, I should say.
2003-01-18 04:22:14 +00:00
jmallett
9dfe4c44e6 Simplify conditional. 2003-01-18 04:20:20 +00:00
jmallett
b8175f1cf8 Refer to the process label as proclabel, as there is a function called label,
and that's what these locals were called before.
2003-01-18 03:31:30 +00:00
rwatson
68abf0c22e Caution programmers not to confuse M_DONTWAIT with M_NOWAIT. They
are not the same.

Suggested by:	Hiten Pandya <hiten@unixdaemons.com>
2003-01-18 03:25:40 +00:00
marcel
0a7bb437f5 MFp4: Add support for memory mapped UARTs, but don't add any devices
yet that depend on it because sio(4) needs support for it before it
can be used. There's no reason why zs(4) couldn't attach to puc(4)
in the (near?) future (in principle), so don't make memory mapped I/O
support in sio(4) a precondition for this change.
2003-01-18 02:54:16 +00:00
marcel
da4e5bb559 If we're going to build and install this on ia64, we might as well
teach it about ia64 specific section types, dynamic tags and machine
type. This is a mostly insignificant change given the amount of
work that this tool obviously needs...
2003-01-18 02:33:49 +00:00
shiba
9646b8b5a9 Add BUFFALO LPC-CF-CLT(10Base-T Compact Flash Ether Card). 2003-01-18 02:14:23 +00:00
shiba
f9f53907d1 Regen. 2003-01-18 02:13:10 +00:00
shiba
4459b903d2 Add Accton EN2216. 2003-01-18 01:14:48 +00:00
shiba
aaef1ade69 Regen. 2003-01-18 01:14:01 +00:00
hsu
d1ddd887ee Fix long-standing bug predating FreeBSD where calling connect() twice
on a raw ip socket will crash the system with a null-dereference.
2003-01-18 01:10:55 +00:00
tjr
0e99bf188e Fake up a struct componentname to pass to VOP_WHITEOUT instead of passing
NULL. union_whiteout() expects the componentname argument to be non-NULL.
Fixes a NULL dereference panic when an existing union mount becomes the
upper layer of a new union mount.
2003-01-18 01:01:20 +00:00