]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoAdd ng_mppc(8) netgraph node as a KLD module.
archie [Sun, 9 Apr 2000 21:07:39 +0000 (21:07 +0000)]
Add ng_mppc(8) netgraph node as a KLD module.

Obtained from:  Whistle source tree

24 years agoA netgraph node that implements Microsoft Point-to-Point compression
archie [Sun, 9 Apr 2000 21:04:55 +0000 (21:04 +0000)]
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

24 years agoA simplified RC4 implementation for kernel use.
archie [Sun, 9 Apr 2000 21:01:01 +0000 (21:01 +0000)]
A simplified RC4 implementation for kernel use.

24 years agoFix bogus const-ness in declaration of sha1_loop().
archie [Sun, 9 Apr 2000 20:10:55 +0000 (20:10 +0000)]
Fix bogus const-ness in declaration of sha1_loop().

24 years agoDocument EWOULDBLOCK as a possible errno return value.
archie [Sun, 9 Apr 2000 19:10:57 +0000 (19:10 +0000)]
Document EWOULDBLOCK as a possible errno return value.

24 years agoAdd a missing ``break''
brian [Sun, 9 Apr 2000 18:27:08 +0000 (18:27 +0000)]
Add a missing ``break''

24 years agoAdd support for ATA66 on newer revisions of the VIA 82C596
sos [Sun, 9 Apr 2000 15:08:27 +0000 (15:08 +0000)]
Add support for ATA66 on newer revisions of the VIA 82C596

24 years agoNuke duplicate struct declaration from somebody's paste-o
jkh [Sat, 8 Apr 2000 22:50:18 +0000 (22:50 +0000)]
Nuke duplicate struct declaration from somebody's paste-o

24 years agoRe-enable probe for isa and correct the plug and play issue that
imp [Sat, 8 Apr 2000 17:23:46 +0000 (17:23 +0000)]
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.

24 years agoDon't complain about not getting resources for the compatibility shim
imp [Sat, 8 Apr 2000 17:21:15 +0000 (17:21 +0000)]
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.

24 years agoAdd support for compiling kernel modules outside of the tree. If you
imp [Sat, 8 Apr 2000 17:20:00 +0000 (17:20 +0000)]
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

24 years agoMake the N2 isa cards probe again. Remove the unused frame relay hooks.
jhay [Sat, 8 Apr 2000 17:14:00 +0000 (17:14 +0000)]
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

24 years agoUpdate the urio driver. It now works on NetBSD and OpenBSD as well.
n_hibma [Sat, 8 Apr 2000 17:02:13 +0000 (17:02 +0000)]
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.

24 years agoUse makeobjops.pl instead of makedevops.pl.
dfr [Sat, 8 Apr 2000 15:31:28 +0000 (15:31 +0000)]
Use makeobjops.pl instead of makedevops.pl.

24 years ago* Factor out the object system from new-bus so that it can be used by
dfr [Sat, 8 Apr 2000 14:17:18 +0000 (14:17 +0000)]
* 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.

24 years agoAdd manpage for kernel object system.
dfr [Sat, 8 Apr 2000 13:24:40 +0000 (13:24 +0000)]
Add manpage for kernel object system.

24 years agoAdd restart capability by SIGHUP. On restart, working configuration
iwasaki [Sat, 8 Apr 2000 05:19:44 +0000 (05:19 +0000)]
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

24 years agoFollow up to the 3 button emulation update in rev 1.41:
yokota [Sat, 8 Apr 2000 04:51:09 +0000 (04:51 +0000)]
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.

24 years ago More error checking and idiot-proofing for the user editor.
murray [Sat, 8 Apr 2000 03:08:12 +0000 (03:08 +0000)]
  More error checking and idiot-proofing for the user editor.

PR: 14318
Approved by: jkh

24 years agoPR: 17559
murray [Sat, 8 Apr 2000 03:04:32 +0000 (03:04 +0000)]
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.

24 years agoMake PXE use the UDP API. This allows for both TFTP and NFS support.
ps [Sat, 8 Apr 2000 01:22:14 +0000 (01:22 +0000)]
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.

