]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoRemove the comment warning that the dllockinit() interface might
jdp [Sun, 9 Jan 2000 20:57:21 +0000 (20:57 +0000)]
Remove the comment warning that the dllockinit() interface might
change.  I have decided that the interface is general enough to
last.

24 years agoRemove; we don't use this file anymore.
marcel [Sun, 9 Jan 2000 20:22:35 +0000 (20:22 +0000)]
Remove; we don't use this file anymore.

24 years agotcp updates to support IPv6.
shin [Sun, 9 Jan 2000 19:17:30 +0000 (19:17 +0000)]
tcp updates to support IPv6.
also a small patch to sys/nfs/nfs_socket.c, as max_hdr size change.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project

24 years agoAdd the buildkernel and installkernel targets.
marcel [Sun, 9 Jan 2000 18:17:48 +0000 (18:17 +0000)]
Add the buildkernel and installkernel targets.
While here fix some minor style bugs (whitespacing) and move the
make target from Makefile.upgrade to this file.
Simplify the make target to make it readable.

24 years agoPoint to the right kernel ld script.
peter [Sun, 9 Jan 2000 17:59:49 +0000 (17:59 +0000)]
Point to the right kernel ld script.
Remove stray PC98 make variable.

24 years agoAdd a buildkernel and an installkernel target. With these targets
marcel [Sun, 9 Jan 2000 17:56:40 +0000 (17:56 +0000)]
Add a buildkernel and an installkernel target. With these targets
users can more easily upgrade.

buildworld now makes usr.sbin/config in bootstrap-tools so that
when you first make buildworld, buildkernel will use config(8)
from the temp. world tree (and of course also the compiler).

Which kernel to built is determined by the KERNEL variable. You
can have as many kernels listed as you like. When a config file
exists for the given MACHINE it will be built. When KERNEL has
not been defined it will be set to "GENERIC GENERIC98".

The first valid kernel named in the list will be used by the
installkernel target.

When NOCLEAN is defined the kernel object directory is *not*
removed by config first. This is in line with normal buildworld
behaviour.

The buildkernel target makes aicasm in sys/dev/aic7xxx first and
unconditionally. This hack allows us to cross-build kernels and
can go away when the problem is solved in a structural way.

24 years agoRemoved some more vestiges of ft.
bde [Sun, 9 Jan 2000 17:13:35 +0000 (17:13 +0000)]
Removed some more vestiges of ft.

Fixed some style bugs.

24 years agoMove Fdisk ahead of Lable.
obrien [Sun, 9 Jan 2000 16:58:52 +0000 (16:58 +0000)]
Move Fdisk ahead of Lable.

Ok'ed by: JKH

24 years agoFixed style bugs related to the access functions for the bsfl and bsrl
bde [Sun, 9 Jan 2000 16:46:03 +0000 (16:46 +0000)]
Fixed style bugs related to the access functions for the bsfl and bsrl
i386 instructions.

24 years agoFixed bounds checking of unit number in promopen(). Minor numbers can
bde [Sun, 9 Jan 2000 16:24:55 +0000 (16:24 +0000)]
Fixed bounds checking of unit number in promopen().  Minor numbers can
be negative.

24 years agoRemoved NOEXTRADEPEND hack. This was only for an old version of makeworld.
bde [Sun, 9 Jan 2000 15:40:32 +0000 (15:40 +0000)]
Removed NOEXTRADEPEND hack.  This was only for an old version of makeworld.

