openbsd
24 years agoWhen a link is ``!program'', realise when the process we're
brian [Sun, 2 Apr 2000 01:36:26 +0000 (01:36 +0000)]
When a link is ``!program'', realise when the process we're
exec()ing couldn't be exec'd and fail the device open rather
than thinking the open succeeded but the first read() got zero.

24 years agoAllow ``set authname'' in any phase, just warn if we're not
brian [Sun, 2 Apr 2000 01:36:25 +0000 (01:36 +0000)]
Allow ``set authname'' in any phase, just warn if we're not
in DEAD or ESTABLISH.

24 years agoDon't ``down'' all NCPs when the last LCP reaches TLD. Instead,
brian [Sun, 2 Apr 2000 01:36:24 +0000 (01:36 +0000)]
Don't ``down'' all NCPs when the last LCP reaches TLD.  Instead,
wait for bundle_LinkClosed() to be called.  This allows the correct
redial decision to be made (un-breaking ``set redial'').

24 years agoDon't claim (in the log file) that the parent was notified
brian [Sun, 2 Apr 2000 01:36:23 +0000 (01:36 +0000)]
Don't claim (in the log file) that the parent was notified
of success if the child process in -background mode failed
to connect.

24 years agoDon't wait for the redial timer before exiting due to the last
brian [Sun, 2 Apr 2000 01:36:22 +0000 (01:36 +0000)]
Don't wait for the redial timer before exiting due to the last
background/direct link closing.

24 years agoMake the default ``nat target'' address INADDR_NONE, meaning
brian [Sun, 2 Apr 2000 01:36:20 +0000 (01:36 +0000)]
Make the default ``nat target'' address INADDR_NONE, meaning
incoming connections go to the NAT address.  Make a ``nat target''
address of INADDR_ANY allow connections from outside directly into
the internal network.

Change some s_addr == 0 to s_addr == INADDR_ANY

24 years agocallout->timeout.
rahnds [Sun, 2 Apr 2000 00:14:31 +0000 (00:14 +0000)]
callout->timeout.
Ok, my tree was not fully updated, and it was committed
incorrectly. This is version 1.38 checked in again.

24 years agoFix a typo from last commit that was causing spontaneous reboots.
aaron [Sun, 2 Apr 2000 00:03:11 +0000 (00:03 +0000)]
Fix a typo from last commit that was causing spontaneous reboots.

24 years agofdup could fail when want for fdalloc > than the free fd in the block.
provos [Sat, 1 Apr 2000 23:29:25 +0000 (23:29 +0000)]
fdup could fail when want for fdalloc > than the free fd in the block.
slightly different fix than in the bug report by
Rob Pickering <rob@syntonet.co.uk>

24 years agoadd mlinks
deraadt [Sat, 1 Apr 2000 22:45:27 +0000 (22:45 +0000)]
add mlinks

24 years agomodernize Xr
deraadt [Sat, 1 Apr 2000 22:45:09 +0000 (22:45 +0000)]
modernize Xr

24 years agodo some file renaming here, and more links
deraadt [Sat, 1 Apr 2000 22:18:13 +0000 (22:18 +0000)]
do some file renaming here, and more links

24 years agoThe AMD756 requires a delay before reading the number of ports from the
aaron [Sat, 1 Apr 2000 19:11:35 +0000 (19:11 +0000)]
The AMD756 requires a delay before reading the number of ports from the
controller to avoid getting 0 from it; from NetBSD.

24 years agocommons type mismatch; ath@algonet.se
deraadt [Sat, 1 Apr 2000 17:20:10 +0000 (17:20 +0000)]
commons type mismatch; ath@algonet.se

24 years agobuf oflow; ath@algonet.se
deraadt [Sat, 1 Apr 2000 17:19:09 +0000 (17:19 +0000)]
buf oflow; ath@algonet.se

24 years agoboot noise removal.
rahnds [Sat, 1 Apr 2000 15:38:21 +0000 (15:38 +0000)]
boot noise removal.

24 years agotimeout -> callout.
rahnds [Sat, 1 Apr 2000 15:30:00 +0000 (15:30 +0000)]
timeout -> callout.

24 years ago.core.Z via NetBSD pr/9684
hugh [Sat, 1 Apr 2000 13:08:36 +0000 (13:08 +0000)]
.core.Z via NetBSD pr/9684

24 years agodefine and use SYS_NMLN. ok deraadt@
jakob [Sat, 1 Apr 2000 10:13:26 +0000 (10:13 +0000)]
define and use SYS_NMLN. ok deraadt@