24 years agoBreak out sendudp and readudp from net.c. This is for PXE, so it
ps [Sat, 8 Apr 2000 01:18:04 +0000 (01:18 +0000)]
Break out sendudp and readudp from net.c.  This is for PXE, so it
can use its own UDP interface.

24 years agoDon't use ``grep | sed'' in the example for INCLUDE_CONFIG_FILE
brian [Sat, 8 Apr 2000 00:02:53 +0000 (00:02 +0000)]
Don't use ``grep | sed'' in the example for INCLUDE_CONFIG_FILE
when sed can do both.

24 years agoWhen running ppp -background, show comfort messages showing
brian [Fri, 7 Apr 2000 23:46:14 +0000 (23:46 +0000)]
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.

24 years agoNewbusify amd driver.
nyan [Fri, 7 Apr 2000 11:36:11 +0000 (11:36 +0000)]
Newbusify amd driver.

Some error messages are added by Brian Somers <brian@Awfulhak.org>.

24 years agoNewbusify adv driver.
nyan [Fri, 7 Apr 2000 11:32:42 +0000 (11:32 +0000)]
Newbusify adv driver.

Reviewed by: imp

24 years agoUse correct offset into register window.
mdodd [Fri, 7 Apr 2000 07:29:31 +0000 (07:29 +0000)]
Use correct offset into register window.

Noticed by:  Manfred Antar <mantar@pacbell.net>

24 years ago- Convert dpt_pci.c to newbus.
mdodd [Fri, 7 Apr 2000 02:50:24 +0000 (02:50 +0000)]
- 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().

24 years agoIf we can't allocate an IRQ resource, fail in the attach routine.
jlemon [Fri, 7 Apr 2000 00:09:24 +0000 (00:09 +0000)]
If we can't allocate an IRQ resource, fail in the attach routine.

24 years agoUpdate DS10 description, add info on DS10L "Slate"
wilko [Thu, 6 Apr 2000 18:10:45 +0000 (18:10 +0000)]
Update DS10 description, add info on DS10L "Slate"

24 years ago- Add support for FTP EPRT (RFC 2428) command.
ru [Thu, 6 Apr 2000 15:54:52 +0000 (15:54 +0000)]
- Add support for FTP EPRT (RFC 2428) command.
- Minor optimizations.
- Minor spelling fixes.

PR: 14305
Submitted by: ume
Rewritten by: ru

24 years agoAdd a step for showing changes in the way filesystems are mounted
sheldonh [Thu, 6 Apr 2000 10:46:50 +0000 (10:46 +0000)]
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>

24 years agoRegen.
n_hibma [Thu, 6 Apr 2000 10:19:16 +0000 (10:19 +0000)]
Regen.

24 years agoAdd Zip 250
n_hibma [Thu, 6 Apr 2000 10:16:24 +0000 (10:16 +0000)]
Add Zip 250

24 years agoI didn't get this right the last time....
brian [Thu, 6 Apr 2000 10:03:48 +0000 (10:03 +0000)]
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 !

24 years agoConvert "RELENG_ver_RELEASE" to "RELEASE_ver" and use it to check out
asami [Thu, 6 Apr 2000 10:00:20 +0000 (10:00 +0000)]
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

24 years agoSparc64 configure section.
obrien [Thu, 6 Apr 2000 09:27:38 +0000 (09:27 +0000)]
Sparc64 configure section.

Submitted by: steve

24 years agoFinally cvs rm these two files; they were not referenced in conf/files*,
peter [Thu, 6 Apr 2000 08:18:30 +0000 (08:18 +0000)]
Finally cvs rm these two files; they were not referenced in conf/files*,
and were accumulating history as a result of recursive script processing.

