openbsd
24 years ago- add support for buffers that are not aligned (or end on a non 4byte boundary)
jason [Tue, 11 Apr 2000 19:59:06 +0000 (19:59 +0000)]
- add support for buffers that are not aligned (or end on a non 4byte boundary)
- recompute destination length from destination descriptors and reclaim the
  destination ring there.

24 years agolose non-support architecture pages
deraadt [Tue, 11 Apr 2000 19:44:42 +0000 (19:44 +0000)]
lose non-support architecture pages

24 years agoregen
jakob [Tue, 11 Apr 2000 19:04:10 +0000 (19:04 +0000)]
regen

24 years agoPhilips USB camera
jakob [Tue, 11 Apr 2000 19:03:19 +0000 (19:03 +0000)]
Philips USB camera

24 years agoIf realpath() fails, just use the old name and don't make it a fatal error.
millert [Tue, 11 Apr 2000 18:38:32 +0000 (18:38 +0000)]
If realpath() fails, just use the old name and don't make it a fatal error.
Closes PR #1185

24 years agoadd 802.11's nwid command; add mtu command
mickey [Tue, 11 Apr 2000 18:08:42 +0000 (18:08 +0000)]
add 802.11's nwid command; add mtu command

24 years agoDon't add an extra 20 bytes to ip_len, m_pkthdr.len is already updated
angelos [Tue, 11 Apr 2000 16:28:49 +0000 (16:28 +0000)]
Don't add an extra 20 bytes to ip_len, m_pkthdr.len is already updated
by M_PREPEND.

24 years agoAdd pci config
millert [Tue, 11 Apr 2000 16:26:22 +0000 (16:26 +0000)]
Add pci config

24 years ago- Don't bother with PCI_COMMAND_IO_ENABLE, the card doesn't support it.
jason [Tue, 11 Apr 2000 16:22:09 +0000 (16:22 +0000)]
- Don't bother with PCI_COMMAND_IO_ENABLE, the card doesn't support it.
- remove some debugging code
- fix arguments to last call to crypto_register()
- for sram boards, only check 1mb of ram
- when the rings are full, call the crp->callback with crp->crp_etype == ENOMEM
so it can clean up, then return 0
- some KNF

24 years agoAdd cardbus(4) man page.
aaron [Tue, 11 Apr 2000 14:12:27 +0000 (14:12 +0000)]
Add cardbus(4) man page.

24 years agoXr pcmcia(4), too.
aaron [Tue, 11 Apr 2000 14:08:03 +0000 (14:08 +0000)]
Xr pcmcia(4), too.

24 years agoMany updates, including some OpenBSD'ification, device additions and removals,
aaron [Tue, 11 Apr 2000 14:01:51 +0000 (14:01 +0000)]
Many updates, including some OpenBSD'ification, device additions and removals,
better cross references (Xr bus types, not each individual driver), formatting
fixes, etc.

24 years agosync
ho [Tue, 11 Apr 2000 13:57:39 +0000 (13:57 +0000)]
sync

24 years agoAdd Neomagic NM256ZX
ho [Tue, 11 Apr 2000 13:56:40 +0000 (13:56 +0000)]
Add Neomagic NM256ZX

24 years agodefine the rest of the descriptor bits
jason [Tue, 11 Apr 2000 13:49:34 +0000 (13:49 +0000)]
define the rest of the descriptor bits

24 years agoFix HISTORY section; ian@darwinsys.com
aaron [Tue, 11 Apr 2000 13:20:32 +0000 (13:20 +0000)]
Fix HISTORY section; ian@darwinsys.com

24 years agolooks better
deraadt [Tue, 11 Apr 2000 12:08:19 +0000 (12:08 +0000)]
looks better

24 years agoignore routing messages for interfaces that route6d does not care.
itojun [Tue, 11 Apr 2000 12:02:30 +0000 (12:02 +0000)]
ignore routing messages for interfaces that route6d does not care.
do not advertise blackhole/reject static routes.

24 years agoavoid complex alignment constraint in SIOCGIFCONF,
itojun [Tue, 11 Apr 2000 11:52:55 +0000 (11:52 +0000)]
avoid complex alignment constraint in SIOCGIFCONF,
by using getifaddrs(3).