24 years agook, this is not my night. never before has a makefile kicked my ass
deraadt [Sat, 1 Apr 2000 08:05:05 +0000 (08:05 +0000)]
ok, this is not my night.  never before has a makefile kicked my ass
as much as this one has.  i violated the "test fully before commit rule"

24 years agowhen will this end...
deraadt [Sat, 1 Apr 2000 06:01:56 +0000 (06:01 +0000)]
when will this end...

24 years agoPreviously, whatis would treat a word as [A-z0-9_] and terminate
millert [Sat, 1 Apr 2000 05:05:35 +0000 (05:05 +0000)]
Previously, whatis would treat a word as [A-z0-9_] and terminate
parsing an entry at the end of a word.  This kept things like
'whatis B::Bytecode' from working.  Now we match both on a word basis
as well matching until we hit a space, ',', or '(' character.
This allows one to say 'whatis B' and see the whatis line for B(3p)
as well as its methods (B::*).

24 years agooh bloody hell
deraadt [Sat, 1 Apr 2000 05:01:15 +0000 (05:01 +0000)]
oh bloody hell

24 years agooops
deraadt [Sat, 1 Apr 2000 04:41:26 +0000 (04:41 +0000)]
oops

24 years agomore MLINKS
deraadt [Sat, 1 Apr 2000 03:44:20 +0000 (03:44 +0000)]
more MLINKS

24 years agosome man page tree checking tools from tchrist@perl.com
deraadt [Sat, 1 Apr 2000 03:41:46 +0000 (03:41 +0000)]
some man page tree checking tools from tchrist@perl.com

24 years agoAdd support for USB Mass Storage devices; e.g., USB Zip Drives. UNTESTED.
aaron [Fri, 31 Mar 2000 22:11:37 +0000 (22:11 +0000)]
Add support for USB Mass Storage devices; e.g., USB Zip Drives. UNTESTED.
From NetBSD.

24 years agoinclude bsd.own.mk there (allows for PORTSDIR in /etc/mk.conf)
espie [Fri, 31 Mar 2000 18:43:25 +0000 (18:43 +0000)]
include bsd.own.mk there (allows for PORTSDIR in /etc/mk.conf)

(This whole series of patches approved by millert@, btw)

24 years agoDefine BSD_OWN_MK, to play `don't include the same file twice' game.
espie [Fri, 31 Mar 2000 18:03:54 +0000 (18:03 +0000)]
Define BSD_OWN_MK, to play `don't include the same file twice' game.

24 years agoReformat with ts=8, after some prodding from Tom Christiansen :)
espie [Fri, 31 Mar 2000 15:56:59 +0000 (15:56 +0000)]
Reformat with ts=8, after some prodding from Tom Christiansen :)

24 years agoParse nroff source directly as well, don't use getNAME which is awful
espie [Fri, 31 Mar 2000 15:55:06 +0000 (15:55 +0000)]
Parse nroff source directly as well, don't use getNAME which is awful
at doing this.

24 years agoSynch doc (+IRQ 5)
espie [Fri, 31 Mar 2000 15:23:26 +0000 (15:23 +0000)]
Synch doc (+IRQ 5)

24 years agoAdd the ``nat target'' command.
brian [Fri, 31 Mar 2000 14:32:50 +0000 (14:32 +0000)]
Add the ``nat target'' command.

24 years agoQuiet down boot on openfirmware probe of macobio bus. Does not print
rahnds [Fri, 31 Mar 2000 06:08:26 +0000 (06:08 +0000)]
Quiet down boot on openfirmware probe of macobio bus. Does not print
devices that are not recognize by drivers, it does not seem right
to imply that fd, scsi and adb devices exist on an imac, (ok, they
really do but apple did not bring the pins out where they were useable.)

24 years agoQuiet down the boot for powerpc, do not print openfirmware devices not
rahnds [Fri, 31 Mar 2000 06:06:28 +0000 (06:06 +0000)]
Quiet down the boot for powerpc, do not print openfirmware devices not
configured, still prints all of the buses...

24 years agoRemove the timeout and print_stats functions (debugging code)
jason [Fri, 31 Mar 2000 05:49:08 +0000 (05:49 +0000)]
Remove the timeout and print_stats functions (debugging code)
Make sure to skip over zero length mbufs when building the pa/len array
Correct some of the comments to reflect reality
Fix sanity checking of the device based on the 'sid'

24 years agoRemove unnecessary debug printf.
rahnds [Fri, 31 Mar 2000 05:43:54 +0000 (05:43 +0000)]
Remove unnecessary debug printf.

