Commit Graph

38420 Commits

Author SHA1 Message Date
Roger Hardiman
3d68f363a4 Removed checking for unit>NBKTR.
No longer need when using device_get_softc.
(also fixed bug where loadable bktr module could only access 1st device)
1999-06-13 16:05:00 +00:00
Roger Hardiman
d56282d89f Add bktr_load for the loadable Bt848/Bt878 driver. 1999-06-13 15:45:49 +00:00
Alan Cox
1c85e3df24 vm_map_protect:
The wrong vm_map_entry is used to determine if writes must not be
	allowed due to COW.
1999-06-12 23:10:38 +00:00
Roger Hardiman
05da1d9122 Add bktr (Bt848/Bt878 driver loadable module) to the Makefile i386 only section 1999-06-12 15:11:33 +00:00
Roger Hardiman
6c96acd35c Change perl5 to perl (same change as made in the fxp module) 1999-06-12 15:08:50 +00:00
Roger Hardiman
b72df81b21 Makefile to build a loadable bktr Bt848/Bt878 device driver
This allows the bt848 grabber to be loaded in the boot loader or
after bootup without the need for a custom kernel
1999-06-12 15:00:19 +00:00
Roger Hardiman
5a2f31f0fb Updated to use the new 4.x newbus API
Also removed the BSDI support (for now)
This allows the driver to be loaded/unloaded as a KLD
and loaded in the boot loader phase whithout making a custom kernel.
1999-06-12 14:54:56 +00:00
Mike Pritchard
49cb735198 Fix a minor style nit in the NAME section. 1999-06-11 16:26:29 +00:00
Mike Pritchard
fa91ff2797 Move the description of the strncmp() function from the RETURN VALUES
section to the DESCRIPTION section.

PR: 12133
Submitted by:	Sheldon Hearn <sheldonh@uunet.co.za>
1999-06-11 16:16:32 +00:00
Brian Somers
ad227d8bcc Show the correct error if we fail to open a device. 1999-06-11 13:28:29 +00:00
Ruslan Ermilov
adbdafc6b2 Don't accept divert/tee/pipe rules without corresponding option.
PR:		10324
Reviewed by:	luigi
1999-06-11 11:27:35 +00:00
Brian Somers
fbe3e6af84 Describe why a ``magic'' enddisc is not always a good idea. 1999-06-11 11:27:18 +00:00
Joseph Koshy
f1838373aa Larger, space separated fields in the output of repquota.
PR:		8730
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
1999-06-11 10:31:24 +00:00
Ruslan Ermilov
0a81860b0b Workaround the problem that the first (and only first) port name
can't have a dash character (it is treated as a ``range'' operator).
One could now use such a name by escaping the ``-'' characters.
For example:

# ipfw add 1 count tcp from any to any "ms\-sql\-s"
# ipfw add 2 count tcp from any ftp\\-data-ftp to any

PR:		7101
1999-06-11 09:43:53 +00:00
Tim Vanderhoek
eb90c9c86a Compile when NO_REGEX is defined.
Submitted by:	Geordy Kitchen <gkitchen@cs.ubc.ca> (gnu/12117)
1999-06-11 04:36:16 +00:00
Mark Murray
1bcd27ee72 Improvement in the description of what this does.
Prompted by (and thanks to): W Richard Stevens
1999-06-10 22:48:27 +00:00
Dmitrij Tejblum
23405ee478 Replace my previous fix of saving the FP state with a much simpler one: when
we swap out fpcurproc, save its FP state.

Suggested by:	bde
1999-06-10 20:40:59 +00:00
Kenneth D. Merry
b150665acf For vendor-specific commands sent using the 'camcontrol cmd' facility,
use the passed in CDB length, not 1.

Submitted by:	Jean-Marc Zucconi <jmz@FreeBSD.ORG>
1999-06-10 16:14:18 +00:00
Hidetoshi Shimokawa
766b710e3a Remove 'SET_ASM_OP' macro, which is unused now and rather harmful
for recent egcs.
1999-06-10 12:05:48 +00:00
Brian Somers
5dfb9210ae Allow reserved substitution strings to be escaped by preceeding them
with a backslash.
1999-06-10 09:34:57 +00:00
Brian Somers
194c225d5c Never bring a link back up after receiving a terminating signal,
don't rely on already being in PHASE_DEAD.
1999-06-10 09:06:30 +00:00
Jonathan Lemon
5a86dd8c67 Change variable used for calculating ending address of physical memory
from 'int' to 'vm_offset_t'.

