Commit Graph

87870 Commits

Author SHA1 Message Date
ken
70bd0898d6 Clean up dynamically allocated sysctl variables when we run dacleanup() and
cdcleanup().  This fixes sysctl problems ("can't re-use a leaf") when
someone adds another peripheral at the same unit number.  (e.g. rescan da0,
it goes away, then rescan again and da0 comes back, but since we haven't
cleaned up the sysctl variables from the last da0 instance, we can't
register the variables for the new instance under the same name.)

Reported by:	njl
Tested by:	njl
2003-03-26 04:38:39 +00:00
mdodd
b29b2ea566 Get rid of a few caddr_t's.
Submitted by:	 trhodes
2003-03-26 04:17:13 +00:00
mdodd
d505774b05 asn_get_encoded() takes 2 arguments. 2003-03-26 04:02:51 +00:00
jeff
b16324e722 - Define a _spinunlock() function so that threading implementations may do
more complicated things than just setting the lock to 0.
 - Implement stubs for this function in libc and the two threading libraries
   that are currently in the tree.
2003-03-26 04:02:24 +00:00
mdodd
e83d116ac9 Retire set_reqid(), unused since 1.2. 2003-03-26 03:41:12 +00:00
mdodd
0464bc4358 - Add const qualifier to char * arrays.
- Retire Traps array; this was obsoleted in 1.2
2003-03-26 03:19:56 +00:00
mdodd
0896fe2d51 Don't roll a private copy of basename(). 2003-03-26 02:54:56 +00:00
keramida
6c8beacd7d Explain the format of the at.allow and at.deny files in detail.
PR:		35942
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2003-03-26 02:38:18 +00:00
brian
ba277a3e14 Passing a u_char to ntohs() is guaranteed to give the wrong answer !
Submitted by:	Francis Dupont <Francis.Dupont@enst-bretagne.fr>
2003-03-26 02:27:32 +00:00
brian
a3b7ff0585 Add a ``force-scripts'' option for using chat scripts with -direct and
-dedicated links.

Submitted by:	Maksim Yevmenkin <myevmenk@exodus.net>
2003-03-26 02:03:08 +00:00
keramida
e182583687 Document the undcumnt -l option (that's a lowercase `el').
PR:		48466
Submitted by:	Peter Philipp <dot.bomb@freenet.de>
2003-03-26 02:00:35 +00:00
alfred
5fb77f7c70 req can not be NULL or we'd die.
Sponsored by: RED
2003-03-26 01:46:11 +00:00
keramida
cc265842d3 Document the MAIL_AGENT environment var.
PR:		48277
Submitted by:	Stefan Walter <sw@gegenunendlich.de>
2003-03-26 01:45:20 +00:00
keramida
5ded06e352 Document mountd_flags.
PR:		50023
Submitted by:	Simon L.Nielsen <simon@nitro.dk>
2003-03-26 01:39:29 +00:00
keramida
872a3a449b Update amr(4) to note that LSILogic MegaRAID 320-[1/2] cards work.
PR:		50139
Submitted by:	asmodai
2003-03-26 01:34:23 +00:00
keramida
936ff7b73e There are 5 securelevels, not 4.
PR:		docs/50049
Submitted by:	Colin Percival <cperciva@sfu.ca>
2003-03-26 01:30:34 +00:00
keramida
1fa8c106ee Add missing Danish (doc/da_*) language doc subdirectory
PR:		docs/50290
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
2003-03-26 01:25:39 +00:00
mux
d63525df51 Try to make the MBUF_FRAG_TEST code work better.
- Don't try to fragment the packet if it's smaller than mbuf_frag_size.
- Preserve the size of the mbuf chain which is modified by m_split().
- Check that m_split() didn't return NULL.
- Make it so we don't end up with two M_PKTHDR mbuf in the chain.
- Use m->m_pkthdr.len instead of m->m_len so that we fragment the whole
  chain and not just the first mbuf.
- Fix a nearby style bug and rework the logic of the loops so that it's
  more clear.

This is still not quite right, because we're clearly abusing m_split() to
do something it was not designed for, but at least it works now.  We
should probably move this code into a m_fragment() function when it's
correct.
2003-03-25 23:49:14 +00:00
jhb
77e623bc9a Add an options entry for HTT in SMP and GENERIC similar to the SMP and
APIC_IO options.

Requested by:	John Cagle <john.cagle@hp.com>
2003-03-25 23:31:14 +00:00
jhb
a5fbdf69df Put a newline in between APIC_IO and HTT to try and show that HTT is not
mandatory.
2003-03-25 23:29:44 +00:00
mdodd
caabe1a193 - Replace hexdump() with a prettier version.
- Reformat log output.
- Consolidate PDU printing code into print_pdu().
2003-03-25 22:22:19 +00:00
silby
dc7f6e718f Update the description of the -u option to mention that IP_PORTRANGE_HIGH
and _DEFAULT are the same for 5.x.

Committed under threat of action from:	The mdoc police
2003-03-25 22:20:02 +00:00
scottl
61ec89edc4 aic79xx.reg:
Correct default precompensation value for RevA hardware.
2003-03-25 22:16:27 +00:00
mdodd
0c8aecd9f9 Set pdu->pdulen in build_pdu(). 2003-03-25 22:10:01 +00:00
mdodd
870e122334 Don't compile in lmi_object_instance(). 2003-03-25 22:01:27 +00:00
mdodd
0c5a8e73cf - Handle the 'GET PREFIX' request.
- Deal with MADGE_OBJECT1 requests.
- Move code inside of switch cases to separate functions.