24 years agoRevision 1.3 checked in again, version 1.4 was incorrectly checked in
rahnds [Fri, 31 Mar 2000 05:33:36 +0000 (05:33 +0000)]
Revision 1.3 checked in again, version 1.4 was incorrectly checked in
when if_gm.c was supposed to be checked in. It was a non-functional working
version that has not yet been finished, it needs the bitbang mii code
from NetBSD, or the proper routines imbedded in the driver.

24 years agoBusified.
rahnds [Fri, 31 Mar 2000 05:30:52 +0000 (05:30 +0000)]
Busified.
OpenBSD tag added.
mii code corrected (seems to work, anyone want to verify this?) only tesed at
10baseT
interrupt configuration hacked, pa_line contents not reliable, hacked for now.
attempt at enable hack is present but not turned on.

24 years agoRemove unnecessary debug prints.
rahnds [Fri, 31 Mar 2000 05:18:46 +0000 (05:18 +0000)]
Remove unnecessary debug prints.

24 years agoAdd interrupt counter.
rahnds [Fri, 31 Mar 2000 05:14:37 +0000 (05:14 +0000)]
Add interrupt counter.

24 years agoremove extra debug printfs
rahnds [Fri, 31 Mar 2000 04:49:35 +0000 (04:49 +0000)]
remove extra debug printfs

24 years agoAdd pchb PCi Host Bridge dummy device to print devices nicely, instead of
rahnds [Fri, 31 Mar 2000 04:44:39 +0000 (04:44 +0000)]
Add pchb PCi Host Bridge dummy device to print devices nicely, instead of
"not configured"

24 years agoPCi Host Bridge, dummy driver to quiet "not configured" messages,
rahnds [Fri, 31 Mar 2000 04:41:53 +0000 (04:41 +0000)]
PCi Host Bridge, dummy driver to quiet "not configured" messages,
hopefully will be used to configure special items on bridges.
(such as hacks to enable devices?)

24 years agoFind last memory or io segment, in case multiple happen to be found,
rahnds [Fri, 31 Mar 2000 04:25:41 +0000 (04:25 +0000)]
Find last memory or io segment, in case multiple happen to be found,
allows imac to configure ohci.

24 years agoAdd interrupt counter, to verify interrupt problem is causing
rahnds [Fri, 31 Mar 2000 04:20:20 +0000 (04:20 +0000)]
Add interrupt counter, to verify interrupt problem is causing
over 200000 interrupts per second, and the G4 is still usable.
Gotta fix that bug.

24 years agoadd support for intrcnt from "C", make CLK_IRQ available
rahnds [Fri, 31 Mar 2000 04:16:34 +0000 (04:16 +0000)]
add support for intrcnt from "C", make CLK_IRQ available
to count clock interrupts.

24 years agoCount clock interrupts.
rahnds [Fri, 31 Mar 2000 04:14:18 +0000 (04:14 +0000)]
Count clock interrupts.

24 years agoimplement dmamap_load (stolen from i386) for powerpc.
rahnds [Fri, 31 Mar 2000 04:12:58 +0000 (04:12 +0000)]
implement dmamap_load (stolen from i386) for powerpc.
This is required for USB support.
(with this a a bit more the root hub configures).

24 years agoadd interrupt counting support. (intrcnt)
rahnds [Fri, 31 Mar 2000 04:11:02 +0000 (04:11 +0000)]
add interrupt counting support. (intrcnt)

24 years agoAdd ummapiodev() functionality, to mirror mapiodev().
rahnds [Fri, 31 Mar 2000 04:09:31 +0000 (04:09 +0000)]
Add ummapiodev() functionality, to mirror mapiodev().

24 years agospelling
deraadt [Fri, 31 Mar 2000 01:24:09 +0000 (01:24 +0000)]
spelling

24 years agosync
deraadt [Fri, 31 Mar 2000 01:01:06 +0000 (01:01 +0000)]
sync

24 years agoinstall inetd.conf(5) here instead
deraadt [Fri, 31 Mar 2000 01:00:48 +0000 (01:00 +0000)]
install inetd.conf(5) here instead

24 years agolink inetd.conf(5) to inetd(8)
deraadt [Fri, 31 Mar 2000 00:21:58 +0000 (00:21 +0000)]
link inetd.conf(5) to inetd(8)

24 years agomore timezone pointers
deraadt [Fri, 31 Mar 2000 00:10:24 +0000 (00:10 +0000)]
more timezone pointers

24 years agoTell how to set the localtime link here too.
millert [Fri, 31 Mar 2000 00:10:14 +0000 (00:10 +0000)]
Tell how to set the localtime link here too.