Spotted by:	 Richard Cownie <tich@ma.ikos.com>
1999-06-10 02:48:51 +00:00
Brian Somers
cf2df276f9 Don't delete quota files when clean-tmps is enabled. 1999-06-10 00:34:15 +00:00
Brian Somers
9afe6bdaee Allow a remote IP and port range specification in the
``alias port'' command.
1999-06-10 00:17:27 +00:00
Brian Somers
ab959eb2b3 Initialise `mp'. 1999-06-09 20:27:26 +00:00
Brian Somers
7063995c94 Allow our endpoint discriminator to be enabled, disabled, accepted
and denied.  This is necessary for some MP implementations that
get confused if you accept their endpoint discriminator but reject
their MRRU.
1999-06-09 16:54:04 +00:00
Brian Somers
c6f660d19f Add a rather complicated but impressive example of how
to implement multi-link ppp over more than one ISP with
the ability to lose ISPs without loss of connectivity.

It *requires* that you either have administrative access
to a machine that's already connected to the 'net or at
least know a really nice person that does.
1999-06-09 12:32:55 +00:00
Andrey A. Chernov
97a83933e5 Add detection code for NVidia Riva 128,TNT,TNT2
(TNT2 from me)

PR: 12094
Submitted by: Ilya Naumov camel@avias.com
1999-06-09 11:46:43 +00:00
Jordan K. Hubbard
177bf8278c where_arge is allocated on stack and return address is overwritten
by buffer overflow.

Submitted by:	Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1999-06-09 09:29:53 +00:00
Jordan K. Hubbard
85cfadeb74 Remove apple.com from time server list.
Submitted by:	Mike Haro
1999-06-09 09:18:33 +00:00
Jordan K. Hubbard
47b06c4f2f Various edits to shrink fixit and enable dhcp-client 1999-06-09 09:08:22 +00:00
Brian Somers
8fb106c674 Use the correct pid when substituting PROCESSID.
Problem reported by: Amedeo Beck Peccoz <gea@gressoney.it>
1999-06-09 08:47:36 +00:00
Andrey A. Chernov
24c56392de little optimization of locale sensing code 1999-06-09 00:07:10 +00:00
Brian Somers
68645f3954 Don't use static variables if we don't have to. 1999-06-08 20:12:06 +00:00
Brian Somers
c506ecd549 Don't drop the last character from lines in ppp.secret unless it's '\n'. 1999-06-08 20:11:53 +00:00
Dmitrij Tejblum
2105375397 Use kmem_alloc_nofault() rather than kmem_alloc_pageable() to allocate
kernel virtual address space for UPAGES.
1999-06-08 17:14:22 +00:00
Dmitrij Tejblum
a839bdc8af Add a function kmem_alloc_nofault() - same as kmem_alloc_pageable(), but
create a nofault entry. It will be used to allocate kmem for upages.

(I am not too happy with all this, but it's better than nothing).
1999-06-08 17:03:28 +00:00
Dmitrij Tejblum
be960acd20 Keep fpcurproc locked in memory, so that we always can save the FP state
correctly.

This should fix the "pmap_changebit didn't" panic that some people see.

Reviewed by:	dfr
1999-06-08 16:42:19 +00:00
Andrey A. Chernov
8e8cc94742 Just ignore malformed locale variable unless -d specified 1999-06-08 14:59:12 +00:00
Brian Somers
b25d26374e If amd_flags is empty, don't add -p as it makes amd abend. 1999-06-08 13:00:30 +00:00
Brian Somers
aa8574707e Don't IPCP TLD if we're already doing it. This prevents
recursion by doing something like ``down'' or ``quit all''
in ppp.linkdown.
1999-06-08 11:58:27 +00:00
Brian Somers
b12ce35537 Make the `load'', dial'' and `open'' commands a big clearer.
Requested by: Michael Heitmeier <MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com>
1999-06-08 11:57:59 +00:00
Foxfair Hu
c6570d1dc3 Change locale name of Traditional Chinese : zh_TW.BIG5 -> zh_TW.Big5.
It makes compatible with IANA charset defination, and let existent I18N
app happier.

Ref: <http://www.isi.edu/in-notes/iana/assignments/character-sets>
1999-06-08 02:25:19 +00:00
Mike Smith
79fc0bf4a0 From the submitter:
- this causes POSIX locking to use the thread group leader
   (p->p_leader) as the locking thread for all advisory locks.
   In non-kernel-threaded code p->p_leader == p, so this will have
   no effect.

   This results in (more) correct POSIX threaded flock-ing semantics.

   It also prevents the leader from exiting before any of the children.
   (so that p->p_leader will never be stale) in exit1().

   We have been running this patch for over a month now in our lab
   under load and at customer sites.

Submitted by:	John Plevyak <jplevyak@inktomi.com>
1999-06-07 20:37:29 +00:00
Andrey A. Chernov
a26aa2519f Fix -T doubling 1999-06-07 19:28:47 +00:00
Andreas Klemm
e373a275ea solve name conflict
the old STREAM protocol has been obsoleted by "ST2" (RFC 1819)

Detected by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Suggested by:	Matt Crawford <crawdad@fnal.gov>
1999-06-07 19:25:23 +00:00
Andrey A. Chernov
e5eeb99e2b Localize NEQN part too 1999-06-07 19:23:04 +00:00
Andrey A. Chernov
ccb357e4ea Add ability to read/write localized manpages 1999-06-07 18:36:00 +00:00
Archie Cobbs
05292ba234 ksprintn() may be called with base=2, so redefine MAXNBUF accordingly.
Other brucification tweaks.

Obtained from:	bde@freebsd.org
1999-06-07 18:26:26 +00:00
Bruce Evans
39fbb9465e Fixed previous fix (dad -> rda via rad). 1999-06-07 16:36:41 +00:00