]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoImprove ppbus(4) microsequencer description. Remove ppbconf.9 which is
Nicolas Souchu [Sat, 30 Jan 1999 15:32:41 +0000 (15:32 +0000)]
Improve ppbus(4) microsequencer description. Remove ppbconf.9 which is
to rapidly depreciated.

25 years agoRewrote the changes in rev.1.53. Don't ignore errors from makeinfo.
Bruce Evans [Sat, 30 Jan 1999 14:28:10 +0000 (14:28 +0000)]
Rewrote the changes in rev.1.53.  Don't ignore errors from makeinfo.
Use fancy substitutions instead of a huge if statement to handle the
rather delicate quoting.

25 years agoPut a comment here about using suser() to determine super-user-ness.
Poul-Henning Kamp [Sat, 30 Jan 1999 12:28:49 +0000 (12:28 +0000)]
Put a comment here about using suser() to determine super-user-ness.
Using suser() means that the p_acflag will (can) be set, to show that
a process used super-powers during execution.  It also makes it easier
to restrict roots we don't trust later on.

Reviewed by: bde

25 years agoUse suser() to determine super-user-ness.
Poul-Henning Kamp [Sat, 30 Jan 1999 12:27:00 +0000 (12:27 +0000)]
Use suser() to determine super-user-ness.
Collapse some duplicated checks.

Reviewed by: bde

25 years agoUse suser() to determine super-user-ness.
Poul-Henning Kamp [Sat, 30 Jan 1999 12:26:22 +0000 (12:26 +0000)]
Use suser() to determine super-user-ness.
Don't pretend we can mount RW.

Reviewed by: bde

25 years agoUse suser() to determine super-user-ness, don't examine cr_uid directly.
Poul-Henning Kamp [Sat, 30 Jan 1999 12:21:49 +0000 (12:21 +0000)]
Use suser() to determine super-user-ness, don't examine cr_uid directly.

25 years agoUse suser() to check for super user rather than examining cr_uid directly.
Poul-Henning Kamp [Sat, 30 Jan 1999 12:17:38 +0000 (12:17 +0000)]
Use suser() to check for super user rather than examining cr_uid directly.
Use TTYDEF_SPEED rather than 9600 a couple of places.

Reviewed by: bde, with a few grumbles.

25 years agoOops - Ripped out a bit of debugging code which will stop certain bits
Mark Newton [Sat, 30 Jan 1999 09:42:55 +0000 (09:42 +0000)]
Oops - Ripped out a bit of debugging code which will stop certain bits
of networking from working for people without DEC Tulip ethernet cards.