24 years agoAdd a pointer to zic so new users can figure out how to set the
millert [Fri, 31 Mar 2000 00:04:14 +0000 (00:04 +0000)]
Add a pointer to zic so new users can figure out how to set the
timezone.  The obvious thing to do is 'man timezone' so hopefully
folks will be able to get the info they need.

24 years agoReference /etc/localtime in FILES section.
millert [Thu, 30 Mar 2000 23:56:27 +0000 (23:56 +0000)]
Reference /etc/localtime in FILES section.

24 years agoTry a hard link before a soft one since we want hard links in
millert [Thu, 30 Mar 2000 23:30:25 +0000 (23:30 +0000)]
Try a hard link before a soft one since we want hard links in
the zoneinfo dir.

24 years agoMake 'zic -l' actually work. I guess we all just do the symlink
millert [Thu, 30 Mar 2000 23:26:45 +0000 (23:26 +0000)]
Make 'zic -l' actually work.  I guess we all just do the symlink
by hand and thus never noticed.

24 years agodocument hook functions
jason [Thu, 30 Mar 2000 23:14:25 +0000 (23:14 +0000)]
document hook functions

24 years agobuffersize -> buffer_size
alex [Thu, 30 Mar 2000 21:46:38 +0000 (21:46 +0000)]
buffersize -> buffer_size

24 years agosync
deraadt [Thu, 30 Mar 2000 21:12:15 +0000 (21:12 +0000)]
sync

24 years ago- Remove some unused code.
aaron [Thu, 30 Mar 2000 21:02:08 +0000 (21:02 +0000)]
- Remove some unused code.
- Much needed indent cleanup.

24 years agooops
deraadt [Thu, 30 Mar 2000 19:45:14 +0000 (19:45 +0000)]
oops

24 years agofix lots
deraadt [Thu, 30 Mar 2000 19:18:23 +0000 (19:18 +0000)]
fix lots

24 years agocorrect
deraadt [Thu, 30 Mar 2000 19:16:58 +0000 (19:16 +0000)]
correct

24 years agosmarter heartbeat()
mickey [Thu, 30 Mar 2000 16:33:27 +0000 (16:33 +0000)]
smarter heartbeat()

24 years agoSync with NetBSD. USB Ethernet drivers should work now.
aaron [Thu, 30 Mar 2000 16:19:32 +0000 (16:19 +0000)]
Sync with NetBSD. USB Ethernet drivers should work now.

24 years agoCorrect address parsing
brian [Thu, 30 Mar 2000 10:46:18 +0000 (10:46 +0000)]
Correct address parsing

Pointed out by: Maxim Sobolev <sobomax@altavista.net>

24 years agoPedantic .Xr fixes.
hin [Thu, 30 Mar 2000 09:29:24 +0000 (09:29 +0000)]
Pedantic .Xr fixes.

24 years agoSync with recent update in the original kerberos tree:
hin [Thu, 30 Mar 2000 09:26:50 +0000 (09:26 +0000)]
Sync with recent update in the original kerberos tree:
Don't mention toehold as it's not available in KTH.KRB...
(from Assar)

24 years agono buffer.3, instead, cp before pod2man
deraadt [Thu, 30 Mar 2000 08:18:45 +0000 (08:18 +0000)]
no buffer.3, instead, cp before pod2man

24 years agoadd manpage kafs(3)
hin [Thu, 30 Mar 2000 08:03:24 +0000 (08:03 +0000)]
add manpage kafs(3)

24 years agoFix a couple of manpage errors
hin [Thu, 30 Mar 2000 08:00:20 +0000 (08:00 +0000)]
Fix a couple of manpage errors

24 years agoinstrument bad crp's and bad crp callbacks, too
jason [Thu, 30 Mar 2000 07:30:39 +0000 (07:30 +0000)]
instrument bad crp's and bad crp callbacks, too

24 years agoAdd a sample commented out net.inet.ip.ipsec-acl=0 entry.
angelos [Thu, 30 Mar 2000 06:42:17 +0000 (06:42 +0000)]
Add a sample commented out net.inet.ip.ipsec-acl=0 entry.

24 years agoTemporary work around until pcvt is fixed.
millert [Thu, 30 Mar 2000 06:28:09 +0000 (06:28 +0000)]
Temporary work around until pcvt is fixed.
vt220 -> vt220-new
vt220-old -> vt220

24 years agoOnly allocate space for a copy of the authenticator if authentication
angelos [Thu, 30 Mar 2000 06:17:56 +0000 (06:17 +0000)]
Only allocate space for a copy of the authenticator if authentication
is in use.

24 years agoadd some instrumentation for tracking input (commands/bytes) and output
jason [Thu, 30 Mar 2000 05:56:31 +0000 (05:56 +0000)]
add some instrumentation for tracking input (commands/bytes) and output
  (results/bytes) as well as "ring full" and "other" errors