Submitted by:	 Richard Hodges <rh@matriplex.com>
2003-03-25 20:34:46 +00:00
mdodd
4ca84e8b5a Correct a comment.
Submitted by:	 Richard Hodges <rh@matriplex.com>
2003-03-25 20:25:05 +00:00
mdodd
1afb56720c - Add a comment regarding SETPFX_OBJID
- Add an Objid definition for MADGE_OBJECT1
- Add an array to map ilmi_states to ASCII descriptions.

Submitted by:	 Richard Hodges <rh@matriplex.com>
2003-03-25 20:22:02 +00:00
olgeni
9fbdf6359f Whitespace: wrap paragraph before column 80 (no content changes).
Approved by:	bmah
2003-03-25 20:21:20 +00:00
olgeni
1db1d272a8 Some spelling fixes.
Approved by:	bmah
2003-03-25 20:18:37 +00:00
olgeni
5e8b6f1689 Remove trailing whitespace.
Approved by:	bmah
2003-03-25 20:17:31 +00:00
mdodd
6896c38e46 Clean up formatting.
Submitted by:	 Richard Hodges <rh@matriplex.com>
2003-03-25 20:15:01 +00:00
jhb
671aa92ea0 Remove extraneous check. We are not going to return from copyin/out on
the stack of a thread A but actually be thread B instead of thread A.
2003-03-25 20:13:24 +00:00
mdodd
5be2b1a1e9 Print the return value from mmap() in the DEBUG case. 2003-03-25 20:02:55 +00:00
jhb
81073fb53b Revert previous commit which accidentally snuck in with some unrelated
changes.

Reported by:	bde
2003-03-25 19:46:55 +00:00
trhodes
f3cf0d8bbe Remove some more MAKEDEV information.
PR:		50294
Submitted by:	Sergey A. Osokin <osa@FreeBSD.org.ru>
2003-03-25 18:43:10 +00:00
trhodes
11ef408e47 Fix a typo in msmith's email address.
Noticed by:	Jesus R. Camou <jcamou@azstarnet.com>
2003-03-25 18:13:20 +00:00
ps
1f67c859cb Add some HP cards to the supported list of cards. Also mention
that 1000BaseTX only supports full-duplex.

Submitted by:	John Cagle <john.cagle@hp.com>
2003-03-25 18:08:57 +00:00
trhodes
69f730dbf6 Remove MAKEDEV rot.
PR:		50286, 50285
Submitted by:	Sergey A. Osokin <soa@FreeBSD.org.ru>
2003-03-25 18:08:50 +00:00
trhodes
5ef2a20ee5 Update the handbook printing section URL so that it points to the
correct location.
2003-03-25 18:03:11 +00:00
das
3ea4e0447c This commit was generated by cvs2svn to compensate for changes in r112620,
which included commits to RCS files with non-trunk default branches.
2003-03-25 17:55:07 +00:00
das
ac4cce98d0 Import new sources. The only material change in this update is to
add locale support for hexadecimal floating point conversions.

Noticed by:	ache
Reviewed by:	mike (mentor)
2003-03-25 17:55:07 +00:00
mdodd
bd86f7b4fe Back off WARNS until I've had a chance to deal with the problems on
sparc64/alpha.
2003-03-25 17:40:00 +00:00
ume
f455bf97a4 Once ppp session is over, the route to ff02::tun0/32 was
deleted, and never came back.  Now, the route to
ff02::tun0/32 is installed at the end of IPV6CP negitiaton.
2003-03-25 17:01:39 +00:00
eivind
0eaa0a5cbf Add support for identifying NORID (norwegian top level registry) handles.
Reviewed by:	mike (with slight changes based on feedback afterwards)
2003-03-25 17:00:03 +00:00
ume
9285b79003 We need filling scopeid to install routes for link-local
scope addresses.
2003-03-25 16:49:08 +00:00
jhb
506e1c7087 Remove obsolete at_fork() and at_exit() manpages. Curiously, at_exec()
didn't have a manpage.

Reminded by:	ru
2003-03-25 16:36:47 +00:00
njl
e17741e782 Add code to implement two new USB quirk types: NO_INQUIRY and NO_INQUIRY_EVPD
The former fakes a valid response to an inquiry command.  (I am completely
blown away that there are devices which hang upon receiving inquiry).  The
latter returns "invalid request" to any inquiry commands with EVPD set.
NO_INQUIRY implies NO_INQUIRY_EVPD but not vice versa.  Both quirks have been
tested separately on my USB key although it didn't require either of them.

While I'm here, fix wildcarding so that any/all of vendor, product, revision
can be wildcarded.

Idea from:	Linux
MFC after:	2 weeks
2003-03-25 16:21:09 +00:00
ume
f92a704df5 Since ppp.link{up,down} is invoked at the end of IPCP negotiation, if
we need ppp.link{up,down}, we couldn't disable IPCP.  Now, if IPCP is
disabled, ppp.link{up,down} is invoked at the end of IPV6CP
negotiation.
2003-03-25 15:59:27 +00:00
brueffer
0501a6a0fa Remove reference to MAKEDEV 2003-03-25 15:12:07 +00:00