]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agomodfied sysctl command to allow setting values > 2GB if the mib supports it.
pirzyk [Mon, 18 Jun 2001 21:06:24 +0000 (21:06 +0000)]
modfied sysctl command to allow setting values > 2GB if the mib supports it.

PR: kern/21132
Reviewed by: no objections to by -arch
MFC after: 1 month

23 years agoTypo/mind-o fixes.
wpaul [Mon, 18 Jun 2001 20:57:03 +0000 (20:57 +0000)]
Typo/mind-o fixes.

23 years agoCorrect getopt usage and a syntax error (period used instead of a semicolon).
dd [Mon, 18 Jun 2001 20:36:06 +0000 (20:36 +0000)]
Correct getopt usage and a syntax error (period used instead of a semicolon).

23 years agoAfter one too many PRs on the subject, bite the bullet and define IOV_MAX
wollman [Mon, 18 Jun 2001 20:24:54 +0000 (20:24 +0000)]
After one too many PRs on the subject, bite the bullet and define IOV_MAX
and its associated constants.  Implement _SC_IOV_MAX in the usual way.
Be a bit sloppy about the namespace question; this should get cleared up
in time for 5.0.

MFC after: 1 month

23 years agoXref zcat(1).
dd [Mon, 18 Jun 2001 20:00:39 +0000 (20:00 +0000)]
Xref zcat(1).

23 years agostop csa from panicing in clkrun_hack() - we were using free'd memory
cg [Mon, 18 Jun 2001 19:58:03 +0000 (19:58 +0000)]
stop csa from panicing in clkrun_hack() - we were using free'd memory

don't leak memory in clkrun_hack()

Submitted by: grog (partially)

23 years agoLock Giant in postsig() for the KTRACE case as ktrpsig() needs Giant when
jhb [Mon, 18 Jun 2001 19:23:43 +0000 (19:23 +0000)]
Lock Giant in postsig() for the KTRACE case as ktrpsig() needs Giant when
it writes out to the trace file.

Reported by: peter, gallatin, and others

23 years agoInitialize mutexes needed early on all in the same place so that the
jhb [Mon, 18 Jun 2001 19:19:38 +0000 (19:19 +0000)]
Initialize mutexes needed early on all in the same place so that the
startup routine more closely matches that of alpha and ia64.  At some
point the common mutexes shared across all platforms probably should move
into sys/kern_mutex.c.

23 years ago- Add support for decoding syscall names. (Brought over from the new alpha
jhb [Mon, 18 Jun 2001 19:17:30 +0000 (19:17 +0000)]
- Add support for decoding syscall names.  (Brought over from the new alpha
  trace code that was brought over from NetBSD.)
- Check for "syscall_with_err_pushed" as the label prior to a syscall trap
  frame rather than "Xlcall_syscall" and "Xint0x80_syscall".  We don't
  have a valid trapframe during the short range of code that those two
  symbols now cover.
- Simplify db_next_frame() to avoid duplicating the code for the different
  trap frame types.
- Don't try to trace a swapped-out process.  (Brought over from NetBSD via
  the new alpha trace code.)

23 years agoInclude sys/pcpu.h to get the prototype for globaldata_register() to quiet
jhb [Mon, 18 Jun 2001 19:06:14 +0000 (19:06 +0000)]
Include sys/pcpu.h to get the prototype for globaldata_register() to quiet
a warning.

23 years agoCall bus_teardown_intr when csa_attach fails after the interrupt has
tmm [Mon, 18 Jun 2001 18:36:34 +0000 (18:36 +0000)]
Call bus_teardown_intr when csa_attach fails after the interrupt has
been set up.

PR: kern/28178
Reviewed by: cg
MFC after: 2 weeks

23 years agoIf the username we are trying to look up in the db files won't fit into
dwmalone [Mon, 18 Jun 2001 16:09:24 +0000 (16:09 +0000)]
If the username we are trying to look up in the db files won't fit into
the buffer then act like it doesn't exist. The buffer is always big enough
for any valid username.

PR: 27860
Reviewed by: nectar

23 years agoPick up the correct headers from sys/contrib/ipfilter/netinet.
ru [Mon, 18 Jun 2001 15:55:28 +0000 (15:55 +0000)]
Pick up the correct headers from sys/contrib/ipfilter/netinet.