24 years agoThe idea always was that `make copies' should undo the
ru [Thu, 6 Apr 2000 07:33:29 +0000 (07:33 +0000)]
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.

24 years agoopen_drive: Add kludges for vn and md.
grog [Thu, 6 Apr 2000 07:25:35 +0000 (07:25 +0000)]
open_drive: Add kludges for vn and md.

Submitted-by: dillon (vn)
Requested-by: phk (md)

24 years ago(finally!) add keywords raid4 and partition.
grog [Thu, 6 Apr 2000 07:13:44 +0000 (07:13 +0000)]
(finally!) add keywords raid4 and partition.

24 years agoUncomment ETHER_II frame and remove BPF related variable.
bp [Thu, 6 Apr 2000 03:09:56 +0000 (03:09 +0000)]
Uncomment ETHER_II frame and remove BPF related variable.

24 years agocomplete_rqe: Remove a race condition in RAID-4 and RAID-5 where a
grog [Thu, 6 Apr 2000 03:03:31 +0000 (03:03 +0000)]
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
24 years agoTwo changes:
imp [Thu, 6 Apr 2000 02:54:35 +0000 (02:54 +0000)]
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.

24 years agoAwi driver, ported from NetBSD from Atsushi Once-san.
imp [Thu, 6 Apr 2000 02:48:48 +0000 (02:48 +0000)]
Awi driver, ported from NetBSD from Atsushi Once-san.

From the README:
Any IEEE 802.11 cards use AMD Am79C930 and Harris (Intersil) Chipset
with PCnetMobile firmware by AMD.
   BayStack 650   1Mbps Frequency Hopping PCCARD adapter
   BayStack 660   2Mbps Direct Sequence PCCARD adapter
   Icom SL-200    2Mbps Direct Sequence PCCARD adapter
   Melco WLI-PCM  2Mbps Direct Sequence PCCARD adapter
   NEL SSMagic    2Mbps Direct Sequence PCCARD adapter
   Netwave AirSurfer Plus
  1Mbps Frequency Hopping PCCARD adapter
   Netwave AirSurfer Pro
  2Mbps Direct Sequence PCCARD adapter

Known Problems:
WEP is not supported.
Does not create IBSS itself.
Cannot configure the following on FreeBSD:
selection of infrastructure/adhoc mode
ESSID
...

Submitted by: Atsushi Onoe <onoe@sm.sony.co.jp>

24 years ago Fixed minor annoyance with sysinstall being redundant / braindead in
murray [Thu, 6 Apr 2000 01:23:21 +0000 (01:23 +0000)]
  Fixed minor annoyance with sysinstall being redundant / braindead in
the network -> interfaces menu.

Approved by: jkh

24 years agoRemoved unnecessary comma in stf addr printf in hex format,
shin [Thu, 6 Apr 2000 00:24:52 +0000 (00:24 +0000)]
Removed unnecessary comma in stf addr printf in hex format,
which I mysteriously added.

Submitted by: ume

24 years agoAdd a new fortune and remove an email address.
jim [Wed, 5 Apr 2000 18:44:02 +0000 (18:44 +0000)]
Add a new fortune and remove an email address.

Reviewed by: jkh

24 years agoMFPAO: support wildcard entry for generic serial and fixed
iwasaki [Wed, 5 Apr 2000 18:39:21 +0000 (18:39 +0000)]
MFPAO: support wildcard entry for generic serial and fixed
disk as fallthrough entry.

Submitted by: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>, iwasaki
Reviewed by: imp, -mobile ML and nomads ML in Japan
Obtained from: http://www.freebsd.org/~iwasaki/pccard/pccardd-generic.diff
http://home.jp.freebsd.org/~sanpei/4-current/usr.sbin-pccard-pccardd.diff

24 years agoFix a bug where SIGIO was not being delivered to a process requesting
archie [Wed, 5 Apr 2000 18:38:21 +0000 (18:38 +0000)]
Fix a bug where SIGIO was not being delivered to a process requesting
async I/O when a tty device became writable.

PR: kern/8324
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>

24 years ago- Remove unused includes.
ru [Wed, 5 Apr 2000 14:27:34 +0000 (14:27 +0000)]
- Remove unused includes.
- Minor spelling fixes.
- Make IcmpAliasOut2() really work.

Before this change:

# natd -v -n PUB_IFACE -p 12345 -redirect_address 192.168.1.1 P.P.P.P
natd[87923]: Aliasing to A.A.A.A, mtu 1500 bytes
In  [UDP]  [UDP] X.X.X.X:49562 -> P.P.P.P:50000 aliased to
           [UDP] X.X.X.X:49562 -> 192.168.1.1:50000
Out [ICMP] [ICMP] 192.168.1.1 -> X.X.X.X 3(3) aliased to
           [ICMP] A.A.A.A -> X.X.X.X 3(3)

# tcpdump -n -t -i PUB_IFACE host X.X.X.X and "(udp or icmp)"
tcpdump: listening on PUB_IFACE
X.X.X.X.49562 > P.P.P.P.50000: udp 3
A.A.A.A > X.X.X.X: icmp: A.A.A.A udp port 50000 unreachable

After this change:

# natd -v -n PUB_IFACE -p 12345 -redirect_address 192.168.1.1 P.P.P.P
natd[89360]: Aliasing to A.A.A.A, mtu 1500 bytes
In  [UDP]  [UDP] X.X.X.X:49563 -> P.P.P.P:50000 aliased to
           [UDP] X.X.X.X:49563 -> 192.168.1.1:50000
Out [ICMP] [ICMP] 192.168.1.1 -> X.X.X.X 3(3) aliased to
           [ICMP] P.P.P.P -> X.X.X.X 3(3)

# tcpdump -n -t -i PUB_IFACE host X.X.X.X and "(udp or icmp)"
tcpdump: listening on PUB_IFACE
X.X.X.X.49563 > P.P.P.P.50000: udp 3
P.P.P.P > X.X.X.X: icmp: P.P.P.P udp port 50000 unreachable

24 years ago- Moved NULL definition into private include file.
ru [Wed, 5 Apr 2000 14:23:42 +0000 (14:23 +0000)]
- Moved NULL definition into private include file.
- Minor spelling fixes.

24 years agoThe MANSECT environment variable was misrepresented as MANSEC. Fixed.
sheldonh [Wed, 5 Apr 2000 13:57:46 +0000 (13:57 +0000)]
The MANSECT environment variable was misrepresented as MANSEC.  Fixed.

PR: 17745
Submitted by: nordwick@askjeeves.com (Jason "Just Change It" Nordwick)

24 years agoDo not report blocked out NIS password entries as passwordless.
sheldonh [Wed, 5 Apr 2000 13:42:48 +0000 (13:42 +0000)]
Do not report blocked out NIS password entries as passwordless.

Submitted by: "Sean O'Connell" <sean@stat.Duke.EDU>

24 years agoSynced with sys/conf/Makefile.i386 revision 1.181.
kato [Wed, 5 Apr 2000 12:54:13 +0000 (12:54 +0000)]
Synced with sys/conf/Makefile.i386 revision 1.181.

24 years agoDo not panic if request issued by kernel.
bp [Wed, 5 Apr 2000 10:54:02 +0000 (10:54 +0000)]
Do not panic if request issued by kernel.

Reported by: Vladimir Poliakov <vnp@mail.kccm.ru>

24 years agoPass timezone information to an nwfs mount.
bp [Wed, 5 Apr 2000 10:48:53 +0000 (10:48 +0000)]
Pass timezone information to an nwfs mount.

24 years agoTry to obtain timezone offset from an environment of mount program.
bp [Wed, 5 Apr 2000 10:44:04 +0000 (10:44 +0000)]
Try to obtain timezone offset from an environment of mount program.
This helps in cases where CMOS clock set to UTC time.

24 years agoMake it possible to include a device interface description by a single
dfr [Wed, 5 Apr 2000 10:33:55 +0000 (10:33 +0000)]
Make it possible to include a device interface description by a single
line in files or files.${arch} instead of 13 lines of code.

This is a small chance that this will break the alpha kernel build - I'll
fix it this evening if it does.

24 years agoAllow the calling Makefile to specify a list of device interfaces instead
dfr [Wed, 5 Apr 2000 10:13:05 +0000 (10:13 +0000)]
Allow the calling Makefile to specify a list of device interfaces instead
of relying on the default list provided here.

24 years agoMinor spelling fixes.
ru [Wed, 5 Apr 2000 07:45:39 +0000 (07:45 +0000)]
Minor spelling fixes.

24 years agomake poll() dtrt, previously when playing it would trigger if there was less
cg [Wed, 5 Apr 2000 05:54:02 +0000 (05:54 +0000)]
make poll() dtrt, previously when playing it would trigger if there was less
than 1 byte ready to play instead of room for at least 1 byte to be written.
similarly for recording.

24 years agoAdd a new options: -m enables searching for memory-mapped files.
green [Wed, 5 Apr 2000 05:45:40 +0000 (05:45 +0000)]
Add a new options: -m enables searching for memory-mapped files.

It is not default because it's an expensive option by nature, making the
search take 2-3 times as long.

PR: 17555
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>

24 years agoCorrect a typo and interchanged library names
kris [Wed, 5 Apr 2000 04:09:51 +0000 (04:09 +0000)]
Correct a typo and interchanged library names

Submitted by: Ben Rosengart <ben@narcissus.net>
Matthew D. Fuller <fullermd@futuresouth.com>

24 years agoThis commit was generated by cvs2svn to compensate for changes in r59024,
obrien [Wed, 5 Apr 2000 04:09:32 +0000 (04:09 +0000)]
This commit was generated by cvs2svn to compensate for changes in r59024,
which included commits to RCS files with non-trunk default branches.

24 years agoImport the Sparc bits of GNU binutils 2.9.1.
obrien [Wed, 5 Apr 2000 04:09:32 +0000 (04:09 +0000)]
Import the Sparc bits of GNU binutils 2.9.1.

Requested by: steve

24 years agodecrease buffer size to 4k
cg [Wed, 5 Apr 2000 02:14:26 +0000 (02:14 +0000)]
decrease buffer size to 4k
use a seperate channel for generating irqs so we get a buffer-half-empty
interrupt, prevents repeating on underflow

24 years agoAlways give mktime a timeval with tm_isdst set to -1, otherwise
brian [Wed, 5 Apr 2000 01:59:36 +0000 (01:59 +0000)]
Always give mktime a timeval with tm_isdst set to -1, otherwise
things get a bit out-of-phase when we step backwards 1 hour from
between 0:00 and 1:00 on the first of the month following the
transition into Summer time.  This is probably actually a bug
in mktime().

PR: 10963

If mktime() fails and 68 < year < 138, assume that the reason is
because of Summer time and adjust up or down according to our
adjusting context by one hour.  This assumes that all DSTs are
multiples of 1 hour.

PR: 6223, 17750

24 years agoallow /dev/dsp to be opened seperately for reading and writing.
cg [Wed, 5 Apr 2000 01:13:42 +0000 (01:13 +0000)]
allow /dev/dsp to be opened seperately for reading and writing.

24 years agotry increasing 2ndbuffer size to 64k
cg [Wed, 5 Apr 2000 00:56:02 +0000 (00:56 +0000)]
try increasing 2ndbuffer size to 64k

24 years agomove buffer size definition to .c file for consistency, and reduce it to 4k
cg [Wed, 5 Apr 2000 00:38:00 +0000 (00:38 +0000)]
move buffer size definition to .c file for consistency, and reduce it to 4k

24 years agoAdd automatic rescan on connect. This happens already if the drive is
n_hibma [Tue, 4 Apr 2000 22:15:13 +0000 (22:15 +0000)]
Add automatic rescan on connect. This happens already if the drive is
connected during boot and the vpo module is in the kernel/loaded.

In the case where the module is loaded at some later stage with kldload,
the CAM bus is now rescanned as well.

24 years agoFix _zget() so that it checks the return from kmem_alloc(), to avoid
msmith [Tue, 4 Apr 2000 21:00:39 +0000 (21:00 +0000)]
Fix _zget() so that it checks the return from kmem_alloc(), to avoid
zttempting to bzero NULL when the kernel map fills up.  _zget() will
now return NULL as it seems it was originally intended to do.

24 years agoAdd information about the dangarous apollo MPV3 chipset. Several
imp [Tue, 4 Apr 2000 17:14:18 +0000 (17:14 +0000)]
Add information about the dangarous apollo MPV3 chipset.  Several
people have suggested the workaround to me (use only PIO mode) and
I've not seend a message saying ths was fixed.  I'll removed the bold
warning stars after the issue is corrected.

24 years agoUpgrade the bktr driver from 2.07 to 2.10.
roger [Tue, 4 Apr 2000 16:54:13 +0000 (16:54 +0000)]
Upgrade the bktr driver from 2.07 to 2.10.

 - The driver now uses bus_space() and runs on NetBSD 1.4.2
   Submitted by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>

 - Remove startup quirks for video and vbi capture for PAL users.
   PAL TV users can now run FXTV and Alevt in any order.

 - Add support for cable channels >100
   Submitted by Scott Presnell <srp@zgi.com>

 - New MSP3410/3415 setup code added. This is experimental.
   Please set the sysctl hw.bt848.slow_msp_audio to 1 for this.
   Submitted by Frank Nobis<fn@radio-do.de>

24 years agoAdd multiple #include protection
roger [Tue, 4 Apr 2000 16:46:19 +0000 (16:46 +0000)]
Add multiple #include protection

Submitted by:  Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>

24 years agoWhitespace change:
sheldonh [Tue, 4 Apr 2000 15:32:37 +0000 (15:32 +0000)]
Whitespace change:

Remove single-space hard sentence break introduced in the previous
commit.

Reviewed by: jmb

24 years agoFixed prototype for setflags(). setflags() returns int, not u_long,
bde [Tue, 4 Apr 2000 14:12:35 +0000 (14:12 +0000)]
Fixed prototype for setflags().  setflags() returns int, not u_long,
and "extern" in function prototypes is a style bug.  The type mismatch
broke chflags(1) on i386's with 64-bit longs and may have broken it on
alphas.

24 years agoRemove obsolete reference to PCVT_FREEBSD.
hm [Tue, 4 Apr 2000 13:14:43 +0000 (13:14 +0000)]
Remove obsolete reference to PCVT_FREEBSD.

24 years agoAdd a '+' to the first LDADD, otherwise it clobbers the LDADD in
gj [Tue, 4 Apr 2000 11:12:55 +0000 (11:12 +0000)]
Add a '+' to the first LDADD, otherwise it clobbers the LDADD in
Makefile.alpha such that the -lkvm disappears and the link fails.

This time I tested it, honest :)

24 years agoAdd an example of how to tweak CXXFLAGS in a make.conf file.
obrien [Tue, 4 Apr 2000 09:27:59 +0000 (09:27 +0000)]
Add an example of how to tweak CXXFLAGS in a make.conf file.

This is in responce to several people breaking their world builds by
incorrectly assigning to CXXFLAGS.

24 years agoPass me the pointy hat.
gj [Tue, 4 Apr 2000 09:20:53 +0000 (09:20 +0000)]
Pass me the pointy hat.

It was not a good idea to remove csu_header from struct cspace, it had
ramifications which I didn't notice.

Restore src/usr.sbin/ppp/slcompress.h to the way it was, since MAX_HDR
was already defined as 128 there and it's a user program anyway.

In sys/net/slcompress.h make MAX_HDR 128 intead of MLEN to avoid
bloat.

My apologies for any inconvenience.

24 years ago- implement logfile archivation to a separate, user
hm [Tue, 4 Apr 2000 08:50:01 +0000 (08:50 +0000)]
- implement logfile archivation to a separate, user
  configurable directory
- implement alternate and more flexible way to specify
  logfile rotation time in addition to the ISO 8601
  restricted format
- cleanup the source which was a mix of several styles
  of persons who maintained it so far, ran through
  knfom script got from bde.

Reviewed by: (in part) sheldonh and garyj

24 years agoRun newsyslog source through knfom script obtained from Bruce Evans.
hm [Tue, 4 Apr 2000 08:38:30 +0000 (08:38 +0000)]
Run newsyslog source through knfom script obtained from Bruce Evans.
Joerg Wunsch suggested to do this to make the functional changes in
the next commit to newsyslog (which were run through the same script)
better visible.

24 years agoAllow MAXDEP dependants, not MAXDEP-1.
dfr [Tue, 4 Apr 2000 07:48:04 +0000 (07:48 +0000)]
Allow MAXDEP dependants, not MAXDEP-1.

24 years agoAdd libcrypto to LDADD. This fixes problems seen with e.g. apache-modssl
kris [Tue, 4 Apr 2000 07:31:01 +0000 (07:31 +0000)]
Add libcrypto to LDADD. This fixes problems seen with e.g. apache-modssl

Submitted by: Jim Bloom <bloom@acm.org>

24 years agoAdd a missing PXE API call and structure.
ps [Tue, 4 Apr 2000 07:28:54 +0000 (07:28 +0000)]
Add a missing PXE API call and structure.

24 years agoFix mbuf leaking - duh!
dmlb [Tue, 4 Apr 2000 06:43:30 +0000 (06:43 +0000)]
Fix mbuf leaking - duh!

24 years agoFix pcic_detach_socket to get right pcic_handle.
imp [Tue, 4 Apr 2000 04:12:43 +0000 (04:12 +0000)]
Fix pcic_detach_socket to get right pcic_handle.
Pass sc->dev rather than a bogusly cast pccard_softc *sc.

This allows us to insert and remove cards w/o panicing the kernel.
However, the cis isn't mapped in, so the pccard_scan_cis function
fails.

24 years agoBe consistant about using the right child to get the ivars, which is
imp [Tue, 4 Apr 2000 03:47:51 +0000 (03:47 +0000)]
Be consistant about using the right child to get the ivars, which is
the pcic_handle structure for the socket.

24 years agoenable emu10k1 (sblive) driver, though still playback only
cg [Tue, 4 Apr 2000 02:34:45 +0000 (02:34 +0000)]
enable emu10k1 (sblive) driver, though still playback only

24 years agomake the click on starting output go away
cg [Tue, 4 Apr 2000 02:16:15 +0000 (02:16 +0000)]
make the click on starting output go away

24 years agoAdd all the PXE related structures from the 2.1 PXE spec from Intel.
ps [Tue, 4 Apr 2000 00:38:59 +0000 (00:38 +0000)]
Add all the PXE related structures from the 2.1 PXE spec from Intel.
Fix exsisting code to match the spec.

24 years agoDereference a pointer (print int instead of pointer value)
n_hibma [Mon, 3 Apr 2000 22:28:13 +0000 (22:28 +0000)]
Dereference a pointer (print int instead of pointer value)

24 years agoNumerous fixes brought in by Lennart Augustsson from NetBSD:
n_hibma [Mon, 3 Apr 2000 22:19:44 +0000 (22:19 +0000)]
Numerous fixes brought in by Lennart Augustsson from NetBSD:

- Request the maximum number of LUNs on a device if it is
  a Bulk-Only device.

- Handle NO_TEST_UNIT_READY case for SCSI

- Add NO_START_STOP quirk for LS-120

- Fix a KASSERT which was the wrong way around.

- Kickstart the LS-120 with the infamous LS-120 specific command of
  which no one knows what it doesn, apart from the fact that it appeared
  in the Linux code someday.

24 years agoDocument that the flags can be specified as an octal number.
jdp [Mon, 3 Apr 2000 22:10:58 +0000 (22:10 +0000)]
Document that the flags can be specified as an octal number.

24 years agoOpenBSD has a broken debugger that does not grok static. Use a
n_hibma [Mon, 3 Apr 2000 20:58:30 +0000 (20:58 +0000)]
OpenBSD has a broken debugger that does not grok static. Use a

        #define Static  static

that the OpenBSD folks can define it to be empty if they like.

24 years agoPlug two file descriptor leaks
brian [Mon, 3 Apr 2000 19:56:49 +0000 (19:56 +0000)]
Plug two file descriptor leaks

24 years agoNuke csu_hdr from struct cspace. csu_hdr is not used anywhere in the
gj [Mon, 3 Apr 2000 19:54:33 +0000 (19:54 +0000)]
Nuke csu_hdr from struct cspace. csu_hdr is not used anywhere in the
tree. This considerably reduces unnecessary bloat in struct slcompress.

I'm running with this change right now and have seen no negative
side-effects.

On my sytem this reduced kernel BSS by about 25KB.

Submitted by: bde
Approved by: brian for user-ppp

24 years agoAdd note on SCSI floppy on DEC3000 series
wilko [Mon, 3 Apr 2000 19:32:22 +0000 (19:32 +0000)]
Add note on SCSI floppy on DEC3000 series