rework hifn_process so that in the event of a ring full or other error,
  the error type is set in the descriptor and the callback is executed.

24 years agoSet re_rt to NULL, so we don't double free.
angelos [Thu, 30 Mar 2000 04:53:36 +0000 (04:53 +0000)]
Set re_rt to NULL, so we don't double free.

24 years agoauto detect the size of the seeprom; from freebsd (from NetBSD (from Linux?))
jason [Thu, 30 Mar 2000 02:49:35 +0000 (02:49 +0000)]
auto detect the size of the seeprom; from freebsd (from NetBSD (from Linux?))

24 years agotimeout-driven heartbeat.
mickey [Wed, 29 Mar 2000 23:11:06 +0000 (23:11 +0000)]
timeout-driven heartbeat.
right thing would be to pass beat count as an argument to timeout
routine (casted to (void *)) avoiding static counter, but
doing timeout_set() every timeout_add() sounds kinda uncool.
well, pondering in the struct timeout guts would be even more ugly.

24 years ago- update copyrights
jason [Wed, 29 Mar 2000 22:39:38 +0000 (22:39 +0000)]
- update copyrights
- remove all ability to block (no more tsleep/wakeup)

24 years agoeven more man page improvements! yowsa!
deraadt [Wed, 29 Mar 2000 22:02:49 +0000 (22:02 +0000)]
even more man page improvements! yowsa!

24 years ago13 not 12
deraadt [Wed, 29 Mar 2000 22:01:32 +0000 (22:01 +0000)]
13 not 12

24 years agoname is incorrect: openssl people please note
deraadt [Wed, 29 Mar 2000 21:54:56 +0000 (21:54 +0000)]
name is incorrect: openssl people please note

24 years agoUncomment ulpt targets.
aaron [Wed, 29 Mar 2000 21:46:07 +0000 (21:46 +0000)]
Uncomment ulpt targets.

24 years agoyou missed a bunch of things
deraadt [Wed, 29 Mar 2000 21:43:05 +0000 (21:43 +0000)]
you missed a bunch of things

24 years agovos.1 -> vos.8
hin [Wed, 29 Mar 2000 21:38:46 +0000 (21:38 +0000)]
vos.1 -> vos.8

24 years agoAdd manpage vos(1). (ok deraadt@)
hin [Wed, 29 Mar 2000 21:26:43 +0000 (21:26 +0000)]
Add manpage vos(1). (ok deraadt@)

24 years agoAdd manpage pts(1). (ok deraadt@)
hin [Wed, 29 Mar 2000 21:24:40 +0000 (21:24 +0000)]
Add manpage pts(1). (ok deraadt@)

24 years agoAdd manpage fs(1)
hin [Wed, 29 Mar 2000 21:23:09 +0000 (21:23 +0000)]
Add manpage fs(1)

24 years agoremove round-robin use of the boards. We're depending on the upper layer
jason [Wed, 29 Mar 2000 21:03:11 +0000 (21:03 +0000)]
remove round-robin use of the boards.  We're depending on the upper layer
being more intelligent about allocation in the future.

24 years agomore intel 840 stuff
deraadt [Wed, 29 Mar 2000 21:00:35 +0000 (21:00 +0000)]
more intel 840 stuff

24 years agosync
deraadt [Wed, 29 Mar 2000 20:59:57 +0000 (20:59 +0000)]
sync

24 years agoLong over due checkpoint:
jason [Wed, 29 Mar 2000 20:54:59 +0000 (20:54 +0000)]
Long over due checkpoint:
o register the hifn as handling DES and 3DES (no md5 or sha1 yet) depending
on whether the board is unlocked (none, half, or full)
o Fix many KNF nits
o print the amount of memory correctly and don't print the number of sessions
o set command and result buffer sizes correctly
o reclaim the descriptor rings so new commands and buffers can be added
o remove some bogus checks on the command buffer
o add new variables mac_process_len and crypt_process_len to hifn_command_t
o fix calculation in hifn_mbuf to generate the pa/len array for src/dst
o simplify the code for setting up the jump descriptor
o rework the hifn_intr routine to interrupt at IPL_IMP and simplify it's
results processing
o more to come...

24 years agoaddr(8) goes away, no man page, and useless
deraadt [Wed, 29 Mar 2000 20:32:55 +0000 (20:32 +0000)]
addr(8) goes away, no man page, and useless

24 years agoifmedia for ray
mickey [Wed, 29 Mar 2000 20:23:21 +0000 (20:23 +0000)]
ifmedia for ray