24 years agodo not lose descriptors; Takahiro Kambe
deraadt [Tue, 11 Apr 2000 11:42:11 +0000 (11:42 +0000)]
do not lose descriptors; Takahiro Kambe

24 years agoOnce again, /usr/sbin/smrsh -> /usr/libexec
form [Tue, 11 Apr 2000 07:31:32 +0000 (07:31 +0000)]
Once again, /usr/sbin/smrsh -> /usr/libexec
Correct paths in smrsh(8).

24 years agotidying, accuracy, and duplicate removal
pjanzen [Tue, 11 Apr 2000 03:52:04 +0000 (03:52 +0000)]
tidying, accuracy, and duplicate removal

24 years agothe the; some occurrences found by soren@NetBSD.org
pjanzen [Tue, 11 Apr 2000 02:55:18 +0000 (02:55 +0000)]
the the; some occurrences found by soren@NetBSD.org

24 years agoCheck usec for >= 1000000, not just > ; as msaitoh@NetBSD.org
pjanzen [Tue, 11 Apr 2000 02:44:12 +0000 (02:44 +0000)]
Check usec for >= 1000000, not just > ; as msaitoh@NetBSD.org

24 years agowe need more room; xe goes away again, but it is on other floppies of course
deraadt [Tue, 11 Apr 2000 01:35:51 +0000 (01:35 +0000)]
we need more room; xe goes away again, but it is on other floppies of course

24 years agoremove proxy.c as well
ericj [Mon, 10 Apr 2000 20:47:07 +0000 (20:47 +0000)]
remove proxy.c as well

24 years agoproxy function not used/needed
ericj [Mon, 10 Apr 2000 20:39:05 +0000 (20:39 +0000)]
proxy function not used/needed

24 years agoadd support for true RNG presented on the i82802 FWH.
mickey [Mon, 10 Apr 2000 20:07:47 +0000 (20:07 +0000)]
add support for true RNG presented on the i82802 FWH.
it produces 1 byte at a time and has no ready irq, thus timeout driven.
in fact w/ default hz=100 it produces up to 60% of
gross entropy production in an average loaded desktop system.

24 years agothis is how rnd stats are printed out now
mickey [Mon, 10 Apr 2000 19:50:50 +0000 (19:50 +0000)]
this is how rnd stats are printed out now

24 years agomake .mpg playing more usefull, i.e. supply entropy
mickey [Mon, 10 Apr 2000 19:49:14 +0000 (19:49 +0000)]
make .mpg playing more usefull, i.e. supply entropy

24 years agoadd support for more random sources.
mickey [Mon, 10 Apr 2000 19:44:38 +0000 (19:44 +0000)]
add support for more random sources.
make it easy to add more in the future.
make extract_entropy() faster.
more accurate stats.

24 years agomissing THREAD_UNLOCK; netch@segfault.kiev.ua
deraadt [Mon, 10 Apr 2000 19:36:29 +0000 (19:36 +0000)]
missing THREAD_UNLOCK; netch@segfault.kiev.ua

24 years agodocument EWOULDBLOCK; freebsd
deraadt [Mon, 10 Apr 2000 19:36:02 +0000 (19:36 +0000)]
document EWOULDBLOCK; freebsd

24 years agoSpeed up simple pkg_info: don't retrieve information we don't use.
espie [Mon, 10 Apr 2000 18:44:31 +0000 (18:44 +0000)]
Speed up simple pkg_info: don't retrieve information we don't use.
Improve pkg list display slightly, insert space between pkg name and info
always (requested by aaron@).

24 years ago- Add back code from the original aeon driver to handle missed interrupts by
jason [Mon, 10 Apr 2000 18:40:47 +0000 (18:40 +0000)]
- Add back code from the original aeon driver to handle missed interrupts by
enabling interrupts when the command queue has more than one entry.
- fix comment on hifn_newsession to reflect reality
- allocate session structure in softc
- compute a random IV when a session is created and try to chain from a
software kept IV for subsequent packets
- add handling of CRD_F_EXPLICIT