24 years agoPut on my asbestos suit and move $mach/conf/*.$mach to conf/*.$mach as
peter [Sun, 9 Jan 2000 15:29:10 +0000 (15:29 +0000)]
Put on my asbestos suit and move $mach/conf/*.$mach to conf/*.$mach as
hinted at in the previous config(8) commits.  I've spoken about this with
a few people and after the initial suprise wore off they thought it wasn't
a bad idea.  The upshot of it is that all the files*, Makefile*, options*
files are all right next to each other in the hope that people making
changes to one set will remember the others.

Note, config(8) looks to sys/conf first, and falls back to sys/$mach/conf
still, so this doesn't stop people working in subdirs for new platforms.
But once it's in the tree it can be moved next to the other files so that
the non-i386 platforms are (hopefully) treated a little better than as if
they were "second class" ports.

This does not change any user editable files.  the config program is
still run in the same directory as before, the per-platform files
(GENERIC, LINT etc) are still in the same place.

24 years agoSynced with sys/i386/conf/Makefile.i386 (MACHINE -> MACHINE_ARCH).
kato [Sun, 9 Jan 2000 14:56:07 +0000 (14:56 +0000)]
Synced with sys/i386/conf/Makefile.i386 (MACHINE -> MACHINE_ARCH).

Pointed out by: peter

24 years agoRemoved defunct options EXTRA_SIO and KEY_DEBUG.
bde [Sun, 9 Jan 2000 14:47:38 +0000 (14:47 +0000)]
Removed defunct options EXTRA_SIO and KEY_DEBUG.

24 years agoChanged MACHINE -> MACHINE_ARCH to make the i386-kernel be able to
kato [Sun, 9 Jan 2000 14:43:47 +0000 (14:43 +0000)]
Changed MACHINE -> MACHINE_ARCH to make the i386-kernel be able to
compiled on PC98.

24 years agoSynced with sys/i386/conf/files.i386 rev 1.295.
kato [Sun, 9 Jan 2000 14:25:50 +0000 (14:25 +0000)]
Synced with sys/i386/conf/files.i386 rev 1.295.

24 years agoSynced with sys/i386/conf/Makefile.i386 rev 1.176.
kato [Sun, 9 Jan 2000 14:24:00 +0000 (14:24 +0000)]
Synced with sys/i386/conf/Makefile.i386 rev 1.176.

24 years agoFix path.
markm [Sun, 9 Jan 2000 13:52:56 +0000 (13:52 +0000)]
Fix path.

24 years agoCleaned up options handling:
bde [Sun, 9 Jan 2000 13:11:19 +0000 (13:11 +0000)]
Cleaned up options handling:
- don't generate unusable headers or #defines.
- removed duplicate opt_svr4.h in CLEANFILES.
- removed bogus dependency of svr4.h on options headers.

24 years agoRemove binary files from source tree
phantom [Sun, 9 Jan 2000 12:57:41 +0000 (12:57 +0000)]
Remove binary files from source tree

24 years agoRemove even known options if they are in the wrong options header. This
bde [Sun, 9 Jan 2000 12:52:01 +0000 (12:52 +0000)]
Remove even known options if they are in the wrong options header.  This
fixes movement of options.  Stale copies were left behind.

24 years agoreplace gethostbyname() with getaddrinfo(), and gethostbyaddr() with
shin [Sun, 9 Jan 2000 12:46:35 +0000 (12:46 +0000)]
replace gethostbyname() with getaddrinfo(), and gethostbyaddr() with
getipnodebyaddr().
This resolve 2 problems.
 -can specify scope index(@ifname) for IPv6 link local addr
 -reverse lookup for IPv6 loopback addr(::1) was strange, but fixed

24 years agoRemoved bogus include of opt_global.h. opt_global.h is automatically
bde [Sun, 9 Jan 2000 12:29:45 +0000 (12:29 +0000)]
Removed bogus include of opt_global.h.  opt_global.h is automatically
included in all C files if it makes sense (i.e., for compiling kernels
but not for compiling modules), so including it explicitly just
complicates module makefiles.

24 years agoPut COMPAT_SVR4 in opt_dontuse.h for the same reasons as IBCS2 and
bde [Sun, 9 Jan 2000 10:58:39 +0000 (10:58 +0000)]
Put COMPAT_SVR4 in opt_dontuse.h for the same reasons as IBCS2 and
COMPAT_LINUX are there.  It shouldn't be and isn't used after config
time, except to complicate the svr4 module makefile.

Moved options for emulators to a separate section.

24 years agoCompile svr4_genassym.c with ordinary ${CFLAGS}. The (small) need for
bde [Sun, 9 Jan 2000 10:16:12 +0000 (10:16 +0000)]
Compile svr4_genassym.c with ordinary ${CFLAGS}.  The (small) need for
-U_KERNEL became negative when all all the genassym.c's were converted
to be cross-built.

Use "genassym ... > ${.TARGET}", not "genassym -o $@ ...", so that
genassym(1) doesn't need to support -o.

Removed duplicate -D_KERNEL from CFLAGS.

Removed triplicate -D_KERNEL from flags for compiling svr4_locore.s.

24 years agoRoutines needed by new kerberos.
markm [Sun, 9 Jan 2000 10:09:40 +0000 (10:09 +0000)]
Routines needed by new kerberos.

24 years agoCompile linux_genassym.c with ordinary ${CFLAGS}. The (small) need for
bde [Sun, 9 Jan 2000 10:04:53 +0000 (10:04 +0000)]
Compile linux_genassym.c with ordinary ${CFLAGS}.  The (small) need for
-U_KERNEL became negative when all all the genassym.c's were converted
to be cross-built.

Use "genassym ... > ${.TARGET}", not "genassym -o $@ ...", so that
genassym(1) doesn't need to support -o.

Removed duplicate -D_KERNEL from flags for compiling linux_locore.s.

24 years agoMerge from sys/isa/fd.c revision from 1.171 to 1.176 and sys/isa/fdreg.h
nyan [Sun, 9 Jan 2000 10:01:21 +0000 (10:01 +0000)]
Merge from sys/isa/fd.c revision from 1.171 to 1.176 and sys/isa/fdreg.h
revision 1.13.

Forgotten by: kato

24 years agoFixed a missing forward declaration. I don't know why I though the
bde [Sun, 9 Jan 2000 09:57:19 +0000 (09:57 +0000)]
Fixed a missing forward declaration.  I don't know why I though the
declaration of `struct proc' in svr4_genassym.c was unused.  It was
just misplaced.

24 years agoUpdate for KTH Kerberos (eBones) v1.0
markm [Sun, 9 Jan 2000 08:59:39 +0000 (08:59 +0000)]
Update for KTH Kerberos (eBones) v1.0

24 years agoCorrect discrepancy between definition of argument to tempnam() and
kris [Sun, 9 Jan 2000 08:54:03 +0000 (08:54 +0000)]
Correct discrepancy between definition of argument to tempnam() and
the name by which it is referenced in the text.

24 years agoresolve conflicts.
markm [Sun, 9 Jan 2000 08:53:35 +0000 (08:53 +0000)]
resolve conflicts.

24 years agoupdate pcvt manual page to document the scrollbackbuffer usage
hm [Sun, 9 Jan 2000 08:46:10 +0000 (08:46 +0000)]
update pcvt manual page to document the scrollbackbuffer usage

24 years agofix the premature termination of playback
cg [Sun, 9 Jan 2000 08:32:49 +0000 (08:32 +0000)]
fix the premature termination of playback

24 years agoThis commit was generated by cvs2svn to compensate for changes in r55643,
markm [Sun, 9 Jan 2000 08:31:47 +0000 (08:31 +0000)]
This commit was generated by cvs2svn to compensate for changes in r55643,
which included commits to RCS files with non-trunk default branches.

24 years agoClean import of KTH Kerberos (eBones) v1.0.
markm [Sun, 9 Jan 2000 08:31:47 +0000 (08:31 +0000)]
Clean import of KTH Kerberos (eBones) v1.0.

24 years agoCompile *_genassym.c with ordinary ${CFLAGS}. The (small) needs for
bde [Sun, 9 Jan 2000 08:24:27 +0000 (08:24 +0000)]
Compile *_genassym.c with ordinary ${CFLAGS}.  The (small) needs for
-U_KERNEL became negative when all all the genassym.c's were converted
to be cross-built.  Related cleanups: PARAM went away, but was still
used here; KERNEL was renamed to _KERNEL, but was still KERNEL here;
the deprecated macros $@ and $< were still used here.

Use "genassym ... > ${.TARGET}", not "genassym -o $@ ...", so that
genassym(1) doesn't need to support -o.

Removed half-baked hard-coded dependencies of *_genassym.o on headers.
These objects should be added to the list of objects in the depend
rule to get full dependencies.  This doesn't happen automatically
because they are not linked into the kernel.  Half baked dependencies
don't really help.

24 years agoStrip even more unneeded symbols.
jkh [Sun, 9 Jan 2000 08:23:17 +0000 (08:23 +0000)]
Strip even more unneeded symbols.
Suggested by: peter

24 years agoenable the neomagic driver
cg [Sun, 9 Jan 2000 08:17:47 +0000 (08:17 +0000)]
enable the neomagic driver

24 years agodriver for neomagic 256av and 256zx
cg [Sun, 9 Jan 2000 08:14:11 +0000 (08:14 +0000)]
driver for neomagic 256av and 256zx

Obtained from: anonymous author, heavily derived

24 years agomodify sndstat output
cg [Sun, 9 Jan 2000 08:07:46 +0000 (08:07 +0000)]
modify sndstat output

24 years agoQuick fix for LINT breakage. KERNFORMAT went away, so don't use it
bde [Sun, 9 Jan 2000 07:50:42 +0000 (07:50 +0000)]
Quick fix for LINT breakage.  KERNFORMAT went away, so don't use it
for trlld.o.

24 years agoBump configversion. The controller/device changes are upwards but not
peter [Sun, 9 Jan 2000 07:10:27 +0000 (07:10 +0000)]
Bump configversion.  The controller/device changes are upwards but not
downwards compatable.  If you try and config a s/controller/device/ kernel
with an old config(8), the results will be less than satisfactory.

24 years agoClose buffer overflows. This is partially based on an old version of
kris [Sun, 9 Jan 2000 07:10:04 +0000 (07:10 +0000)]
Close buffer overflows. This is partially based on an old version of
the fix from OpenBSD.

Reviewed by: markm

24 years agoSpell chown right.
imp [Sun, 9 Jan 2000 05:12:25 +0000 (05:12 +0000)]
Spell chown right.

Noticed by: Phil Jenvey and Mike Heffner

24 years agoRemove BROADCAST flag from faith interface,
shin [Sun, 9 Jan 2000 04:35:39 +0000 (04:35 +0000)]
Remove BROADCAST flag from faith interface,
 -it not seems to be necessary
 -to avoid dhcp messages or something like that sent to faith interface

The problem reported by: Jim Bloom <bloom@acm.org>

24 years agoenable IPsec over DUMMYNET again
shin [Sun, 9 Jan 2000 03:06:28 +0000 (03:06 +0000)]
enable IPsec over DUMMYNET again

Submitted by: luigi
Reviewed by: luigi

24 years agoInstall mailer.conf in /etc/mail instead of /etc.
nyan [Sun, 9 Jan 2000 02:06:43 +0000 (02:06 +0000)]
Install mailer.conf in /etc/mail instead of /etc.

Reviewed by: peter

24 years agoSync contents of struct nfsd_svrargs
kris [Sun, 9 Jan 2000 01:54:35 +0000 (01:54 +0000)]
Sync contents of struct nfsd_svrargs

24 years agoConvert the filesystem type returned in struct statfs by syscalls
marcel [Sat, 8 Jan 2000 21:09:41 +0000 (21:09 +0000)]
Convert the filesystem type returned in struct statfs by syscalls
linux_statfs and linux_fstatfs. Linux binaries testing this expect
the filesystem's magic number and not our vnode's tag.

PR: 15425
Tested by: Vladimir N. Silyaev <vsilyaev@mindspring.com>

24 years ago - Add year 2000 copyright to driver files.
groudier [Sat, 8 Jan 2000 19:58:17 +0000 (19:58 +0000)]
  - Add year 2000 copyright to driver files.
  - Set MAX_OFFS driver compile option to 63 (was 64 which is wrong).
  - Fix a typo in the SYMBIOS NVRAM layout structure and add field and
    bit definition for the support of PIM_NOBUSRESET.
  - Report to XPT PIM_NOBUSRESET and PIM_SCANHILO if set by user in NVRAM.
  - Negotiate SYNC immediately after WIDE response from the target as
    suggested by Justin Gibbs.
  - Remove some misleading comment about CmdQue handling by CAM.
  - Apply correctly the MAX_WIDE and MAX_OFFS driver options.

24 years agoInclude <stddef.h> here so that <sys/assym.h> can be unpolluted.
bde [Sat, 8 Jan 2000 19:56:03 +0000 (19:56 +0000)]
Include <stddef.h> here so that <sys/assym.h> can be unpolluted.

Include <sys/param.h> before <sys/assym.h> in case any of the magic
in the former is ever needed in the latter.

Removed an unused forward declaration and an unused include.

24 years agoInclude <stddef.h> here so that <sys/assym.h> can be unpolluted.
bde [Sat, 8 Jan 2000 19:53:18 +0000 (19:53 +0000)]
Include <stddef.h> here so that <sys/assym.h> can be unpolluted.

Include <sys/param.h> before <sys/assym.h> in case any of the magic
in the former is ever needed in the latter.

24 years agoAdd Latin4 wide fonts
ache [Sat, 8 Jan 2000 18:54:43 +0000 (18:54 +0000)]
Add Latin4 wide fonts

Submitted by: Ricardas Cepas <rch@richard.eu.org>

24 years agoAdd "-I@/../include" and/or "-I${DESTDIR}/usr/include" to CFLAGS,
bde [Sat, 8 Jan 2000 18:48:57 +0000 (18:48 +0000)]
Add "-I@/../include" and/or "-I${DESTDIR}/usr/include" to CFLAGS,
essentially as in kernel makefiles, so that module sources can include
<stddef.h> and other standard headers.  Only add the second path when
the first path can't be found, instead of when DESTDIR is defined.
Adding it used to be just an obfuscation.

Use "${.OBJDIR}" instyead of "." in -I paths.  Using "${.OBJDIR}" just
gave more verbose command lines and depend files.

24 years agoAdd Latin4 fonts, VGA 9bit mapped
ache [Sat, 8 Jan 2000 18:27:59 +0000 (18:27 +0000)]
Add Latin4 fonts, VGA 9bit mapped

Submitted by: Ricardas Cepas <rch@richard.eu.org>

24 years agoadd Latin4 screen map
ache [Sat, 8 Jan 2000 18:11:06 +0000 (18:11 +0000)]
add Latin4 screen map

Submitted by: Ricardas Cepas <rch@richard.eu.org>

24 years agoCorrectly backspace over number N that preceeds macros.
hoek [Sat, 8 Jan 2000 18:11:05 +0000 (18:11 +0000)]
Correctly backspace over number N that preceeds macros.

24 years agoconfig(8) doesn't know anything about scsi devices like it used to, remove
peter [Sat, 8 Jan 2000 17:51:33 +0000 (17:51 +0000)]
config(8) doesn't know anything about scsi devices like it used to, remove
the misleading comments to that effect.
Prune bogus 'at foo?' (smbus, iicbus, ppbus) appendages on things that
they are meaningless for.  It was just eye candy and wasn't used by
anything in the tree.  The interconnects were defined by the drivers
themselves and auto discovery.
(The new ppbus code may change this if it uses the resource_get_*() calls
 to find it's configured children if self discovery isn't possible)

24 years agoFurther sync Alpha and i386 Makefiles. Remove KERNFORMAT = elf stuff as
peter [Sat, 8 Jan 2000 17:31:35 +0000 (17:31 +0000)]
Further sync Alpha and i386 Makefiles.  Remove KERNFORMAT = elf stuff as
it's always true on these platforms (and is likely to be on others as
well since loader is the one that is configured for whatever the boot
requirements are)

24 years agoFix lots of warnings caused by __sigisempty and __sigseteq being externs
peter [Sat, 8 Jan 2000 17:25:00 +0000 (17:25 +0000)]
Fix lots of warnings caused by __sigisempty and __sigseteq being externs
and later static inlines.  Perhaps these should be #ifdef _KERNEL?

24 years agoAdd Latin2 conversion table
ache [Sat, 8 Jan 2000 17:17:32 +0000 (17:17 +0000)]
Add Latin2 conversion table

Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>

24 years agogenassym is ELF-only, therefore the kernel is now ELF-only as well.
peter [Sat, 8 Jan 2000 17:12:15 +0000 (17:12 +0000)]
genassym is ELF-only, therefore the kernel is now ELF-only as well.

24 years agoSupport getting *.$MACHINE from sys/conf as well as sys/$MACHINE/conf.
peter [Sat, 8 Jan 2000 16:48:12 +0000 (16:48 +0000)]
Support getting *.$MACHINE from sys/conf as well as sys/$MACHINE/conf.
This would mean that we could move files.alpha, files.i386, files.pc98
etc all next to conf/files, and the various Makefiles next to each
other.  This should go a long way towards committers "seeing" the
Alpha etc stuff and remembering to update that too as it would be
right next to the i386 config files.  Note this does not include
the GENERIC etc files as they can't be shared.  I haven't actually
moved the files, but the support is here for it.  It still supports
the per-machine conf directories so that folks working on a new arch
can just distribute a subdir of files.

24 years agoAllow #-comments in conversion table file
ache [Sat, 8 Jan 2000 16:47:55 +0000 (16:47 +0000)]
Allow #-comments in conversion table file

24 years agoSync with i386
marcel [Sat, 8 Jan 2000 16:43:46 +0000 (16:43 +0000)]
Sync with i386

\begin{quote}
Compile genassym.c with ordinary ${CFLAGS}.  The (small) needs for
${GEN_CFLAGS} and -U_KERNEL became negative when all all the
genassym.c's were converted to be cross-built.

Makefile.*:
- Cleanups associated with the old genassym.
- Fixed deprecated spelling of ${.IMPSRC} as "$<".
\end{quote}

Submitted by: bde

24 years agoChange NDFREE() from a macro to a function for the time being; the macro
eivind [Sat, 8 Jan 2000 16:20:06 +0000 (16:20 +0000)]
Change NDFREE() from a macro to a function for the time being; the macro
version caused intolerable bloat (30k).  I'm likely to revisit this with an
attempt at a smarter macro.

Bloat noticed by:       bde

24 years agoSync the sym0 description while here. It doesn't conflict with ncr0
peter [Sat, 8 Jan 2000 16:19:33 +0000 (16:19 +0000)]
Sync the sym0 description while here.  It doesn't conflict with ncr0
and is enabled in GENERIC.

24 years agos/controller/device/ as per config(8) changes
peter [Sat, 8 Jan 2000 16:17:41 +0000 (16:17 +0000)]
s/controller/device/ as per config(8) changes

24 years agos/controller/device/ as per config(8) changes
peter [Sat, 8 Jan 2000 16:07:11 +0000 (16:07 +0000)]
s/controller/device/ as per config(8) changes

24 years agos/controller/device/ as per config(8)
peter [Sat, 8 Jan 2000 16:03:57 +0000 (16:03 +0000)]
s/controller/device/ as per config(8)

24 years agos/controller/device/ as per config(8) changes
peter [Sat, 8 Jan 2000 15:59:12 +0000 (15:59 +0000)]
s/controller/device/ as per config(8) changes

24 years agoApply the axe to some more cruft in config(8). In particular:
peter [Sat, 8 Jan 2000 15:57:22 +0000 (15:57 +0000)]
Apply the axe to some more cruft in config(8).  In particular:
- redo the "at" configuration system so that it just syntax checks
  to make sure the device you're configuring something "at" appears to
  exist.  Nuke a bunch of complexity that was responsible for creating
  "clones" of wildcard devices and some wierd stuff in a few places
  including the scbus config tables etc.
- merge "controller" and "device" - there is no difference as far as
  the kernel is concernend, it's just something there to make life
  difficult for config file writers.  "controller" is now an alias for
  "device".
- emit full scsi config into the resource tables.  We could trivially
  change cam to use that rather than it's own "special" table for wiring
  and static configuration.  ATA could use this too for static wiring.
- try and emulate some of the quirks of the old system where it made
  sense.  Some were too strange though and I'd be very suprised if they
  were features and not outright bugs.  nexus handling is still strange.
  One thing in particular is that some of the wierd entries in the
  newbus devtables is now gone as it was a quirk side effect of the
  wildcard/question-mark cloning above.

GENERIC and LINT still build etc.

24 years agoCompile genassym.c with ordinary ${CFLAGS}. The (small) needs for
bde [Sat, 8 Jan 2000 15:52:22 +0000 (15:52 +0000)]
Compile genassym.c with ordinary ${CFLAGS}.  The (small) needs for
${GEN_CFLAGS} and -U_KERNEL became negative when all all the
genassym.c's were converted to be cross-built.

Makefile.*:
- Cleanups associated with the old genassym.
- Fixed deprecated spelling of ${.IMPSRC} as "$<".

24 years agoFixed removal of unknown options. For options files with only a single
bde [Sat, 8 Jan 2000 14:34:50 +0000 (14:34 +0000)]
Fixed removal of unknown options.  For options files with only a single
known option, unknown options following the known option were not
removed.  Now I think only unknown options in unknown options files
are not removed.  This is harmless because unknown options files should
not be used, but removing the files would be cleaner.

24 years agoMerge bug fix from KAME repository.
shin [Sat, 8 Jan 2000 14:28:46 +0000 (14:28 +0000)]
Merge bug fix from KAME repository.
This fix enables inet6 default route addition.

Suggested by: itojun

24 years agoprevent kernel panic which happens when either of IPSEC and IPDIVERT
shin [Sat, 8 Jan 2000 12:53:48 +0000 (12:53 +0000)]
prevent kernel panic which happens when either of IPSEC and IPDIVERT
is enabled.

Confirmed by: Eugene M. Kim <ab@astralblue.com>

24 years agoAdd new define USE_INET6, which enbale IPv6 support on certain
sumikawa [Sat, 8 Jan 2000 12:23:57 +0000 (12:23 +0000)]
Add new define USE_INET6, which enbale IPv6 support on certain
packages.

Approved by: asami
Reviewed by: billf

24 years agoAdd ipfw hooks for the new dummynet features.
luigi [Sat, 8 Jan 2000 11:31:43 +0000 (11:31 +0000)]
Add ipfw hooks for the new dummynet features.

Support masks on TCP/UDP ports.

Minor cleanup of ip_fw_chk() to avoid repeated calls to PULLUP_TO
at each rule.

24 years agoCleanup dummynet call interface so it should now work on the Alpha
luigi [Sat, 8 Jan 2000 11:28:23 +0000 (11:28 +0000)]
Cleanup dummynet call interface so it should now work on the Alpha
as well. Also (probably) fix a bug introduced during the IPv6 import.

24 years agoImplement per-flow queueing. Using a single pipe config rule,
luigi [Sat, 8 Jan 2000 11:24:46 +0000 (11:24 +0000)]
Implement per-flow queueing. Using a single pipe config rule,
now you can dynamically create rate-limited queues for different
flows using masks on dst/src IP, port and protocols.
Read the ipfw(8) manpage for details and examples.

Restructure the internals of the traffic shaper to use heaps,
so that it manages efficiently large number of queues.

Fix a bug which was present in the previous versions which could
cause, under certain unfrequent conditions, to send out very large
bursts of traffic.

All in all, this new code is much cleaner than the previous one and
should also perform better.

Work supported by Akamba Corp.

24 years agoSome code cleanup based on the ideas from submitter.
bp [Sat, 8 Jan 2000 11:21:51 +0000 (11:21 +0000)]
Some code cleanup based on the ideas from submitter.

Submitted by: Philippe Charnier <charnier@xp11.frmug.org>

24 years agoSupport per-flow queueing in dummynet.
luigi [Sat, 8 Jan 2000 11:19:19 +0000 (11:19 +0000)]
Support per-flow queueing in dummynet.
Implement masks on UDP/TCP ports.
Large rewrite of the manpage.

Work supported by Akamba Corp.

24 years agoTreat negative uio_offset value as eof (idea by: bde).
bp [Sat, 8 Jan 2000 10:45:54 +0000 (10:45 +0000)]
Treat negative uio_offset value as eof (idea by: bde).
Prevent overflows by casting uio_offset to uoff_t.
Return correct error number if directory entry is broken.

Reviewed by: bde

24 years agoShow the port/mem/irq of pci devices too.
peter [Sat, 8 Jan 2000 10:12:21 +0000 (10:12 +0000)]
Show the port/mem/irq of pci devices too.

24 years agoHave to install from ${.CURDIR}, not ${.OBJDIR}.
jkh [Sat, 8 Jan 2000 09:34:45 +0000 (09:34 +0000)]
Have to install from ${.CURDIR}, not ${.OBJDIR}.

24 years agoFuther cleanup.. "device_print_prettyname(); printf()" -> device_printf()
peter [Sat, 8 Jan 2000 09:33:09 +0000 (09:33 +0000)]
Futher cleanup..  "device_print_prettyname(); printf()" -> device_printf()
It seems that the IDE system uses 0x3f6 for itself, which conflicts with
fdc's default 0x3f0-3f7 allocation range. Sigh.  Work around this.
Use bus_set_resource() rather than allocating specific areas, it makes
the code a little cleaner.

Based on work by: dfr

24 years agoClean up the cfgmech/pci_mechanism debris. The reason for the existance
peter [Sat, 8 Jan 2000 08:31:24 +0000 (08:31 +0000)]
Clean up the cfgmech/pci_mechanism debris.  The reason for the existance
of this is no longer an issue as we have a replacement driver for the
one that needed it.

Reviewed by: dfr

24 years agoAdd the vendor/device IDs for the LinkSys USB100TX.
wpaul [Sat, 8 Jan 2000 07:32:48 +0000 (07:32 +0000)]
Add the vendor/device IDs for the LinkSys USB100TX.

Note: the .INF file for LinkSys's driver says the vendor ID is 0x66b,
however this does not agree with the vendor ID listed for LinkSys in
the company list from www.usb.org. In fact, 0x66b doesn't seem to appear
in the company list at all. Furthermore, this same vendor ID crops
up in some of the D-Link .INF files. Frankly I don't know what the heck
is going on here, but I need to add 0x66b to usbdevs and call it
something, so here we are.

24 years agoBe a bit more discriminating when trying to decide when to screen out
wpaul [Sat, 8 Jan 2000 06:52:36 +0000 (06:52 +0000)]
Be a bit more discriminating when trying to decide when to screen out
certain PHY addresses in aue_miibus_readreg(). Not all adapters based
on the Pegasus chip may have their PHYs wired for the same MII bus
addresses: the logic that I used for my ADMtek eval board might not
apply to other adapters, so make sure to only use it if this is really
an ADMtek eval board (check the vendor/device ID).

This will hopefully make the LinkSys USB100TX adapter work correctly.

24 years agoTurn on parity error reporting before configuring external sram. This
gibbs [Sat, 8 Jan 2000 05:31:38 +0000 (05:31 +0000)]
Turn on parity error reporting before configuring external sram.  This
makes it a little easier to notice that parity checking an 8bit sram
isn't working.

Turn on scb and internal data-path parity checking for all pci chips types.
We were only doing this for ultra2 chips.

After clearing the parity interrupt status, clear the BRKADRINT.  This
avoids seeing a bogus BRKADRINT interrupt after external SCB probing
once normal interrupts are enabled.

24 years agoRemove the SHA stuff properly.
jkh [Sat, 8 Jan 2000 03:01:13 +0000 (03:01 +0000)]
Remove the SHA stuff properly.

24 years agoUse 'static __inline', not 'extern __inline', for __sigisempty() and
jasone [Sat, 8 Jan 2000 01:08:48 +0000 (01:08 +0000)]
Use 'static __inline', not 'extern __inline', for __sigisempty() and
__sigseteq().

Submitted by: luoqi

24 years agoLeave the SOFS value (number of StartOfFrames to wait while filling
wpaul [Sat, 8 Jan 2000 00:40:44 +0000 (00:40 +0000)]
Leave the SOFS value (number of StartOfFrames to wait while filling
an URB before sending ZLP) set to the default. Choosing a bad value
can apparently cause a lockup on some machines/controllers.

Reported by: Doug Ambrisko

24 years agoReally enable external SCB ram on Ultra2 capable controllers.
gibbs [Sat, 8 Jan 2000 00:32:08 +0000 (00:32 +0000)]
Really enable external SCB ram on Ultra2 capable controllers.

Don't even bother to look for SCB ram on controllers < aic7870.

Clear any parity errors generated by looking at external SCB ram.

24 years agoUpdate copyrights to Y2K.
gibbs [Fri, 7 Jan 2000 23:08:20 +0000 (23:08 +0000)]
Update copyrights to Y2K.

93cx6.c:
Make the SRAM dump output a little prettier.

aic7xxx.c:
Store all SG entries into our SG array in kernel space.
This makes data-overrun and other error reporting more
useful as we can dump all SG entries.  In the past,
we only stored the SG entries that the sequencer might
need to access, which meant we skipped the first element
that is embedded into the SCB.

Add a table of chip strings and replace ugly switch
statements with table lookups.

Add a table with bus phase strings and message reponses
to parity errors in those phases.  Use the table to
pretty print bus phase messages as well as collapse
another switch statement.

Fix a bug in target mode that could cause us to unpause
the sequencer early in bus reset processing.

Add the 80MHz/DT mode into our syncrate table.  This
rate is not yet used or enabled.

Correct some comments, clean up some code...

aic7xxx.h:
Add U160 controller feature information.

Add some more bit fields for various SEEPROM formats.

aic7xxx.reg:
Add U160 register and register bit definitions.

aic7xxx.seq:
Make phasemis state tracking more straight forward.  This
avoids the consumption of SINDEX which is a very useful register.

For the U160 chips, you must use the 'mov' instruction to
update DFCNTRL.  Using 'or' to set the PRELOADED bit is
completely ineffective.

At the end of the command phase, wair for our ACK signal
to de-assert before disabling the SCSI dma engine.  For
slow devices, this avoids clearing the ACK before the
other end has had a chance to see it and lower REQ.

24 years agoAdd detection logic for the U160 family of adaptec controllers. These
gibbs [Fri, 7 Jan 2000 22:53:37 +0000 (22:53 +0000)]
Add detection logic for the U160 family of adaptec controllers.  These
controllers will run at U2 speeds until I can complete the U160 support
for this driver.

Correct a termination buglet for the 2940UW-Pro.

Be more paranoid in how we probe and enable external ram, fast external
ram timing and external ram parity checking.  We should now work on
20ns and 8bit SRAM parts.

Perform initial setup for the DT feature on cards that support it.

Factorize and clean up code.  Use tables where it makes sense, etc.

Add some delays in dealing with the board control logic.  I've never
seen this code fail, but with the ever increasing speed of processors,
its better to insert deterministic delays just to be safe.  This stuff
is only touched during probe and attach, so the extra delay is of no
concern.

24 years agoAdd the vendor and device IDs for a whole bunch of additional USB
wpaul [Fri, 7 Jan 2000 22:18:49 +0000 (22:18 +0000)]
Add the vendor and device IDs for a whole bunch of additional USB
ethernet adapters that are supported by the aue and kue drivers.
There are actually a couple more out there from Accton, Asante and
EXP Computer, however I was not able to find any Windows device
drivers for these on their servers, and hence could not harvest
their vendor/device ID info. If somebody has one of these things
and can look in the .inf file that comes with the Windows driver,
I'd appreciate knowing what it says for 'VID' and 'PID.'

Additional adapters include: the D-Link DSB-650 and DSB-650TX, the
SMC 2102USB, 2104USB and 2202USB, the ATen UC10T, and the Netgear EA101.
These are all mentioned in the man pages, relnotes and LINT.

Also correct the date in the kue(4) man page. I wrote this thing
on Jan, 4 2000, not 1999.

24 years agoAdd cs.latin2 keyboard
ache [Fri, 7 Jan 2000 22:01:17 +0000 (22:01 +0000)]
Add cs.latin2 keyboard

Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>

24 years agoFix typo
ache [Fri, 7 Jan 2000 21:55:18 +0000 (21:55 +0000)]
Fix typo