23 years agoRemoved duplicate copies of files already present in sys/contrib/ipfilter.
ru [Mon, 18 Jun 2001 15:54:04 +0000 (15:54 +0000)]
Removed duplicate copies of files already present in sys/contrib/ipfilter.

Not objected to by: -arch

23 years agoUse linker_reference_module() instead of hard-coding the digi_*
brian [Mon, 18 Jun 2001 15:10:20 +0000 (15:10 +0000)]
Use linker_reference_module() instead of hard-coding the digi_*
module path.

23 years agoAdd linker_reference_module().
brian [Mon, 18 Jun 2001 15:09:33 +0000 (15:09 +0000)]
Add linker_reference_module().

This function loads a module if required, otherwise bumps the reference
count -- the opposite of linker_file_unload().

23 years agoCredit John Prince and Eric Hernes for their work.
brian [Mon, 18 Jun 2001 15:02:33 +0000 (15:02 +0000)]
Credit John Prince and Eric Hernes for their work.

23 years agoAdd support for stateful MPPE (microsoft encryption) providing
brian [Mon, 18 Jun 2001 15:00:22 +0000 (15:00 +0000)]
Add support for stateful MPPE (microsoft encryption) providing
encryption compatibility with Windows 2000.  Stateful encryption
uses less CPU but is bad on lossy transports.

The ``set mppe'' command has been expanded.  If it's used with any
arguments, ppp will insist on encryption, closing LCP if the other
end refuses.

Unfortunately, Microsoft have abused the CCP reset request so that
receiving a reset request does not result in a reset ack when using
MPPE...

Sponsored by: Monzoon Networks AG and FreeBSD Services Limited

23 years agoHandle hardware-imposed MTU/MRU limitations. PPPoE will no longer
brian [Mon, 18 Jun 2001 14:59:36 +0000 (14:59 +0000)]
Handle hardware-imposed MTU/MRU limitations.  PPPoE will no longer
allow MRU/MTU negotiations to exceed 1492.

Add an optional ``max'' specifier to ``set m[rt]u'', ie.

set mtu max 1480

Bump the ppp version number.

Sponsored by: Monzoon Networks AG and FreeBSD Services Limited

23 years agoMake this really work.
ru [Mon, 18 Jun 2001 12:35:14 +0000 (12:35 +0000)]
Make this really work.

23 years agocall pfxlist_onlink_check() at the end of in6_tmpifadd(), to make sure
ume [Mon, 18 Jun 2001 11:37:06 +0000 (11:37 +0000)]
call pfxlist_onlink_check() at the end of in6_tmpifadd(), to make sure
a temporary address generated from a detached public one also detached.

Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
Obtained from: KAME

23 years agoDon't remove the SI_CHEAPCLONE for unsupported minors
brian [Mon, 18 Jun 2001 09:22:30 +0000 (09:22 +0000)]
Don't remove the SI_CHEAPCLONE for unsupported minors

23 years agoRemove the SI_CHEAPCLONE flag when hanging resources off the dev_t
brian [Mon, 18 Jun 2001 09:21:59 +0000 (09:21 +0000)]
Remove the SI_CHEAPCLONE flag when hanging resources off the dev_t

23 years agoAdd a -d command-line option; when used in conjunction with -f, rarpd
roam [Mon, 18 Jun 2001 06:48:33 +0000 (06:48 +0000)]
Add a -d command-line option; when used in conjunction with -f, rarpd
sends error messages to stderr, normal output to stdout, instead of
logging everything via syslog.