24 years agoUse pci_mapreg_map() instead of pci_io_find() and pci_mapreg_map()
millert [Mon, 10 Apr 2000 18:09:46 +0000 (18:09 +0000)]
Use pci_mapreg_map() instead of pci_io_find() and pci_mapreg_map()

24 years agoThinko in dobuiltin. Reported by turan@
espie [Mon, 10 Apr 2000 17:16:30 +0000 (17:16 +0000)]
Thinko in dobuiltin. Reported by turan@

24 years agoregen
mickey [Mon, 10 Apr 2000 16:18:48 +0000 (16:18 +0000)]
regen

24 years agoa couple of xircom ethernet controllers
mickey [Mon, 10 Apr 2000 16:17:10 +0000 (16:17 +0000)]
a couple of xircom ethernet controllers

24 years agorepair x11-fwd
markus [Mon, 10 Apr 2000 15:19:43 +0000 (15:19 +0000)]
repair x11-fwd

24 years agoAironet PCI shim; all the real meat is in sys/ic/an.c.
millert [Mon, 10 Apr 2000 13:55:01 +0000 (13:55 +0000)]
Aironet PCI shim; all the real meat is in sys/ic/an.c.
Based on the FreeBSD if_an_pci.c but really the only things that
remain the same are the informative comments at the top.  I retained
Bill Paul's Copyright since it seems silly to add my own copyright
to what is simply boilerplate.

24 years agoregen
millert [Mon, 10 Apr 2000 13:45:31 +0000 (13:45 +0000)]
regen

24 years agoPare down the AIRONET strings a bit
millert [Mon, 10 Apr 2000 13:45:16 +0000 (13:45 +0000)]
Pare down the AIRONET strings a bit

24 years agodon't return directly from bridge_ioctl without splx() on invalid enc
jason [Mon, 10 Apr 2000 13:34:54 +0000 (13:34 +0000)]
don't return directly from bridge_ioctl without splx() on invalid enc
interfaces; modified version of patch from Armin Wolfermann
<armin@wolfermann.org>.

24 years agoregen from pcidevs
millert [Mon, 10 Apr 2000 12:21:13 +0000 (12:21 +0000)]
regen from pcidevs

24 years agoAdd Aironet PC4500 and PC4800
millert [Mon, 10 Apr 2000 12:20:31 +0000 (12:20 +0000)]
Add Aironet PC4500 and PC4800

24 years agoMinor oops in sanity logic, IFF_RUNNING is set/unset with IFF_UP,
angelos [Mon, 10 Apr 2000 07:34:53 +0000 (07:34 +0000)]
Minor oops in sanity logic, IFF_RUNNING is set/unset with IFF_UP,
be paranoid with uninitialized variable.

24 years agoOops on sanity logic.
angelos [Mon, 10 Apr 2000 07:33:44 +0000 (07:33 +0000)]
Oops on sanity logic.

24 years agoAdded support for wd detach (merge from NetBSD). Support for
csapuntz [Mon, 10 Apr 2000 07:06:14 +0000 (07:06 +0000)]
Added support for wd detach (merge from NetBSD). Support for
SCSI/ATAPI detach is not here yet.

Minor cleanup of wdc. Downgrade to UDMA mode 1 before going further.
Want to stay in UDMA modes because they're more error-resilient due to
a CRC.

Got rid of some of the ridiculous amount of softc sharing going on.
Hopefully, this will make the life of whoever goes in and fixes the
ref-counting to be correct easier.

24 years agooutput routine enqueues and calls start, rather than requeueing for input.
angelos [Mon, 10 Apr 2000 04:39:41 +0000 (04:39 +0000)]
output routine enqueues and calls start, rather than requeueing for input.

24 years agoTypo.
angelos [Mon, 10 Apr 2000 02:34:07 +0000 (02:34 +0000)]
Typo.

24 years agoSIOCAIFADDR.
angelos [Mon, 10 Apr 2000 02:33:32 +0000 (02:33 +0000)]
SIOCAIFADDR.

24 years agoRemove extra backslash, noted by marc@snafu.org
millert [Mon, 10 Apr 2000 02:28:36 +0000 (02:28 +0000)]
Remove extra backslash, noted by marc@snafu.org

