Commit Graph

47530 Commits

Author SHA1 Message Date
phk
296f8c148a Add a missing THREAD_UNLOCK() found missing by Valentin Nechayev
<netch@segfault.kiev.ua>

Remove allocation failure check from 'A' option, the 'X' option does
this as a standalone check now.
2000-04-10 09:24:44 +00:00
dfr
8031b933e7 Use the existing Fx macros for rendering "FreeBSD ver".
Submitted by: Sheldon Hearn <sheldonh@uunet.co.za>
2000-04-10 08:21:16 +00:00
obrien
9fe5b6aa8f Don't prepend "r" for the raw device anymore. 2000-04-10 05:54:47 +00:00
archie
581b771a42 Clarification to previous commit: this code implements the algorithm
which is commonly referred to under the trademarked name 'RC4'.
However, this is not the actual 'RC4' implementation.
(Forced commit)
2000-04-09 22:48:12 +00:00
archie
354a0086f5 Add new options NETGRAPH_MPPC_COMPRESSION and NETGRAPH_MPPC_ENCRYPTION.
(Note: NETGRAPH_MPPC_COMPRESSION is disabled until we find a non-proprietary
implementation of the MPPC compression algorithm.)
2000-04-09 21:15:23 +00:00
dmlb
1c8a6f0fc6 Most of this commit are minor changes whilst trying to make the driver
robust enough to work with dhcp. Essentially the driver returns to userland
before certain commands have been completed by the card. I'm trying to
work out the best way to fix this. There are very minor functional changes,
most of this is debugging.

Rework of debugging so a bit mask is used and re-allocation around the place.

Tried to protect ray_init with a tsleep until the network has been joined. I think this is only a partial fix as we also update the mcast and promisc
values.
2000-04-09 21:07:43 +00:00
archie
14c7590727 Add ng_mppc(8) netgraph node as a KLD module.
Obtained from:  Whistle source tree
2000-04-09 21:07:39 +00:00
archie
322f08278e A netgraph node that implements Microsoft Point-to-Point compression
(MPPC) and Microsoft Point-to-Point encryption (MPPE) protocols.

Note: the MPPC part is disabled as it requires proprietary files.

Obtained from:	Whistle source tree
2000-04-09 21:04:55 +00:00
archie
5bb79e5ce8 A simplified RC4 implementation for kernel use. 2000-04-09 21:01:01 +00:00
archie
a06297ebe6 Fix bogus const-ness in declaration of sha1_loop(). 2000-04-09 20:10:55 +00:00
archie
e0670dffd3 Document EWOULDBLOCK as a possible errno return value. 2000-04-09 19:10:57 +00:00
brian
eb7aa2809f Add a missing ``break'' 2000-04-09 18:27:08 +00:00
sos
2971a43a04 Add support for ATA66 on newer revisions of the VIA 82C596 2000-04-09 15:08:27 +00:00
jkh
c5bf423390 Nuke duplicate struct declaration from somebody's paste-o 2000-04-08 22:50:18 +00:00
imp
b07aa508a2 Re-enable probe for isa and correct the plug and play issue that
caused this device to be disabled.  It will no longer claim all
devices with PNPBIOS enabled.
2000-04-08 17:23:46 +00:00
imp
236c51d758 Don't complain about not getting resources for the compatibility shim
drivers unless booted -verbose.  This cleans up the boot messages
somewhat as the old messages were confusing and not helpful for most
people.
2000-04-08 17:21:15 +00:00
imp
028e27dc43 Add support for compiling kernel modules outside of the tree. If you
do not have the kernel you wish to compile against in either
/usr/src/sys or /sys, then you will need to set SYSDIR to point to the
sys directory of the source tree that contians the source.

Also, minor tweaks to the load/unload targets from Bruce.

I've had this through several make worlds, as well as using it on a
daily basis for the past couple of weeks to build modules needed for
testing at Timing Solutions.

Reviewed and revised by: bde
Work sponsored by: Timing Solutions
2000-04-08 17:20:00 +00:00
jhay
57d5ddf5b7 Make the N2 isa cards probe again. Remove the unused frame relay hooks.
This should also fix PR 17814 where flags were ignored on the first
usage of ifconfig on the interface.