Turn off the FORMAT_AUDIT in the Makefile, until I can figure out how
to disable the check for one single line in the source :(

Reviewed by: dd, silence on -audit
MFC after: 1 month

23 years agoTeach fstat(1) about FIFO's - it's OK to display them as regular files.
roam [Mon, 18 Jun 2001 06:29:31 +0000 (06:29 +0000)]
Teach fstat(1) about FIFO's - it's OK to display them as regular files.
While I'm here, fix two second-level indents to be four spaces.

Reviewed by: dd, -audit

23 years ago(cantwrite): do not allocate memory for a NULL string
assar [Mon, 18 Jun 2001 04:44:23 +0000 (04:44 +0000)]
(cantwrite): do not allocate memory for a NULL string

PR: misc/26044

MFC after: 1 week

Submitted by: bde

23 years agorevert freeing of memory that gets allocated when str == NULL
assar [Mon, 18 Jun 2001 04:40:52 +0000 (04:40 +0000)]
revert freeing of memory that gets allocated when str == NULL
(this will be fixed in a better way)

PR: misc/26044

23 years agoSupport mail boxes that have dates without seconds (SysV) and those
mikeh [Mon, 18 Jun 2001 04:28:03 +0000 (04:28 +0000)]
Support mail boxes that have dates without seconds (SysV) and those
that have a timezone as <-|+>nnnn (eg. imapd).

PR: bin/11746
Obtained from: OpenBSD
MFC after: 2 weeks

23 years agoFix typo: clnt_destroy() only takes one arg.
mikeh [Mon, 18 Jun 2001 00:45:31 +0000 (00:45 +0000)]
Fix typo: clnt_destroy() only takes one arg.

MFC after: 2 weeks

23 years agouse devclass_get_maxunit() correctly
cg [Mon, 18 Jun 2001 00:10:47 +0000 (00:10 +0000)]
use devclass_get_maxunit() correctly

23 years agorevise dsp_clone() to return the first nonbusy channel instead of simply
cg [Sun, 17 Jun 2001 23:23:06 +0000 (23:23 +0000)]
revise dsp_clone() to return the first nonbusy channel instead of simply
cycling channel numbers.

remove unused fields from struct snddev_info.

23 years agofix a potential panic in dsp_clone() if no pcm devices were detected
cg [Sun, 17 Jun 2001 20:15:29 +0000 (20:15 +0000)]
fix a potential panic in dsp_clone() if no pcm devices were detected

23 years agoNote support for the Digital Etherworks DE305 card
wilko [Sun, 17 Jun 2001 14:25:09 +0000 (14:25 +0000)]
Note support for the Digital Etherworks DE305 card

23 years agoDon't assume that resource type is ioport and rid equal 0.
nyan [Sun, 17 Jun 2001 13:33:59 +0000 (13:33 +0000)]
Don't assume that resource type is ioport and rid equal 0.

23 years agoDocument the -a flag.
alex [Sun, 17 Jun 2001 11:22:57 +0000 (11:22 +0000)]
Document the -a flag.

23 years agoThe final commit for the first phase of PowerPC support.
benno [Sun, 17 Jun 2001 09:39:44 +0000 (09:39 +0000)]
The final commit for the first phase of PowerPC support.

This adds the config stuff needed to build kernels.

Reviewed by: obrien

23 years agoSatisfy gcc's parenthetical needs and clamp down with WANRS=2.
dd [Sun, 17 Jun 2001 06:22:30 +0000 (06:22 +0000)]
Satisfy gcc's parenthetical needs and clamp down with WANRS=2.

Reviewed by: md5(1)

23 years agoAllocate all resources using keyboard controller.
nyan [Sun, 17 Jun 2001 04:43:28 +0000 (04:43 +0000)]
Allocate all resources using keyboard controller.

23 years agoAdd the -p flag to force unknown control sequences to be passed
mikeh [Sun, 17 Jun 2001 04:24:16 +0000 (04:24 +0000)]
Add the -p flag to force unknown control sequences to be passed
through unchanged.

Reviewed by: silence on -audit
Obtained from: NetBSD
MFC after: 3 weeks

23 years agoUse err(3) and style(9) cleanup.
mikeh [Sun, 17 Jun 2001 03:56:00 +0000 (03:56 +0000)]
Use err(3) and style(9) cleanup.

MFC after: 2 weeks

23 years agoSupported to select a keymap for PC-98x1.
nyan [Sun, 17 Jun 2001 03:13:48 +0000 (03:13 +0000)]
Supported to select a keymap for PC-98x1.

23 years agoAdded PC-98x1 keymaps.
nyan [Sun, 17 Jun 2001 03:10:38 +0000 (03:10 +0000)]
Added PC-98x1 keymaps.

23 years agoAdd missing article.
dd [Sun, 17 Jun 2001 02:24:04 +0000 (02:24 +0000)]
Add missing article.

23 years agoMove cardbus and pccard bus bridge devices to near the bridge chips. This
imp [Sun, 17 Jun 2001 02:02:33 +0000 (02:02 +0000)]
Move cardbus and pccard bus bridge devices to near the bridge chips.  This
is so that all the pccard options are together and this reduces diffs with
GENERIC.

23 years agoDon't call printf without a format string (harmless in this case).
dd [Sun, 17 Jun 2001 02:01:43 +0000 (02:01 +0000)]
Don't call printf without a format string (harmless in this case).

23 years agoMFGENERIC:
imp [Sun, 17 Jun 2001 01:57:39 +0000 (01:57 +0000)]
MFGENERIC:
1.307 Turn on kernel debug support
1.309 Turn off pcm
1.311 move wx to miibus chipsets
1.312 Comment out USERCONFIG

Reminded by: mihira-san <sanpei@sanpei.org>

23 years agoRevise wording of osreldate.h vs kernel warning to make it clear that it
peter [Sun, 17 Jun 2001 01:20:25 +0000 (01:20 +0000)]
Revise wording of osreldate.h vs kernel warning to make it clear that it
is a userland-only header.

23 years agoAdd an -a option which will make send-pr copy the specified file into
dd [Sun, 17 Jun 2001 00:35:46 +0000 (00:35 +0000)]
Add an -a option which will make send-pr copy the specified file into
the Fix: section.  Binary files (as determined by file(1)) are
uuencode'd.

Submitted by: alex

23 years agoMove setugid() a little sooner to before we release tracing in case
peter [Sat, 16 Jun 2001 23:34:23 +0000 (23:34 +0000)]
Move setugid() a little sooner to before we release tracing in case
crdup() or change_e*id() block on malloc() or mutex.

23 years agoSome people are having problems with insert/eject. Add some debug
imp [Sat, 16 Jun 2001 23:26:18 +0000 (23:26 +0000)]
Some people are having problems with insert/eject.  Add some debug
information until the problems can be tracked down.  Right now these
are unconditional, but later it will be hidden behind a boot verbose.

Also, if there are no events listed in the event mask, return right
away.  Specifically avoid writing back interrupt acks in this case.

23 years agoCorrect a typo in an error message.
dd [Sat, 16 Jun 2001 23:15:15 +0000 (23:15 +0000)]
Correct a typo in an error message.

23 years agoMake the synopsis resemble the usage in the source file.
dd [Sat, 16 Jun 2001 23:09:12 +0000 (23:09 +0000)]
Make the synopsis resemble the usage in the source file.

23 years agoUse INTR_TYPE_AV for the interrupt handlers because:
peter [Sat, 16 Jun 2001 22:59:46 +0000 (22:59 +0000)]
Use INTR_TYPE_AV for the interrupt handlers because:
1: most drivers are sensitive to timing, and
2: the handlers are MPSAFE and need a chance to get into the kernel
before some other non-mpsafe handler blocks the ithread on Giant in
shared irq cases.

Reviewed by: cg  (in principle)

23 years agoAdd INTR_TYPE_AV so that we can get to the PI_AV priority in the ithread
peter [Sat, 16 Jun 2001 22:42:19 +0000 (22:42 +0000)]
Add INTR_TYPE_AV so that we can get to the PI_AV priority in the ithread
handlers.  This is beneficial since it means that pcm's MPSAFE handler
can get run before things that will block on Giant in the shared irq
case.

23 years agoClean up some junk. The bogus trapframe on the stack was removed from the
peter [Sat, 16 Jun 2001 22:07:32 +0000 (22:07 +0000)]
Clean up some junk.  The bogus trapframe on the stack was removed from the
MI code in August 2000 elsewhere.

23 years agoCheck for the PS_SINTR flag in the right field of struct kinfo_proc
tegge [Sat, 16 Jun 2001 21:39:29 +0000 (21:39 +0000)]
Check for the PS_SINTR flag in the right field of struct kinfo_proc
(ki_sflag).

23 years agouse a global devclass for all drivers - i'm not entirely sure why this
cg [Sat, 16 Jun 2001 21:25:10 +0000 (21:25 +0000)]
use a global devclass for all drivers - i'm not entirely sure why this
worked before.

mixer, dsp and sndstat are seperate devices - give them their own cdevsws
instead of demuxing requests sent to a single cdevsw.

use the si_drv1/si_drv2 fields in dev_t structures for holding information
specific to an open instance of mixer/dsp.

nuke /dev/{dsp,dspW,audio}[0-9]* links - this functionality is now provided
using cloning.

various locking fixes.

23 years agoAdd note about partition a better be at offset 0 for a disk to be bootable.
wilko [Sat, 16 Jun 2001 21:10:54 +0000 (21:10 +0000)]
Add note about partition a better be at offset 0 for a disk to be bootable.

23 years agoless warning
ume [Sat, 16 Jun 2001 19:32:37 +0000 (19:32 +0000)]
less warning

warning: cast discards qualifiers from pointer target type

23 years agoComply with POSIX rules:
jlemon [Sat, 16 Jun 2001 18:55:13 +0000 (18:55 +0000)]
Comply with POSIX rules:
    o Use %u for printing u_int.
    o Cast sizeof() to u_long, and print with %lu

Reviewed by: wollman

23 years agoGive inetd the ability to manage unix domain sockets. Details of
dwmalone [Sat, 16 Jun 2001 18:54:54 +0000 (18:54 +0000)]
Give inetd the ability to manage unix domain sockets. Details of
how to use this feature are in the man page. This is based on work
by Lyndon Nerenberg.

(The only difficult part about this patch is the fact that you
can't fchown a unix domain socket, which means the sockets must be
put in a secure directory).

Reviewed by: dillon

23 years agoMore tips. I'd never heard of look(1) before.
nik [Sat, 16 Jun 2001 16:45:52 +0000 (16:45 +0000)]
More tips.  I'd never heard of look(1) before.

Submitted by: Dru <genisis@istar.ca>

23 years agoFix misindented esac.
schweikh [Sat, 16 Jun 2001 15:48:43 +0000 (15:48 +0000)]
Fix misindented esac.

MFC after: 1 week

23 years agoFix "alignemnt" typo.
alex [Sat, 16 Jun 2001 15:28:28 +0000 (15:28 +0000)]
Fix "alignemnt" typo.

23 years agoMore tips, this time from the Russian Fidonet FreeBSD Echo.
nik [Sat, 16 Jun 2001 11:42:28 +0000 (11:42 +0000)]
More tips, this time from the Russian Fidonet FreeBSD Echo.

And I never knew about ports(7) before.

Submitted by: Alexey V. Neyman <avn@any.ru>

23 years agoThis file was a horrible mixture of styles old and new.
markm [Sat, 16 Jun 2001 10:47:34 +0000 (10:47 +0000)]
This file was a horrible mixture of styles old and new.

Apply style(9).

23 years agoRemove ncheck in an example; FreeBSD does not have it.
schweikh [Sat, 16 Jun 2001 09:05:24 +0000 (09:05 +0000)]
Remove ncheck in an example; FreeBSD does not have it.

PR: 10158
Submitted by: Remy Card <card@ens.uvsq.fr>
MFC after: 2 weeks

23 years ago(do_authloop): handle !KRB4 && KRB5
assar [Sat, 16 Jun 2001 07:44:17 +0000 (07:44 +0000)]
(do_authloop): handle !KRB4 && KRB5

23 years agoAdd the ".FreeBSD" symbol so we can do things like ".if define(.FreeBSD)"
obrien [Sat, 16 Jun 2001 07:27:23 +0000 (07:27 +0000)]
Add the ".FreeBSD" symbol so we can do things like ".if define(.FreeBSD)"
in Makefile's shared with NetBSD.

23 years agoOpenFirmware kernel support, as used by the PowerPC and hopefully other
benno [Sat, 16 Jun 2001 07:17:56 +0000 (07:17 +0000)]
OpenFirmware kernel support, as used by the PowerPC and hopefully other
ports later on.

This includes the basic MI interface routines as well as a console driver.
The MD code is kept in the MD directories.

Reviewed by: obrien

23 years agoThis commit was generated by cvs2svn to compensate for changes in r78344,
obrien [Sat, 16 Jun 2001 07:16:14 +0000 (07:16 +0000)]
This commit was generated by cvs2svn to compensate for changes in r78344,
which included commits to RCS files with non-trunk default branches.

23 years agoImport the NetBSD 1.5 RC system.
obrien [Sat, 16 Jun 2001 07:16:14 +0000 (07:16 +0000)]
Import the NetBSD 1.5 RC system.

Note that `rc' and `rc.shutdown' could not be imported because we already
have files with those names.

23 years agoImport the NetBSD 1.5 RC system.
obrien [Sat, 16 Jun 2001 07:16:14 +0000 (07:16 +0000)]
Import the NetBSD 1.5 RC system.

Note that `rc' and `rc.shutdown' could not be imported because we already
have files with those names.

23 years agoFix warning (and obviously broken code)
jlemon [Sat, 16 Jun 2001 07:15:48 +0000 (07:15 +0000)]
Fix warning (and obviously broken code)
77: warning: cast from pointer to integer of different size

23 years agoThis commit (along with one pending in sys/dev/ofw and one in sys/conf) give
benno [Sat, 16 Jun 2001 07:14:07 +0000 (07:14 +0000)]
This commit (along with one pending in sys/dev/ofw and one in sys/conf) give
us our first minimal glimpse of PowerPC support.

With this code we can get to the "mountroot>" prompt on my Apple iMac.  We
can't get any further due to lack of clock and interrupt handling, among other
things.  This does however mean that pmap and VM are initialising.

We're fairly dependant on OpenFirmware at this point, but I hope to add
support for other classes of firmware at a later stage.

Reviewed by: obrien, dfr

23 years agoPrint spaces on the leading edge rather than the trailing edge of each
mikeh [Sat, 16 Jun 2001 07:08:37 +0000 (07:08 +0000)]
Print spaces on the leading edge rather than the trailing edge of each
field to avoid trailing spaces.

PR: bin/16649
MFC after: 2 weeks

23 years agoFix warnings:
jlemon [Sat, 16 Jun 2001 07:02:47 +0000 (07:02 +0000)]
Fix warnings:
112: warning: cast to pointer from integer of different size
125: warning: cast to pointer from integer of different size

23 years agogenerate ksrvtgt
assar [Sat, 16 Jun 2001 06:51:35 +0000 (06:51 +0000)]
generate ksrvtgt

PR: bin/25561
MFC after: 1 week

23 years agoUndo last braino and fix properly.
jlemon [Sat, 16 Jun 2001 06:40:03 +0000 (06:40 +0000)]
Undo last braino and fix properly.

23 years agoFix warning:
jlemon [Sat, 16 Jun 2001 06:37:04 +0000 (06:37 +0000)]
Fix warning:
489: warning: int format, different type arg (arg 4)

23 years agoSave the IRQ that we get in pci attachment.
imp [Sat, 16 Jun 2001 06:33:01 +0000 (06:33 +0000)]
Save the IRQ that we get in pci attachment.
Print type of pci bridge we find.
Force the IRQ of pci bridges upon all its children.
Allocate the resources on behalf of the bridge when we're testing to see if
they exist.

This should help people who don't read updating instructions very well.

This patch started out with an idea from Shigeru Yamamoto-san in -current.

23 years agoWork around what looks like a bad make(1) bug. For some reason,
peter [Sat, 16 Jun 2001 06:28:07 +0000 (06:28 +0000)]
Work around what looks like a bad make(1) bug.  For some reason,
make(1) wants to build loader.sym *before* the .o files.  Eliminating
one seeminly intermediate step avoids the problem.  Somehow, it seems
that variables are not getting expanded at the right time.
Any explanations would be appreciated...

Changing:
${BASE}.sym: ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o
${LD} ...
To:
BASEOBJS= ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o

${BASE}.sym: ${BASEOBJS}
echo ${BASEOBJS}
${LD} ...
.. the echo only shows LIBFICL, CRT and vers.o. ${OBJS} is not included.

23 years agoCast size_t -> int to satisfy printf %* constraints on the alpha.
jlemon [Sat, 16 Jun 2001 06:22:09 +0000 (06:22 +0000)]
Cast size_t -> int to satisfy printf %* constraints on the alpha.

23 years agoOn PC-98, map IRQ 6 to IRQ 7 at the pcic level. That is, when we're
imp [Sat, 16 Jun 2001 06:18:16 +0000 (06:18 +0000)]
On PC-98, map IRQ 6 to IRQ 7 at the pcic level.  That is, when we're
told to use IRQ 6, progam the pcic to use irq 7 instead.  Evidentally,
at least some of the cards are wired this way.  If you want to use irq
6, configure it.  All the mapping is done just before we set the
interrupt registers.  See [FreeBSD98-testers 5064] for details.

Added commentary about valid interrupts on some CBUS pc98 CL PD6722
based cards.

Submitted by: Hiroshi TSUKADA-san <hiroshi@kiwi.ne.jp>

23 years agostyle(9) and remove a left over Alpha comment
obrien [Sat, 16 Jun 2001 06:17:35 +0000 (06:17 +0000)]
style(9) and remove a left over Alpha comment

23 years agostyle cleanup
obrien [Sat, 16 Jun 2001 06:17:16 +0000 (06:17 +0000)]
style cleanup

23 years agoAdd PC-9821RA-E01. This appears that PC-9821 Ra20 has this either
imp [Sat, 16 Jun 2001 06:10:53 +0000 (06:10 +0000)]
Add PC-9821RA-E01.  This appears that PC-9821 Ra20 has this either
built in, or as an addon card (My Japanese isn't quite good enough to
know which).  [FreeBSD98-testers 5098] contains all the details.

Submitted by: Kawanobe Koh-san <kawanobe@st.rim.or.jp>

23 years agostyle police
obrien [Sat, 16 Jun 2001 05:59:45 +0000 (05:59 +0000)]
style police

23 years agoThis Intel derived file uses C++ style comments.
obrien [Sat, 16 Jun 2001 05:58:54 +0000 (05:58 +0000)]
This Intel derived file uses C++ style comments.
(I'll be we know which compiler and platform they developed this on...)
Minimally change them to C89 comments to make GCC happy.  (this is kinda funny
as the file has piece derived from FreeBDS 3.2)

Also fix FreeBSD id style.

23 years agoFix FreeBSD id style.
obrien [Sat, 16 Jun 2001 05:56:13 +0000 (05:56 +0000)]
Fix FreeBSD id style.

23 years agostyle(9)
obrien [Sat, 16 Jun 2001 05:55:32 +0000 (05:55 +0000)]
style(9)

23 years agofree memory that gets allocated by vfprintf when str == NULL
assar [Sat, 16 Jun 2001 05:37:57 +0000 (05:37 +0000)]
free memory that gets allocated by vfprintf when str == NULL

PR: misc/26044

MFC after: 1 week

23 years agoMind-o in last commit: s/==/>=/ when checking MTU size. *blush*
wpaul [Sat, 16 Jun 2001 04:02:37 +0000 (04:02 +0000)]
Mind-o in last commit: s/==/>=/ when checking MTU size. *blush*

23 years agoFix the last serious bug I've been chasing:
wpaul [Sat, 16 Jun 2001 03:38:44 +0000 (03:38 +0000)]
Fix the last serious bug I've been chasing:

The DP83820/83821 has an undocumented limitation concerning jumbo frames
and TX checksum offload. In order for TX checksum offload to work, the
outgoing frame must fit entirely within the TX FIFO, which is 8192 bytes
in size. This isn't a problem, until you try to send a 9000-byte frame,
at which point the TX DMA engine goes to sleep. It turns out that if
you want to send a jumbo frame larger than 8170 bytes (8192 - 64), you
have to turn off the TX checksum support.

As a workaround, I changed nge_ioctl() so that if the user selects an
MTU larger than 8152 bytes, we clear the if_hwassist flags. The flags
will be set again once the MTU is reduced to a smaller value.

23 years agoWhere is the pointy hat? Fix cut/paste error. (hey, it compiled! :-)
peter [Sat, 16 Jun 2001 03:16:52 +0000 (03:16 +0000)]
Where is the pointy hat?  Fix cut/paste error.  (hey, it compiled! :-)

23 years agostyle(9) + fix FreeBSD id's.
obrien [Sat, 16 Jun 2001 02:12:36 +0000 (02:12 +0000)]
style(9) + fix FreeBSD id's.

23 years agoOpenSSH doesn't forward keys by default.
dd [Sat, 16 Jun 2001 00:32:19 +0000 (00:32 +0000)]
OpenSSH doesn't forward keys by default.

23 years agoExplicitly set arpproxy_all and start_vinum to "NO" for consistency.
dd [Sat, 16 Jun 2001 00:27:31 +0000 (00:27 +0000)]
Explicitly set arpproxy_all and start_vinum to "NO" for consistency.

PR: 28185
Submitted by: Gordon Tetlow <gordont@bluemtn.net>

23 years agoGet rid of a trigraph ("??>") mistakenly put in an error message.
gad [Sat, 16 Jun 2001 00:14:02 +0000 (00:14 +0000)]
Get rid of a trigraph ("??>") mistakenly put in an error message.
One less warning to annoy me...

MFC after: 1 week

23 years agoremove warnings
assar [Fri, 15 Jun 2001 23:55:45 +0000 (23:55 +0000)]
remove warnings
remove superfluous declarations
make things more consistent