24 years agoAllow setting address.
angelos [Mon, 10 Apr 2000 01:56:49 +0000 (01:56 +0000)]
Allow setting address.

24 years agorange error; < cd_ndevs, not <=
deraadt [Sun, 9 Apr 2000 22:46:03 +0000 (22:46 +0000)]
range error; < cd_ndevs, not <=

24 years agofix ulpt major # allocation
matthieu [Sun, 9 Apr 2000 21:07:46 +0000 (21:07 +0000)]
fix ulpt major # allocation

24 years agoTagged queueing now supported.
aaron [Sun, 9 Apr 2000 20:53:59 +0000 (20:53 +0000)]
Tagged queueing now supported.

24 years agosync
deraadt [Sun, 9 Apr 2000 20:32:58 +0000 (20:32 +0000)]
sync

24 years agoPut the line-wrap check back under STATE_INIT. It was causing some display
aaron [Sun, 9 Apr 2000 20:21:30 +0000 (20:21 +0000)]
Put the line-wrap check back under STATE_INIT. It was causing some display
problems in some (curses?) applications, i.e., sniffit.

24 years agoMove a locking function that was spread throughout disk device drivers into
csapuntz [Sun, 9 Apr 2000 19:26:35 +0000 (19:26 +0000)]
Move a locking function that was spread throughout disk device drivers into
the disk structure.

The locking was mostly used in disk device drivers to prevent multiple
disklabel operations from going on simultaneously against the device.

Added disk_construct(), a constructor for the disk structure, that
initializes the lock structure in disk. It is called by default in
disk_attach() if it hasn't been called yet.

Added disk_lock and disk_unlock

24 years agoAdded config_detach_children, config_activate_children.
csapuntz [Sun, 9 Apr 2000 19:23:18 +0000 (19:23 +0000)]
Added config_detach_children, config_activate_children.

Added ref counting to devices: device_ref, device_unref and a new method
for devices : ca_zeroref, called when the ref count hits zero.

Note that ca_zeroref may be called from interrupt context.

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

24 years agoPass ip_off and ip_len in the correct byte order to icmp_error(); this
angelos [Sun, 9 Apr 2000 17:43:02 +0000 (17:43 +0000)]
Pass ip_off and ip_len in the correct byte order to icmp_error(); this
should fix the crash problems with isic, reported last week.

24 years agoLink /usr/tmac/mdoc/doc to /usr/tmac/tmac.doc and remove references
millert [Sun, 9 Apr 2000 14:32:19 +0000 (14:32 +0000)]
Link /usr/tmac/mdoc/doc to /usr/tmac/tmac.doc and remove references
to files we don't ship.

24 years agogroff 1.15 plus local changes (insomnia strikes):
millert [Sun, 9 Apr 2000 08:25:09 +0000 (08:25 +0000)]
groff 1.15 plus local changes (insomnia strikes):
o moved *.man to *.$section_in and generate *.$section not *.n for bsd.man.mk
o modified groff Makefiles to not install man pages (we do it ourselves)
o use mkstemp everywhere
o don't install groff versions on mdoc macros, we want our own ones

24 years agogroff 1.15
millert [Sun, 9 Apr 2000 07:57:44 +0000 (07:57 +0000)]
groff 1.15

24 years agousing just ldconfig is a bad idea, use -R
deraadt [Sun, 9 Apr 2000 07:48:14 +0000 (07:48 +0000)]
using just ldconfig is a bad idea, use -R

24 years agoDon't trust the TOC coming from the drive so much.
csapuntz [Sun, 9 Apr 2000 07:09:03 +0000 (07:09 +0000)]
Don't trust the TOC coming from the drive so much.

Be better about handling failures of SCSI CD READ TOC command.

24 years agoo config.sh depends on config.over
millert [Sun, 9 Apr 2000 06:00:49 +0000 (06:00 +0000)]
o config.sh depends on config.over
o config.sh must be the first thing in ${GENERATED}
  That way a make w/o a make depend first will work.

24 years agoFix bug when doing C<FOO I<BAR>>; rra@stanford.edu
millert [Sun, 9 Apr 2000 05:40:02 +0000 (05:40 +0000)]
Fix bug when doing C<FOO I<BAR>>; rra@stanford.edu