PR:		17814
2000-04-08 17:14:00 +00:00
n_hibma
f6ef29acc9 Update the urio driver. It now works on NetBSD and OpenBSD as well.
Update the license in the rio_usb.h (now rio500_usb.h) to not be GPL.
Sorry for committing that file in the first place. The change of license
was agreed to by the original author.
2000-04-08 17:02:13 +00:00
dfr
f073f6ac22 Use makeobjops.pl instead of makedevops.pl. 2000-04-08 15:31:28 +00:00
dfr
c9bf4be3c2 * Factor out the object system from new-bus so that it can be used by
non-device code.
* Re-implement the method dispatch to improve efficiency. The new system
  takes about 40ns for a method dispatch on a 300Mhz PII which is only
  10ns slower than a direct function call on the same hardware.

This changes the new-bus ABI slightly so make sure you re-compile any
driver modules which you use.
2000-04-08 14:17:18 +00:00
dfr
2d18287eb4 Add manpage for kernel object system. 2000-04-08 13:24:40 +00:00
iwasaki
6927b5bc64 Add restart capability by SIGHUP. On restart, working configuration
(resource and card configuration being used) is to be maintained for
consistency.  Part of resource pool re-initialization would be rewrite
later using on Warner-san's hints driver API :-)

Reviewed by:    nate, imp and -nomads ML in Japan.
Obtained from:  http://www.freebsd.org/~iwasaki/pccard/pccardd-signal.diff
Commited at:    BSD HANAMI Party 2000 in Japan
2000-04-08 05:19:44 +00:00
yokota
89ff8e1b55 Follow up to the 3 button emulation update in rev 1.41:
- Fix the -z option which I broke in rev 1.41.  It didn't work
  correctly when used in conjunction with the -m option.
- Tweak the 3 button state machine so that 'Up' events of the buttons
  1 and 3 are reported immediately as soon as the buttons are up.
2000-04-08 04:51:09 +00:00
murray
8575674987 More error checking and idiot-proofing for the user editor.
PR:		14318
Approved by:	jkh
2000-04-08 03:08:12 +00:00
murray
025b043750 PR: 17559
Approved by:	jkh

  You can't enable 'emulate 3 button' option for moused in sysinstall.
This adds a menu option to set moused_flags and the help text explains
that entering "-3" will enable this feature.
2000-04-08 03:04:32 +00:00
ps
baa52b87aa Make PXE use the UDP API. This allows for both TFTP and NFS support.
You may specify TFTP or NFS via compile time options in the loader,
but not both at this time.

Also, remove a warning about not knowing how to boot from network
devices.  We can obviously do that now.
2000-04-08 01:22:14 +00:00
ps
1e90e50f9f Break out sendudp and readudp from net.c. This is for PXE, so it
can use its own UDP interface.
2000-04-08 01:18:04 +00:00
brian
d741574cfe Don't use ``grep | sed'' in the example for INCLUDE_CONFIG_FILE
when sed can do both.
2000-04-08 00:02:53 +00:00
brian
825b93bffd When running ppp -background, show comfort messages showing
when we're redialing/reconnecting.