25 years agoNuked the "hello, world!" program from this directory (it has
Mark Newton [Sat, 30 Jan 1999 08:44:59 +0000 (08:44 +0000)]
Nuked the "hello, world!" program from this directory (it has
been teleported to share/examples/svr4).

25 years agoAdded examples for svr4 /compat trees.
Mark Newton [Sat, 30 Jan 1999 08:43:53 +0000 (08:43 +0000)]
Added examples for svr4 /compat trees.

25 years agoAdded /usr/share/examples/svr4
Mark Newton [Sat, 30 Jan 1999 08:42:43 +0000 (08:42 +0000)]
Added /usr/share/examples/svr4

25 years agoImplement and use Fast Posting for both parallel && fibre. Redo a bit of
Matt Jacob [Sat, 30 Jan 1999 07:29:00 +0000 (07:29 +0000)]
Implement and use Fast Posting for both parallel && fibre. Redo a bit of
the startup code. Implement a call to outer framework function so that
asynchronous events can be handled (e.g., speed negotiation, target mode).

Roll internal release tags.

25 years agoGrrr.. Do the *correct* and *usable* 1.31 firmware. You have to power
Matt Jacob [Sat, 30 Jan 1999 07:22:30 +0000 (07:22 +0000)]
Grrr.. Do the *correct* and *usable* 1.31 firmware. You have to power
cycle to get rid of the old 1.31 firmware. *@!$&^@&$!&^&^!!!!!

But anyway comment it out and use new SBus 7.55 firmware. We get fast posting
with this as well as 32 luns and target mode support.

(not that this is used yet in FreeBSD, but it's ready for FreeBSD-sparc
whenever it happens....)

25 years agoAdded a knob for svr4 to rc.conf (and associated support in rc.i386)
Mark Newton [Sat, 30 Jan 1999 07:22:29 +0000 (07:22 +0000)]
Added a knob for svr4 to rc.conf (and associated support in rc.i386)

Suggested by: jkh

25 years agoroll internal release tag
Matt Jacob [Sat, 30 Jan 1999 07:20:50 +0000 (07:20 +0000)]
roll internal release tag

25 years agoroll internal release tag
Matt Jacob [Sat, 30 Jan 1999 07:08:55 +0000 (07:08 +0000)]
roll internal release tag

25 years agoAdded a "README" file containing text taken from the message I sent
Mark Newton [Sat, 30 Jan 1999 06:49:01 +0000 (06:49 +0000)]
Added a "README" file containing text taken from the message I sent
to -current explaining how to use this sucker.

25 years agoActivate svr4 module
Mark Newton [Sat, 30 Jan 1999 06:31:51 +0000 (06:31 +0000)]
Activate svr4 module

25 years agoAdd streams pseudo-device
Mark Newton [Sat, 30 Jan 1999 06:31:11 +0000 (06:31 +0000)]
Add streams pseudo-device

25 years agoEmulator KLD for SysVR4 executables grabbed from NetBSD.
Mark Newton [Sat, 30 Jan 1999 06:29:48 +0000 (06:29 +0000)]
Emulator KLD for SysVR4 executables grabbed from NetBSD.
See http://www.freebsd.org/~newton/freebsd-svr4 for limitations,
capabilities, history and TO-DO list.

25 years agoNew pseudo-device to provide for a way of obtaining a socket by open()ing
Mark Newton [Sat, 30 Jan 1999 06:28:29 +0000 (06:28 +0000)]
New pseudo-device to provide for a way of obtaining a socket by open()ing
something in /dev.

Obtained from: Christos Zoulas (NetBSD)

25 years agoNew pseudo-device to provide for a way of obtaining a socket by open()ing
Mark Newton [Sat, 30 Jan 1999 06:27:59 +0000 (06:27 +0000)]
New pseudo-device to provide for a way of obtaining a socket by open()ing
something in /dev.
Obtained from: Christos Zoulas, with FreeBSD modifications

25 years agoChanged struct socket to include a new field (at the end, so as not
Mark Newton [Sat, 30 Jan 1999 06:26:35 +0000 (06:26 +0000)]
Changed struct socket to include a new field (at the end, so as not
to break existing software) acting as a pointer to emulator-specific
state data that some emulators may (or may not) need to maintain about
a socket.

Used by the svr4 module as a place for maintaining STREAMS emulation state.

Discussed with: Mike Smith, Garrett Wollman back in Sept 98

25 years agoUnstaticized routines which are needed by the svr4 KLD and the streams
Mark Newton [Sat, 30 Jan 1999 06:25:00 +0000 (06:25 +0000)]
Unstaticized routines which are needed by the svr4 KLD and the streams
garbage needed to support SysVR4 networking.

25 years agoAdded "SVR4" as an acceptable brand
Mark Newton [Sat, 30 Jan 1999 06:16:48 +0000 (06:16 +0000)]
Added "SVR4" as an acceptable brand

25 years agoSlightly relax the requirements fro removing extra braces and parenthesis.
Julian Elischer [Sat, 30 Jan 1999 04:17:14 +0000 (04:17 +0000)]
Slightly relax the requirements fro removing extra braces and parenthesis.

Objected to by: bde

25 years agoAdd MAINTAINER
Greg Lehey [Sat, 30 Jan 1999 01:45:44 +0000 (01:45 +0000)]
Add MAINTAINER

25 years agoAdd MAINTAINER
Greg Lehey [Sat, 30 Jan 1999 01:00:19 +0000 (01:00 +0000)]
Add MAINTAINER

25 years ago More const fixes for -Wall, -Wcast-qual
Matthew Dillon [Fri, 29 Jan 1999 23:18:50 +0000 (23:18 +0000)]
More const fixes for -Wall, -Wcast-qual

25 years ago *_execsw static structures cannot be const due to the way they interact
Matthew Dillon [Fri, 29 Jan 1999 22:59:43 +0000 (22:59 +0000)]
*_execsw static structures cannot be const due to the way they interact
    with EXEC_SET, DECLARE_MODULE, and module_register.  Specifically,
    module_register.  We may eventually be able to make these const, but
    not now.

25 years agoo Send a CHAP challenge of 16 random digits when RADIUS is
Brian Somers [Fri, 29 Jan 1999 22:46:31 +0000 (22:46 +0000)]
o Send a CHAP challenge of 16 random digits when RADIUS is
  configured.  This isn't strictly necessary according to the
  rfc, but it's suggested there....
o Don't forget to include our authname when sending a
  CHAP challenge when RADIUS is configured.
o Don't supply the ``16'' representing the chap answer
  length to radius_Authenticate() - libradius does this
  for us.
o When we successfully authenticate via radius_Authenticate(),
  continue with datalink_AuthOk() as expected.

Sponsored by: Internet Business Solutions Ltd., Switzerland

25 years agoInstall -C radlib.h
Brian Somers [Fri, 29 Jan 1999 22:44:47 +0000 (22:44 +0000)]
Install -C radlib.h

Don't insist that RAD_USER_PASSWORD is supplied before
calling rad_send_request().  Instead, insist on only one
of RAD_USER_PASSWORD and RAD_CHAP_PASSWORD.

Sponsored by: Internet Business Solutions Ltd., Switzerland

25 years agoUnload the splash decoder module when a screen saver module is loaded.
Kazutaka YOKOTA [Fri, 29 Jan 1999 18:09:38 +0000 (18:09 +0000)]
Unload the splash decoder module when a screen saver module is loaded.
Strictly speaking, it is not necessary; the screen saver will load
even if the splash module is still in memory.  But still, it is the right
thing to do, otherwise the splash decoder module just wasts the kernel space.

Discussed with: des

25 years agoAdd two additional cards to the supported adapters list: the Racore 8165
Bill Paul [Fri, 29 Jan 1999 16:25:20 +0000 (16:25 +0000)]
Add two additional cards to the supported adapters list: the Racore 8165
and Racore 8148 adapters are now supported by the ThunderLAN driver.
The 8165 is just a plain vanilla 10/100 card; the 8148 is a 'multi-
personality' adapter which can support 10baseT, 100baseTX and 100baseFX
if you include the proper modules.

Also update the tl man page to mention the Racore cards.

25 years agoFixed parenthesization botch in previous commit. Async update of inodes
Bruce Evans [Fri, 29 Jan 1999 15:36:05 +0000 (15:36 +0000)]
Fixed parenthesization botch in previous commit.  Async update of inodes
was broken.

25 years agoAdd MAINTAINER.
Dag-Erling Smørgrav [Fri, 29 Jan 1999 12:15:34 +0000 (12:15 +0000)]
Add MAINTAINER.

25 years agoMore support for Alpha installs.
Jordan K. Hubbard [Fri, 29 Jan 1999 11:39:24 +0000 (11:39 +0000)]
More support for Alpha installs.

Submitted by:   dfr

25 years agoMore support for Alpha installs.
Jordan K. Hubbard [Fri, 29 Jan 1999 11:39:04 +0000 (11:39 +0000)]
More support for Alpha installs.

Submitted by: dfr

25 years agoRemoved a bogus cast to v_caddr_t. This is part of terminating
Bruce Evans [Fri, 29 Jan 1999 11:31:45 +0000 (11:31 +0000)]
Removed a bogus cast to v_caddr_t.  This is part of terminating
v_caddr_t with extreme prejudice.  Here the bogons were originally
the same as for c_caddr_t (half-baked K&R support), but rev.1.95
changed one wrong cast and one harmless cast to 2 wrong casts,
and rev.1.96 only fixed the originally wrong cast.

25 years agoFixed comment and whitespace lossage in recent commits. The -W flag
Bruce Evans [Fri, 29 Jan 1999 10:57:18 +0000 (10:57 +0000)]
Fixed comment and whitespace lossage in recent commits.  The -W flag
is not implied by -Wall as claimed by gcc.1.  Adding it causes a
measly 7193 new warnings for LINT, mostly for "unused parameter" and
"comparison between signed and unsigned".

25 years agoSync with sys/i386/i386/machdep.c revision 1.323.
KATO Takenori [Fri, 29 Jan 1999 10:43:09 +0000 (10:43 +0000)]
Sync with sys/i386/i386/machdep.c revision 1.323.

25 years agoCast to `const char *' instead of to c_caddr_t. This is part of
Bruce Evans [Fri, 29 Jan 1999 09:04:27 +0000 (09:04 +0000)]
Cast to `const char *' instead of to c_caddr_t.  This is part of
terminating c_caddr_t with extreme prejudice.  Here we depended
on the "opaque" type c_caddr_t being precisely `const char *'
to do unportable pointer arithmetic.

25 years ago More -Wall / -Wcast-qual cleanup. Also, EXEC_SET can't use
Matthew Dillon [Fri, 29 Jan 1999 08:36:45 +0000 (08:36 +0000)]
More -Wall / -Wcast-qual cleanup.  Also, EXEC_SET can't use
    C_DECLARE_MODULE due to the linker_file_sysinit() function
    making modifications to the data.

25 years agoRemoved bogus casts to c_caddr_t. This is part of terminating
Bruce Evans [Fri, 29 Jan 1999 08:29:05 +0000 (08:29 +0000)]
Removed bogus casts to c_caddr_t.  This is part of terminating
c_caddr_t with extreme prejudice.  Here the original casts to
caddr_t were to support K&R compilers (or missing prototypes),
but the relevant source files require an ANSI compiler.

25 years ago Commit a solution for the SYSINIT vs C_SYSINIT conundrum. The
Matthew Dillon [Fri, 29 Jan 1999 08:12:49 +0000 (08:12 +0000)]
Commit a solution for the SYSINIT vs C_SYSINIT conundrum.  The
    problem and solution is outlined in the comments, but basically
    we needed a way to allow the SYSINIT mechanism to handle const void *
    arguments and function pointers as well as non-const arguments and
    function pointers while still maintaining the compiler's ability to
    issue warnings if you try to use a bad combination.

25 years agoRemoved a bogus cast to c_caddr_t. This is part of terminating
Bruce Evans [Fri, 29 Jan 1999 08:10:35 +0000 (08:10 +0000)]
Removed a bogus cast to c_caddr_t.  This is part of terminating
c_caddr_t with extreme prejudice.  Here the point of the original
cast to caddr_t was to break the warning about the const mismatch
between write(2)'s `const void *buf' and `struct uio's `char
*iov_base' (previous bitrot gave a gratuitous dependency on caddr_t
being char *).  Compiling with -Wcast-qual made the cast a full
no-op.

This change has no effect on the warning for discarding `const'
on assignment to iov_base.  The warning should not be fixed by
splitting `struct iovec' into a non-const version for read()
and a const version for write(), since correct const poisoning
would affect all pointers to i/o addresses.  Const'ness should
probably be forgotten by not declaring it in syscalls.master.

25 years ago cleanup warnings by propogating const char pointers properly.
Matthew Dillon [Fri, 29 Jan 1999 08:09:32 +0000 (08:09 +0000)]
cleanup warnings by propogating const char pointers properly.

25 years agoRemoved a bogus cast to c_caddr_t. This is part of terminating
Bruce Evans [Fri, 29 Jan 1999 07:23:53 +0000 (07:23 +0000)]
Removed a bogus cast to c_caddr_t.  This is part of terminating
c_caddr_t with extreme prejudice.  Here we want to convert from
`const char *' to `const char *'.  Casting through c_caddr_t is
not the way to do this.  The original cast to caddr_t was apparently
to break warnings about const mismatches in other versions of BSD
(in 4.4BSDLite2, the conversion is from `const char *path' to
plain caddr_t).

25 years ago Have EXEC_SET use C_DECLARE_MODULE instead of DECLARE_MODULE.
Matthew Dillon [Fri, 29 Jan 1999 06:47:53 +0000 (06:47 +0000)]
Have EXEC_SET use C_DECLARE_MODULE instead of DECLARE_MODULE.

    Add C_DECLARE_MODULE - same as DECLARE_MODULE but uses C_SYSINIT
    instead of SYSINIT.

    The C_ items are going to be used for items passing const data to
    sysinit.

25 years ago Cleanup bsd.kern.mk after last commit.
Matthew Dillon [Fri, 29 Jan 1999 06:22:19 +0000 (06:22 +0000)]
Cleanup bsd.kern.mk after last commit.

25 years ago If vfs.nfs.diskless_valid does not exist, the conditional fails
Matthew Dillon [Fri, 29 Jan 1999 06:18:12 +0000 (06:18 +0000)]
If vfs.nfs.diskless_valid does not exist, the conditional fails
    and spews an error message we'd rather not spew.  Fixed.

Submitted by: Kevin Street <street@iname.com>

25 years agoCheck size of partition before using it.
Robert Nordier [Fri, 29 Jan 1999 03:36:42 +0000 (03:36 +0000)]
Check size of partition before using it.

25 years agoInclude .gdbinit for debugging
Greg Lehey [Fri, 29 Jan 1999 02:51:45 +0000 (02:51 +0000)]
Include .gdbinit for debugging

25 years agoAdd section on debugging configuration problems and panics.
Greg Lehey [Fri, 29 Jan 1999 02:41:15 +0000 (02:41 +0000)]
Add section on debugging configuration problems and panics.

25 years agoAllow the interrupt allocated to the PCIC to be tuned from the kernel
Mike Smith [Fri, 29 Jan 1999 01:18:15 +0000 (01:18 +0000)]
Allow the interrupt allocated to the PCIC to be tuned from the kernel
environment by setting the variable machdep.pccard.pcic_irq.  If
the IRQ is invalid, the PCIC will run in polled mode.

25 years agoChange multiline comments to start with a lone /* and end with a */,
Greg Lehey [Fri, 29 Jan 1999 01:17:54 +0000 (01:17 +0000)]
Change multiline comments to start with a lone /* and end with a */,
apparently in accordance with style(9).

Complained-about-by: bde
25 years agoDocument the machdep.pccard.pcic_irq tunable, which allows the user to tune
Mike Smith [Fri, 29 Jan 1999 01:16:50 +0000 (01:16 +0000)]
Document the machdep.pccard.pcic_irq tunable, which allows the user to tune
the interrupt which will be given to the PCIC.  If the value supplied is
illegal or not available, interrupts will be turned off and polled mode
used instead.

25 years agoChange multiline comments to start with a lone /* and end with a */,
Greg Lehey [Fri, 29 Jan 1999 01:16:18 +0000 (01:16 +0000)]
Change multiline comments to start with a lone /* and end with a */,
apparently in accordance with style(9).

Complained-about-by: bde
vinumopen: Change check for root user to a call to suser(9)
vinumclose: Remove check for root user.

Nitpicked-by: phk
25 years agoReflect syslog(8)'s acceptance of either tabs or spaces.
Bill Fumerola [Thu, 28 Jan 1999 22:55:08 +0000 (22:55 +0000)]
Reflect syslog(8)'s acceptance of either tabs or spaces.

PR: docs/9660
Submitted by: Kris Kennaway <kkennawa@physics.adelaide.edu.au>

25 years agoFix nasty bug where getpackagesite() will return an integer if it doesn't
Bill Fumerola [Thu, 28 Jan 1999 20:17:32 +0000 (20:17 +0000)]
Fix nasty bug where getpackagesite() will return an integer if it doesn't
know what revision of FreeBSD is being run. This case should never happen,
but just in case.

25 years agoNow that newsyslog is capable of doing this at a specific time,
Garrett Wollman [Thu, 28 Jan 1999 20:03:31 +0000 (20:03 +0000)]
Now that newsyslog is capable of doing this at a specific time,
let it rotate /var/log/wtmp again, and update monthly/200.accounting to
take this into account.  (Some sites might want to change the parameters
of the rotation; it's easier to do this when it's all centralized in
newsyslog.conf.)

25 years agojkoshy forgot up update the heading date on the man page.
Garrett Wollman [Thu, 28 Jan 1999 19:56:05 +0000 (19:56 +0000)]
jkoshy forgot up update the heading date on the man page.

25 years agoTypo.
Bill Fumerola [Thu, 28 Jan 1999 19:22:22 +0000 (19:22 +0000)]
Typo.

PR: docs/9752
Submitted by: horikawa@jp.FreeBSD.org

25 years agoSupport for MSP3410D / MSP3415D Stereo/Mono audio using the audio format
Roger Hardiman [Thu, 28 Jan 1999 17:47:47 +0000 (17:47 +0000)]
Support for MSP3410D / MSP3415D Stereo/Mono audio using the audio format
Auto Detection Mode. This leaves MSP3400C owners still unsupported.
Thanks to Gerd Knorr <kraxel@cs.tu-berlin.de> for providing some early
assistance and sample code in the linux bttv driver.
Nicolas Souchu <nsouch@freebsd.org> ported the msp_read/write/reset
functions to smbus/iicbus.

METEOR_INPUT_DEV2 now selects a composite camera on the SVIDEO port.
For true SVIDEO, use METEOR_INPUT_DEV_SVIDEO.
If you get a monochrome image from the SVIDEO port, you have
seleted the wrong input type.

Tested by:      Johan Larsson<gozer@ludd.luth.se>

25 years agoFix synopsis to match 1003.2. Add text describing the way in which
Garrett Wollman [Thu, 28 Jan 1999 17:41:02 +0000 (17:41 +0000)]
Fix synopsis to match 1003.2.  Add text describing the way in which
our implementation does not meet 1003.2 (rather than the now outdated
``is expected to comply' language).

25 years ago Fix warnings related to -Wall -Wcast-qual
Matthew Dillon [Thu, 28 Jan 1999 17:32:05 +0000 (17:32 +0000)]
Fix warnings related to -Wall -Wcast-qual

25 years ago Clarify the SYSINIT problem by breaking SYSINIT's up into a void *
Matthew Dillon [Thu, 28 Jan 1999 17:30:51 +0000 (17:30 +0000)]
Clarify the SYSINIT problem by breaking SYSINIT's up into a void *
    version and a const void * version.  Currently the const void * version
    simply calls the void * version ( i.e. no 'fix' is in place ).

    A solution needs to be found for the C_SYSINIT ( etc...) family of
    macros that allows const void * without generating a warning, but
    does not allow non-const void *.

25 years agoAdded METEOR_DEV2 and METEOR_DEV3
Roger Hardiman [Thu, 28 Jan 1999 16:32:52 +0000 (16:32 +0000)]
Added METEOR_DEV2 and METEOR_DEV3

25 years agoSubmitted by: Nicolas Souchu <nsouch@freebsd.org>
Roger Hardiman [Thu, 28 Jan 1999 15:59:15 +0000 (15:59 +0000)]
Submitted by: Nicolas Souchu <nsouch@freebsd.org>

Updated to support bt848 driver and MSP3400 audio chip.
This adds changes made in 1.4.2.1 and 1.4.2.2 from RELENG_3

25 years agoSubmitted by: Nicolas Souchu <nsouch@freebsd.org>
Roger Hardiman [Thu, 28 Jan 1999 15:56:18 +0000 (15:56 +0000)]
Submitted by: Nicolas Souchu <nsouch@freebsd.org>

Updated to support bt848 driver MSP34xx audio chip.
This adds changes made in 1.3.2.1 and 1.3.2.2 from RELENG_3

25 years agoSubmitted by: Nicolas Souchu <nsouch@freebsd.org>
Roger Hardiman [Thu, 28 Jan 1999 15:50:24 +0000 (15:50 +0000)]
Submitted by: Nicolas Souchu <nsouch@freebsd.org>

Added support required by bt848 driver for MSP34xx audio chip

25 years agoMAINTAINER=brian@FreeBSD.org
Brian Somers [Thu, 28 Jan 1999 15:16:38 +0000 (15:16 +0000)]
MAINTAINER=brian@FreeBSD.org

25 years agoOops, added parentheses after `else'.
KATO Takenori [Thu, 28 Jan 1999 13:32:07 +0000 (13:32 +0000)]
Oops, added parentheses after `else'.

Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>

25 years agoSun Bug ID 1251858 (on http://sunsolve1.sun.com) discusses the way that
Mark Newton [Thu, 28 Jan 1999 11:45:49 +0000 (11:45 +0000)]
Sun Bug ID 1251858 (on http://sunsolve1.sun.com) discusses the way that
Sun implemented iBCS2 compatibility on Solaris >= 2.6:  The emulator
runs in user-mode, patching the LDT so that client programs making
syscalls through the old iBCS2 call gate get handled by the emulator
process.  Unemulated syscalls therefore need their own call-gate that
bypasses the emulator.  Sun chose LDT entry 4 to implement this, which
is what we've been using as LUDATA_SEL, so we need to change LUDATA_SEL
if we want to run Solaris executables.

Discussed with: Mike Smith

25 years agoThe "easy" fixe for compiling the kernel -Wunused: remove unreferenced
KATO Takenori [Thu, 28 Jan 1999 11:36:22 +0000 (11:36 +0000)]
The "easy" fixe for compiling the kernel -Wunused: remove unreferenced
local variable.

25 years agoThe "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
KATO Takenori [Thu, 28 Jan 1999 11:24:36 +0000 (11:24 +0000)]
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
and local variables, goto labels, and functions declared but not defined.

25 years ago- Fixed the bug which always ignored Ctrl-Pause/Break on the AT 101
Kazutaka YOKOTA [Thu, 28 Jan 1999 10:55:55 +0000 (10:55 +0000)]
- Fixed the bug which always ignored Ctrl-Pause/Break on the AT 101
  keyboard.
- Translate some keycode for the 84 keyboard so that the 84 keyboard
  and the 101 keyboard become more compatible in terms of keycodes.
- Updated the built-in keymaps so that it is in line with the recent
  changes in share/syscons/keymaps.
- Added some comment on the Pause/Break key on the 101 keyboard.

25 years agoUpdate example to match new builtin behavior.
Jordan K. Hubbard [Thu, 28 Jan 1999 10:51:49 +0000 (10:51 +0000)]
Update example to match new builtin behavior.

Submitted by: Daniel C. Sobral <dcs@newsguy.com>
PR: 9744

25 years ago- Fix errors in some keymap files.
Kazutaka YOKOTA [Thu, 28 Jan 1999 10:48:29 +0000 (10:48 +0000)]
- Fix errors in some keymap files.

 - The numpad * key should always generate *.
 - The numpad - is fkey52 and should not generate a control code (0x1f).
 - The numpad 5 is fkey54, not fkey61.
 - The numpad 6 is fkey55 and should not generate a control code (0x1e).

- Fix Spanish keymap.
PR: i386/9532
Submitted by jose@we.lc.ehu.es.

- Added Croatian keymap. It is the same as the Slovenian keymap.
PR: misc/9706
Pointed out by: Damjan Marion

- Addef Finnish keymap. It is the same as the Swedish keymap.
PR: bin/9632
Submitted by: Martti Kuparinen

- Assign special functions consistently in all keymap files.

101 keyboard                    84 keyboard                     function
------------------------------------------------------------------------
Ctrl-Alt-Delete                 Ctrl-Alt-Delete                 reboot
Ctrl-Alt-Esc                    Ctrl-Alt-Esc                    debug
Ctrl-Alt-Space                  Ctrl-Alt-Space                  susp
ScrollLock                      ScrollLock                      slock
PrintScreen                     Shift-(Numpad *)/PrintScreen    nscr
Ctrl-PrintScreen                Shift-Ctrl-(Numpad *)/PrintScreen debug
Alt-PrintScreen/SysRq           SysRq                           nop
Pause                           Ctrl-NumLock                    slock
Shift-Pause                     Shift-Ctrl-NumLock              saver
Alt-Pause                       Alt-Ctrl-NumLock                susp
Ctrl-Pause/Break                Ctrl-ScrollLock/Break           nop
Left W*ndow key                 NA                              fkey62
Right W*ndow key                NA                              fkey63
Menu                            NA                              fkey64

NOTE: us.unix.kbd and us.emacs.kbd are very much different from the
other keymaps, thus, I didn't touch them.

25 years agoVersion 2.0 > 2.1 to reflection RADIUS additions.
Brian Somers [Thu, 28 Jan 1999 09:40:15 +0000 (09:40 +0000)]
Version 2.0 > 2.1 to reflection RADIUS additions.

25 years agoSync with sys/i386/isa/wd.c revision 1.187.
KATO Takenori [Thu, 28 Jan 1999 09:21:35 +0000 (09:21 +0000)]
Sync with sys/i386/isa/wd.c revision 1.187.

25 years agoSync with sys/i386/isa/if_ed.c revision 1.149.
KATO Takenori [Thu, 28 Jan 1999 09:19:16 +0000 (09:19 +0000)]
Sync with sys/i386/isa/if_ed.c revision 1.149.

25 years agoSync with sys/i386/isa/diskslice_machdep.c revision 1.33.
KATO Takenori [Thu, 28 Jan 1999 09:18:21 +0000 (09:18 +0000)]
Sync with sys/i386/isa/diskslice_machdep.c revision 1.33.

25 years agoSync with sys/i386/i386/userconfig.c revision 1.127.
KATO Takenori [Thu, 28 Jan 1999 09:13:20 +0000 (09:13 +0000)]
Sync with sys/i386/i386/userconfig.c revision 1.127.

25 years agoSync with sys/i386/conf/GENERIC revision 1.144.
KATO Takenori [Thu, 28 Jan 1999 09:12:05 +0000 (09:12 +0000)]
Sync with sys/i386/conf/GENERIC revision 1.144.

25 years agobuild_write_request: only fail if all plexes are down, instead of if
Greg Lehey [Thu, 28 Jan 1999 07:00:55 +0000 (07:00 +0000)]
build_write_request: only fail if all plexes are down, instead of if
any of them are down.

Reported-by: dg
25 years agoFix some format breakage before bde finds out
Greg Lehey [Thu, 28 Jan 1999 06:59:27 +0000 (06:59 +0000)]
Fix some format breakage before bde finds out

vinum_scandisk: check not only drive error, but also drive state,
  before accessing the drive.

drivecmp: Remove warning messages by Backing out overly constant
  declarations in revision 1.9.

25 years agoMake builtin's state-aware in loader.
Jordan K. Hubbard [Thu, 28 Jan 1999 06:33:03 +0000 (06:33 +0000)]
Make builtin's state-aware in loader.

Submitted by: Daniel C. Sobral
PR: 9663

25 years agoNuke pnp0 from boot.flp
Jordan K. Hubbard [Thu, 28 Jan 1999 06:27:41 +0000 (06:27 +0000)]
Nuke pnp0 from boot.flp

25 years agoCorrect test in poll loop for determining that the mailbox is free to
Justin T. Gibbs [Thu, 28 Jan 1999 03:30:02 +0000 (03:30 +0000)]
Correct test in poll loop for determining that the mailbox is free to
accept a new command.

25 years ago Fix warnings in preparation for adding -Wall -Wcast-qual to the
Matthew Dillon [Thu, 28 Jan 1999 02:26:20 +0000 (02:26 +0000)]
Fix warnings in preparation for adding -Wall -Wcast-qual to the
    kernel compile

25 years ago Fix warnings in preparation for adding -Wall -Wcast-qual to the
Matthew Dillon [Thu, 28 Jan 1999 01:59:53 +0000 (01:59 +0000)]
Fix warnings in preparation for adding -Wall -Wcast-qual to the
    kernel compile

25 years agoInitial RADIUS support (using libradius). See the man page for
Brian Somers [Thu, 28 Jan 1999 01:56:34 +0000 (01:56 +0000)]
Initial RADIUS support (using libradius).  See the man page for
details.  Compiling with -DNORADIUS (the default for `release')
removes support.

TODO: The functionality in libradius::rad_send_request() needs
      to be supplied as a set of routines so that ppp doesn't
      have to wait indefinitely for the radius server(s).  Instead,
      we need to get a descriptor back, select() on the descriptor,
      and ask libradius to service it when necessary.
      For now, ppp blocks SIGALRM while in rad_send_request(), so
      it misses PAP/CHAP retries & timeouts if they occur.

      Only PAP is functional.  When CHAP is attempted, libradius
      complains that no User-Password has been specified... rfc2138
      says that it *mustn't* be used for CHAP :-(

Sponsored by: Internet Business Solutions Ltd., Switzerland

25 years ago Fix parenthesization, but the code still looks wrong.
Matthew Dillon [Thu, 28 Jan 1999 01:33:02 +0000 (01:33 +0000)]
Fix parenthesization, but the code still looks wrong.

25 years ago Fix warnings in preparation for adding -Wall -Wcast-qual to the
Matthew Dillon [Thu, 28 Jan 1999 00:57:57 +0000 (00:57 +0000)]
Fix warnings in preparation for adding -Wall -Wcast-qual to the
    kernel compile

25 years ago Fix but in devfs_strategy(). Switch cases were falling through
Matthew Dillon [Wed, 27 Jan 1999 23:49:45 +0000 (23:49 +0000)]
Fix but in devfs_strategy().  Switch cases were falling through
    instead of breaking out, so a VCHR devices would run the VCHR
    routine and then fall through and run the VBLK routine.  Fixed.

25 years ago Fix warnings in preparation for adding -Wall -Wcast-qual to the
Matthew Dillon [Wed, 27 Jan 1999 23:45:44 +0000 (23:45 +0000)]
Fix warnings in preparation for adding -Wall -Wcast-qual to the
    kernel compile.

    This commit includes significant work to proper handle const arguments
    for the DDB symbol routines.

25 years ago Turn on -Wall and -Wcast-qual
Matthew Dillon [Wed, 27 Jan 1999 22:53:58 +0000 (22:53 +0000)]
Turn on -Wall and -Wcast-qual

25 years ago Fix nasty bug in nfs_access(). A conditional was if (a = b) instead of
Matthew Dillon [Wed, 27 Jan 1999 22:45:49 +0000 (22:45 +0000)]
Fix nasty bug in nfs_access().  A conditional was if (a = b) instead of
    if (a == b).

25 years ago Fix warnings in preparation for adding -Wall -Wcast-qual to the
Matthew Dillon [Wed, 27 Jan 1999 22:45:13 +0000 (22:45 +0000)]
Fix warnings in preparation for adding -Wall -Wcast-qual to the
    kernel compile