24 years agoIf the vendor name is NULL, do not output a leading space; reported by deraadt@
aaron [Sat, 8 Apr 2000 20:55:41 +0000 (20:55 +0000)]
If the vendor name is NULL, do not output a leading space; reported by deraadt@

24 years agoY-E UFI drives don't clear sense on INQUIRY. Upper-layer SCSI drivers
csapuntz [Sat, 8 Apr 2000 20:28:07 +0000 (20:28 +0000)]
Y-E UFI drives don't clear sense on INQUIRY. Upper-layer SCSI drivers
don't like that too much.

Now drive is detected correctly, even without floppy in it.

24 years agoAdd RCSids.
aaron [Sat, 8 Apr 2000 20:03:33 +0000 (20:03 +0000)]
Add RCSids.

24 years agoThese days, attach can occur outside the tsleep-restricted world of
csapuntz [Sat, 8 Apr 2000 19:19:33 +0000 (19:19 +0000)]
These days, attach can occur outside the tsleep-restricted world of
BSD autoconf.

Don't use POLL & NOSLEEP mode if attaching after autoconf

24 years agoComplete the port to OpenBSD started by aaron@
csapuntz [Sat, 8 Apr 2000 19:10:48 +0000 (19:10 +0000)]
Complete the port to OpenBSD started by aaron@

Tested with Y-E USB floppy.

24 years agoDocument IFF_LINK0 flag.
angelos [Sat, 8 Apr 2000 18:49:28 +0000 (18:49 +0000)]
Document IFF_LINK0 flag.

24 years agoIf IFF_LINK0 is set, do IP-in-IP instead of Ethernet-in-IP. This will
angelos [Sat, 8 Apr 2000 16:55:58 +0000 (16:55 +0000)]
If IFF_LINK0 is set, do IP-in-IP instead of Ethernet-in-IP. This will
be used to implement overlay networks and more flexible road-warrior
support.

24 years agoMake installsitebin '/usr/local/bin'
millert [Sat, 8 Apr 2000 16:40:51 +0000 (16:40 +0000)]
Make installsitebin '/usr/local/bin'

24 years agoHandle EOF more cleanly
pjanzen [Sat, 8 Apr 2000 12:22:39 +0000 (12:22 +0000)]
Handle EOF more cleanly

24 years agoFix the card shuffle/draw algorithm. Patch only slightly
pjanzen [Sat, 8 Apr 2000 12:18:25 +0000 (12:18 +0000)]
Fix the card shuffle/draw algorithm.  Patch only slightly
modified from that given by John Darrow in NetBSD PR 9651.

24 years agoInitial check-in for support of 32-bit CardBus PC Cards; from NetBSD. On many
aaron [Sat, 8 Apr 2000 05:50:49 +0000 (05:50 +0000)]
Initial check-in for support of 32-bit CardBus PC Cards; from NetBSD. On many
machines, this code needs the new PCIBIOS* options enabled in the kernel config
file to work, but your mileage may vary. Included is a working 3c575 driver for
3Com 10/100 CardBus PC Card NICs (tested only with the 'C' revision). The 3c575
is the pccard version of the PCI EtherLink XL cards, and thus the xl driver has
been split into /sys/dev/ic.

24 years ago2.7-beta
deraadt [Sat, 8 Apr 2000 05:06:24 +0000 (05:06 +0000)]
2.7-beta

24 years agosync
deraadt [Sat, 8 Apr 2000 04:32:13 +0000 (04:32 +0000)]
sync