While we're here, log redial, reconnect and phone number
announcements to LogCHAT, and reduce some other logging to
LogDEBUG.
2000-04-07 23:46:14 +00:00
nyan
179ce7c01c Newbusify amd driver.
Some error messages are added by Brian Somers <brian@Awfulhak.org>.
2000-04-07 11:36:11 +00:00
nyan
49f7c12b0e Newbusify adv driver.
Reviewed by:	imp
2000-04-07 11:32:42 +00:00
mdodd
367c61d5d3 Use correct offset into register window.
Noticed by: 	Manfred Antar <mantar@pacbell.net>
2000-04-07 07:29:31 +00:00
mdodd
bcaa5ea35b - Convert dpt_pci.c to newbus.
- Add support for ISA based DPT adapters (this doesn't quite work yet).
- Sync dpt_eisa.c with my local copy.
  - Simplify how EISA IDs are matched.
  - Prototype.
  - Formatting nits.
  - Conform to how I do things in dpt_pci.c/dpt_isa.c.
- Modify dpt_scsi.c:dpt_alloc() to DTRT with newbus.
- Add some comments to dpt_scsi.c:dpt_pio_get_conf().
- Add additional check to dpt_scsi.c:dpt_get_conf().
- Add some useful error messages to dpt_scsi.c:dpt_init().
2000-04-07 02:50:24 +00:00
jlemon
e1128bd07d If we can't allocate an IRQ resource, fail in the attach routine. 2000-04-07 00:09:24 +00:00
wilko
1e7296fbf7 Update DS10 description, add info on DS10L "Slate" 2000-04-06 18:10:45 +00:00
ru
f8d3448a0b - Add support for FTP EPRT (RFC 2428) command.
- Minor optimizations.
- Minor spelling fixes.

PR:		14305
Submitted by:	ume
Rewritten by:	ru
2000-04-06 15:54:52 +00:00
sheldonh
21655c5f18 Add a step for showing changes in the way filesystems are mounted
today from the way they were mounted yesterday.

PR:		17155
Submitted by:	"Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
2000-04-06 10:46:50 +00:00
n_hibma
ca88d5bd7b Regen. 2000-04-06 10:19:16 +00:00
n_hibma
0530877f50 Add Zip 250 2000-04-06 10:16:24 +00:00
brian
9b2d3e1632 I didn't get this right the last time....
When an NCP reaches TLF, *ONLY* datalink_Close() links that are
in DATALINK_OPEN.

When the last link reaches TLD, DOWN all NCPs (as we used to in the
links TLF (which was the wrong place anyway)), as the NCPs aren't
now going to datalink_Close() us unexpectedly, we get to continue
doing what we were told to do in the first place.

The result:  When we lose a link, the IPCP layer goes down and
we actually call the stuff in ppp.linkdown !
2000-04-06 10:03:48 +00:00
asami
3f47f4c57c Convert "RELENG_ver_RELEASE" to "RELEASE_ver" and use it to check out
the ports and doc trees.  There is no change if we are not building a
release (i.e., we are not using a tag of the form RELENG_ver_RELEASE
--e.g., a RELENG_ver tag used to build a snapshot).

This should allow the ports and doc freezes during the release cycles
to be somewhat shorter, as commits to those (non-branched) trees can
resume as soon as the tags are laid down.

Reviewed by:	nik
Approved by:	jkh
2000-04-06 10:00:20 +00:00
obrien
f55dd2a9b3 Sparc64 configure section.
Submitted by:	steve
2000-04-06 09:27:38 +00:00
peter
c713a91659 Finally cvs rm these two files; they were not referenced in conf/files*,
and were accumulating history as a result of recursive script processing.
2000-04-06 08:18:30 +00:00
ru
c7d280efd4 The idea always was that `make copies' should undo the
`make symlinks' job, but it got broken in rev 1.109.

Restore the correct behaviour.
2000-04-06 07:33:29 +00:00
grog
31f0f935ef open_drive: Add kludges for vn and md.
Submitted-by:	dillon (vn)
Requested-by:	phk (md)
2000-04-06 07:25:35 +00:00
grog
844f06daa5 (finally!) add keywords raid4 and partition. 2000-04-06 07:13:44 +00:00
bp
aed3eeb310 Uncomment ETHER_II frame and remove BPF related variable. 2000-04-06 03:09:56 +00:00
grog
a5759b7139 complete_rqe: Remove a race condition in RAID-4 and RAID-5 where a
request could be deallocated before the top half had finished
	issuing it.  The problem seems only to happen with IDE drives
	and vn devices, but theoretically it could happen with any
	drive.  This is the most important part of a possible series
	of fixes designed to remove race conditions without locking
	out interrupts for longer than absolutely necessary.

Reported-by:	       sos
Fix-supplied-by:       dillon
2000-04-06 03:03:31 +00:00
imp
a885586094 Two changes:
1) Move an cards to after aic, since an sorts after aic.
	2) Add awi cards for the new awi drivers. This is a wireless pcmcia
	   card.
2000-04-06 02:54:35 +00:00