24 years agoWhen running ppp -background, show comfort messages showing
brian [Fri, 7 Apr 2000 23:46:39 +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 agoMerge with EOM 1.23
niklas [Fri, 7 Apr 2000 22:50:02 +0000 (22:50 +0000)]
Merge with EOM 1.23

author: angelos
Typo...

author: angelos
*_ike_address -> *_negotiation_address (so it's not IKE specific)

author: angelos
No need to use log_fatal...

24 years agoMerge with EOM 1.14
niklas [Fri, 7 Apr 2000 22:49:54 +0000 (22:49 +0000)]
Merge with EOM 1.14

author: angelos
*_ike_address -> *_negotiation_address (so it's not IKE specific)

24 years agoMerge with EOM 1.45
niklas [Fri, 7 Apr 2000 22:49:46 +0000 (22:49 +0000)]
Merge with EOM 1.45

author: niklas
Remove the log_fatal point

24 years agoAnother option, PCIBIOS_BUS_FIXUP, is needed for CardBus on some machines.
aaron [Fri, 7 Apr 2000 22:25:43 +0000 (22:25 +0000)]
Another option, PCIBIOS_BUS_FIXUP, is needed for CardBus on some machines.

24 years agoNeed <sys/device.h>.
aaron [Fri, 7 Apr 2000 22:22:57 +0000 (22:22 +0000)]
Need <sys/device.h>.

24 years agoapps/certpatch/certpatch.8: Merge with EOM 1.5
niklas [Fri, 7 Apr 2000 22:22:27 +0000 (22:22 +0000)]
apps/certpatch/certpatch.8: Merge with EOM 1.5
isakmpd.8: Merge with EOM 1.20
isakmpd.conf.5: Merge with EOM 1.40
isakmpd.policy.5: Merge with EOM 1.13

author: niklas
Changes from OpenBSD

24 years agoBring up to date with EOM version
niklas [Fri, 7 Apr 2000 22:21:55 +0000 (22:21 +0000)]
Bring up to date with EOM version

24 years agoMerge with EOM 1.13
niklas [Fri, 7 Apr 2000 22:10:40 +0000 (22:10 +0000)]
Merge with EOM 1.13

author: niklas
(c) 2000

author: niklas
FEATURES does not belong here, and let GMP go

author: ho
Add FEATURES definition, fix comment.

24 years agoconf.c: Merge with EOM 1.22
niklas [Fri, 7 Apr 2000 22:10:30 +0000 (22:10 +0000)]
conf.c: Merge with EOM 1.22
gmp_util.c: Merge with EOM 1.5
gmp_util.h: Merge with EOM 1.3
math_mp.h: Merge with EOM 1.2
sa.c: Merge with EOM 1.101
ui.c: Merge with EOM 1.40

author: niklas
(c) 2000

24 years agoMerge with EOM 1.48
niklas [Fri, 7 Apr 2000 22:07:44 +0000 (22:07 +0000)]
Merge with EOM 1.48

author: niklas
Style and correct error reporting

author: provos
remove double free(buf), caused skeyid to point to skeyid_d when using USER_FQDN

author: niklas
More braindamage with USE_ macros

24 years agoMerge with EOM 1.119
niklas [Fri, 7 Apr 2000 22:07:30 +0000 (22:07 +0000)]
Merge with EOM 1.119

author: niklas
log_fatal is only OK during initialization

author: ho
Missing #ifdef USE_X509 added

author: ho
Add #ifdef USE_X509

24 years agoMerge with EOM 1.10
niklas [Fri, 7 Apr 2000 22:07:18 +0000 (22:07 +0000)]
Merge with EOM 1.10

author: ho
Revert to manual OS selection, and make sure USE_X509 is set as needed.

author: ho
Another way to do multiple OSes

24 years agoMerge with EOM 1.16
niklas [Fri, 7 Apr 2000 22:07:07 +0000 (22:07 +0000)]
Merge with EOM 1.16

author: ho
Missing #ifdef USE_X509 added

24 years agoMerge with EOM 1.39
niklas [Fri, 7 Apr 2000 22:06:57 +0000 (22:06 +0000)]
Merge with EOM 1.39

author: angelos
Add text on CAs and policies.

24 years agoconf.c: Merge with EOM 1.21
niklas [Fri, 7 Apr 2000 22:06:44 +0000 (22:06 +0000)]
conf.c: Merge with EOM 1.21
isakmpd.c: Merge with EOM 1.46
sa.c: Merge with EOM 1.100
ui.c: Merge with EOM 1.39

author: niklas
error message style

24 years agoMerge with EOM 1.6
niklas [Fri, 7 Apr 2000 22:06:36 +0000 (22:06 +0000)]
Merge with EOM 1.6

author: ho
Revert to manual OS selection.

author: ho
multiple OSes, sync with other Makefiles

author: ho
sysdep fixes, new def for OS variable