]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoHow hard can it be to implement a 24bit counter in hardware ?
Poul-Henning Kamp [Mon, 29 Nov 1999 11:27:40 +0000 (11:27 +0000)]
How hard can it be to implement a 24bit counter in hardware ?

Make sure we read a likely value from the PIIX timecounter.

This should fix a large fraction of the "calcru: negative time"
warnings produced by SMP machines.

Another hole in one by: bde
Didn't belive Bruce:    phk

24 years ago* Use getobjformat() rather than manually do what it does.
David E. O'Brien [Mon, 29 Nov 1999 10:41:21 +0000 (10:41 +0000)]
* Use getobjformat() rather than manually do what it does.
* Don't conditional based on i386, but generalize to all FreeBSD arch's.
* Don't be a.out-centric, but generalize to handle other possible future
  formats.

Submitted by: marcel (partial)

24 years agothere's no memcmp() in kernel, use bcmp() instead.
Jun-ichiro itojun Hagino [Mon, 29 Nov 1999 08:19:01 +0000 (08:19 +0000)]
there's no memcmp() in kernel, use bcmp() instead.
in userland memcmp() is preferred for ANSI preference.
(from KAME repository)

24 years agoReconnect probing of the width of the isa bus, calling pcic_attach and
Warner Losh [Mon, 29 Nov 1999 07:15:33 +0000 (07:15 +0000)]
Reconnect probing of the width of the isa bus, calling pcic_attach and
pcic_attach_sockets.  Rework bus width probe mapping and unmapping to
use the newbus bus_{allocate,release}_resource with a rid of 1 to work
on FreeBSD.  Remove a few now unneeded #includes.

24 years agoAdd the PAM SSH RSA key authentication module. For example, you can add,
Brian Feldman [Mon, 29 Nov 1999 07:09:44 +0000 (07:09 +0000)]
Add the PAM SSH RSA key authentication module.  For example, you can add,
"login  auth    sufficient      pam_ssh.so" to your /etc/pam.conf, and
users with a ~/.ssh/identity can login(1) with their SSH key :)

PR: 15158
Submitted by: Andrew J. Korty <ajk@waterspout.com>
Reviewed by: obrien

24 years agoFlesh out the pccard bus_ methods with either the generic one (where
Warner Losh [Mon, 29 Nov 1999 06:42:55 +0000 (06:42 +0000)]
Flesh out the pccard bus_ methods with either the generic one (where
it would work), or a specialized one.  Most of these have been
creatively stolen from pccard_nkb, which in turn stole from isa
showing that generic bus_ versions of bus_{set,get,delete}_resource
might be profitable.

Fix a couple of minor bugs introduced in the last round of updates
from NetBSD.

Start on the pccard_ivar structure which will hold the resources and
slot number.

Add tcic as a possible attachment for pccard and rename the attachment
for pcicx to pcic since the name has changed since I originally wrote
this stuff.

Next up:
stringing together the various memory and I/O
allocation/mapping primitives in i82365.c, final touches on the isa
attach routine and other fun stuff in that line of attach.

24 years agoProvide a man page for Alfreds lovely readdir_r function. Also
Wes Peters [Mon, 29 Nov 1999 06:12:22 +0000 (06:12 +0000)]
Provide a man page for Alfreds lovely readdir_r function.  Also
fixed a minor indentation nit and added a few {}s to make readdir_r
easier on old eyes.

24 years ago- Fixed German spelling in INDEX.keymaps.
Kazutaka YOKOTA [Mon, 29 Nov 1999 01:13:55 +0000 (01:13 +0000)]
- Fixed German spelling in INDEX.keymaps.
- Added Estonian and new Swiss keymaps.

Submitted by: Blapp Martin (mb@imb.ch)

24 years ago- Fix Swiss keymaps: swissfrench.iso.kbd and swissgerman.iso.kbd.
Kazutaka YOKOTA [Mon, 29 Nov 1999 01:12:26 +0000 (01:12 +0000)]
- Fix Swiss keymaps: swissfrench.iso.kbd and swissgerman.iso.kbd.
  Add new keymaps: swissfrench.iso.acc.kbd, swissgerman.acc.kbd,
  swissfrench.cp850.kbd, and swissgerman.cp850.kbd.

PR: conf/14667
Submitted by: Blapp Martin (mb@imb.ch)
Tested by: a number of Swiss users.

24 years agoUpdate de driver for the request->xfer changes.
Nick Hibma [Sun, 28 Nov 1999 23:55:52 +0000 (23:55 +0000)]
Update de driver for the request->xfer changes.
Add a remark about how the system will panic after you've unplugged the
drive.

24 years agoAddress the concerns of the ``randomness'' of the initial PRNG. Now, we
Dan Moschuk [Sun, 28 Nov 1999 23:39:49 +0000 (23:39 +0000)]
Address the concerns of the ``randomness'' of the initial PRNG.  Now, we
use bits from /dev/random to stir the S-box.  Also add an internal counter to
keep the S-box stirred on a regular basis.

Reviewed by: msmith

24 years agoProvide and document ctermid_r function.
Wes Peters [Sun, 28 Nov 1999 23:28:49 +0000 (23:28 +0000)]
Provide and document ctermid_r function.

24 years agoWoops, it seems to fail initialisation. Disabled while I am figuring out
Nick Hibma [Sun, 28 Nov 1999 22:56:26 +0000 (22:56 +0000)]
Woops, it seems to fail initialisation. Disabled while I am figuring out
how to get the USB revision from the OHCI controller.

Now where did I leave that spec? ...

24 years agoAdded definition of 'brucify'.
Wes Peters [Sun, 28 Nov 1999 22:51:17 +0000 (22:51 +0000)]
Added definition of 'brucify'.

Submitted by: Eivind Eklund
Suggested by: Brian Somers

24 years agoDocument the getlogin_r function.
Wes Peters [Sun, 28 Nov 1999 22:41:50 +0000 (22:41 +0000)]
Document the getlogin_r function.

24 years agoProvide the getlogin_r function.
Wes Peters [Sun, 28 Nov 1999 22:41:38 +0000 (22:41 +0000)]
Provide the getlogin_r function.

24 years agoUse the correct mounted-from path when allocating the root mount, if we know
Mike Smith [Sun, 28 Nov 1999 22:20:18 +0000 (22:20 +0000)]
Use the correct mounted-from path when allocating the root mount, if we know
what it is.

Be more correct in unbusying the mountpoint (especially before freeing it).

Remove support for mounting 'r' devices as root.  You don't mount 'r'
devices anywhere else, and they're going away anyway.

Submitted by: bde

24 years agoMake the following changes to PicoBSD kernel configurations:
Pierre Beyssac [Sun, 28 Nov 1999 21:33:44 +0000 (21:33 +0000)]
Make the following changes to PicoBSD kernel configurations:
- to account for recent changes in MFS:
add pseudo-device md
replace MFS_ROOT with MD_ROOT
- replace deprecated "disk" with "device"

24 years agoAdd the ability to match on device names attached to.
Nick Hibma [Sun, 28 Nov 1999 21:27:31 +0000 (21:27 +0000)]
Add the ability to match on device names attached to.

If a device is attached to ums4, you can reference this devname in
the configuration file as ${DEVNAME} (a shell variable, yes).

24 years agoAdd resource activation routines to pcic driver. Minor cleanup of
Warner Losh [Sun, 28 Nov 1999 21:11:13 +0000 (21:11 +0000)]
Add resource activation routines to pcic driver.  Minor cleanup of
socket attach code.  We now have at least a chance for pccard devices
appearing in the future.

This is a snapshot of ongoing work.  Proceed at your own risk.

24 years ago Correct the last parameter for clalloc
Nick Hibma [Sun, 28 Nov 1999 21:07:11 +0000 (21:07 +0000)]
 Correct the last parameter for clalloc

24 years agoSynchronisation with NetBSD 1999/11/27
Nick Hibma [Sun, 28 Nov 1999 21:01:06 +0000 (21:01 +0000)]
Synchronisation with NetBSD 1999/11/27

- more req[uest]->xfer changes.
- get the corresponding NetBSD Id's right

ohci.c
   - move untimeout above print statement
   - remove usb_delay that panics the system (tsleep in intr context) when
   ohcidebug > 5.

ugen.c
   - create the devices for endpoints with make_dev.

uhub.c
   - change from using usbdebug to uhubdebug
   - add more debugging statements

24 years agoAdd devnames, the device names the drivers attached to for usbd.
Nick Hibma [Sun, 28 Nov 1999 20:55:22 +0000 (20:55 +0000)]
Add devnames, the device names the drivers attached to for usbd.
0 -> NULL changes.
Add realloc (for OpenBSD)

24 years agoAdd a quirk for the Altec ASC495 speakers. They pretend to support the
Nick Hibma [Sun, 28 Nov 1999 20:48:08 +0000 (20:48 +0000)]
Add a quirk for the Altec ASC495 speakers. They pretend to support the
audio class, but they don't

24 years agoAdd PCI_USBREV_1_1
Nick Hibma [Sun, 28 Nov 1999 20:47:27 +0000 (20:47 +0000)]
Add PCI_USBREV_1_1

24 years agoAdd USB revision strings and numbers.
Nick Hibma [Sun, 28 Nov 1999 20:46:29 +0000 (20:46 +0000)]
Add USB revision strings and numbers.

24 years agoAdd two modules for the pccard work: dev/pccard/card_if.m and
Warner Losh [Sun, 28 Nov 1999 20:18:50 +0000 (20:18 +0000)]
Add two modules for the pccard work: dev/pccard/card_if.m and
dev/pccard/power_if.m.

XXX There has got to be a better way to deal with this.

24 years ago* Fix the stack allocation code so that it works for alpha. Change it
Doug Rabson [Sun, 28 Nov 1999 19:47:43 +0000 (19:47 +0000)]
* Fix the stack allocation code so that it works for alpha. Change it
  to use mmap(..., MAP_STACK, ...) on alpha too since that should work
  now.
* Add hooks to allow GDB to access the internals of pthreads without
  having to know the exact layout of struct pthread.

Reviewed by: deischen

24 years agoRemoved special rules for building and cleaning device interface files
Bruce Evans [Sun, 28 Nov 1999 18:53:47 +0000 (18:53 +0000)]
Removed special rules for building and cleaning device interface files
and empty options files.  The rules are now generated automatically in
bsd.kmod.mk.  Cleaned up related things ($S and ${CLEANFILES}).

24 years agoInstall man pages in the right place. This is what I get for cheating
Bill Fumerola [Sun, 28 Nov 1999 18:34:27 +0000 (18:34 +0000)]
Install man pages in the right place. This is what I get for cheating
and copying a Makefile from another directory over to this one.

PR: docs/15140
Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>

24 years agoBuild and clean device interface files (foo_if.[ch]) and empty options
Bruce Evans [Sun, 28 Nov 1999 17:52:40 +0000 (17:52 +0000)]
Build and clean device interface files (foo_if.[ch]) and empty options
files (opt_*.h) automatically (if they are in ${SRCS}).

Clean vnode_if.[ch] automatically (if one of them is in ${SRCS}, not just
if VFS_KLD is defined).

There are some complications to avoid using the "@" symlink before it
is built.

24 years agoIntroduce OpenBSD-like Random PIDs. Controlled by a sysctl knob
Dan Moschuk [Sun, 28 Nov 1999 17:51:09 +0000 (17:51 +0000)]
Introduce OpenBSD-like Random PIDs.  Controlled by a sysctl knob
(kern.randompid), which is currently defaulted off.  Use ARC4 (RC4) for our
random number generation, which will not get me executed for violating
crypto laws; a Good Thing(tm).

Reviewed and Approved by: bde, imp

24 years agoConvert dumpon to work on character devices instead of block devices.
Poul-Henning Kamp [Sun, 28 Nov 1999 16:25:17 +0000 (16:25 +0000)]
Convert dumpon to work on character devices instead of block devices.

NB: You may need to change your /etc/rc.conf!

24 years agoCall i4b_l4_drvrdisc, not i4b_l4_disconnect_ind to bring the link
Brian Somers [Sun, 28 Nov 1999 16:17:01 +0000 (16:17 +0000)]
Call i4b_l4_drvrdisc, not i4b_l4_disconnect_ind to bring the link
down when the device is closed or carrier is removed.

This solves the disconnect problems when using user-ppp over isdn.

Suggested by: hm

24 years agoDon't try to do a DIALOUT in -direct mode or if there's no phone
Brian Somers [Sun, 28 Nov 1999 15:50:23 +0000 (15:50 +0000)]
Don't try to do a DIALOUT in -direct mode or if there's no phone
numbers set.

24 years agoMake -foreground a proper option (allowing ``allow mode foreground'',
Brian Somers [Sun, 28 Nov 1999 15:50:08 +0000 (15:50 +0000)]
Make -foreground a proper option (allowing ``allow mode foreground'',
``set mode foreground'' etc.

24 years agoAdd the PCI id for the TI PCI-1251B PCI-CardBus bridge.
Eivind Eklund [Sun, 28 Nov 1999 13:37:35 +0000 (13:37 +0000)]
Add the PCI id for the TI PCI-1251B PCI-CardBus bridge.

Submitted by:   Martin Blapp <mb@imp.ch>

24 years agoremove cc1obj from the original SUBDIR list since it's made optional
Marcel Moolenaar [Sun, 28 Nov 1999 12:30:20 +0000 (12:30 +0000)]
remove cc1obj from the original SUBDIR list since it's made optional
in the previous commit resulting.

Forgotten by: obrien

24 years agoDefault to not -v.
David E. O'Brien [Sun, 28 Nov 1999 12:24:16 +0000 (12:24 +0000)]
Default to not -v.
Fix usage() style bug spotted by BDE.

24 years agoScheduler fixes equivalent to the ones logged in the following NetBSD
Bruce Evans [Sun, 28 Nov 1999 12:12:14 +0000 (12:12 +0000)]
Scheduler fixes equivalent to the ones logged in the following NetBSD
commit to kern_synch.c:

----------------------------
revision 1.55
date: 1999/02/23 02:56:03;  author: ross;  state: Exp;  lines: +39 -10
Scheduler bug fixes and reorganization
* fix the ancient nice(1) bug, where nice +20 processes incorrectly
  steal 10 - 20% of the CPU, (or even more depending on load average)
* provide a new schedclk() mechanism at a new clock at schedhz, so high
  platform hz values don't cause nice +0 processes to look like they are
  niced
* change the algorithm slightly, and reorganize the code a lot
* fix percent-CPU calculation bugs, and eliminate some no-op code

=== nice bug === Correctly divide the scheduler queues between niced and
compute-bound processes. The current nice weight of two (sort of, see
`algorithm change' below) neatly divides the USRPRI queues in half; this
should have been used to clip p_estcpu, instead of UCHAR_MAX.  Besides
being the wrong amount, clipping an unsigned char to UCHAR_MAX is a no-op,
and it was done after decay_cpu() which can only _reduce_ the value.  It
has to be kept <= NICE_WEIGHT * PRIO_MAX - PPQ or processes can
scheduler-penalize themselves onto the same queue as nice +20 processes.
(Or even a higher one.)

=== New schedclk() mechansism === Some platforms should be cutting down
stathz before hitting the scheduler, since the scheduler algorithm only
works right in the vicinity of 64 Hz. Rather than prescale hz, then scale
back and forth by 4 every time p_estcpu is touched (each occurance an
abstraction violation), use p_estcpu without scaling and require schedhz
to be generated directly at the right frequency. Use a default stathz (well,
actually, profhz) / 4, so nothing changes unless a platform defines schedhz
and a new clock.  Define these for alpha, where hz==1024, and nice was
totally broke.

=== Algorithm change === The nice value used to be added to the
exponentially-decayed scheduler history value p_estcpu, in _addition_ to
be incorporated directly (with greater wieght) into the priority calculation.
At first glance, it appears to be a pointless increase of 1/8 the nice
effect (pri = p_estcpu/4 + nice*2), but it's actually at least 3x that
because it will ramp up linearly but be decayed only exponentially, thus
converging to an additional .75 nice for a loadaverage of one. I killed
this, it makes the behavior hard to control, almost impossible to analyze,
and the effect (~~nothing at for the first second, then somewhat increased
niceness after three seconds or more, depending on load average) pointless.

=== Other bugs === hz -> profhz in the p_pctcpu = f(p_cpticks) calcuation.
Collect scheduler functionality. Try to put each abstraction in just one
place.
----------------------------

The details are a little different in FreeBSD:

=== nice bug ===   Fixing this is the main point of this commit.  We use
essentially the same clipping rule as NetBSD (our limit on p_estcpu
differs by a scale factor).  However, clipping at all is fundamentally
bad.  It gives free CPU the hoggiest hogs once they reach the limit, and
reaching the limit is normal for long-running hogs.  This will be fixed
later.

=== New schedclk() mechanism ===  We don't use the NetBSD schedclk()
(now schedclock()) mechanism.  We require (real)stathz to be about 128
and scale by an extra factor of 2 compared with NetBSD's statclock().
We scale p_estcpu instead of scaling the clock.  This is more accurate
and flexible.

=== Algorithm change ===  Same change.

=== Other bugs ===  The p_pctcpu bug was fixed long ago.  We don't try as
hard to abstract functionality yet.

Related changes: the new limit on p_estcpu must be exported to kern_exit.c
for clipping in wait1().

Agreed with by: dufault

24 years agoScheduler fixes equivalent to the ones logged in the following NetBSD
Bruce Evans [Sun, 28 Nov 1999 12:12:13 +0000 (12:12 +0000)]
Scheduler fixes equivalent to the ones logged in the following NetBSD
commit to kern_synch.c:

  ----------------------------
  revision 1.55
  date: 1999/02/23 02:56:03;  author: ross;  state: Exp;  lines: +39 -10
  Scheduler bug fixes and reorganization
  * fix the ancient nice(1) bug, where nice +20 processes incorrectly
    steal 10 - 20% of the CPU, (or even more depending on load average)
  * provide a new schedclk() mechanism at a new clock at schedhz, so high
    platform hz values don't cause nice +0 processes to look like they are
    niced
  * change the algorithm slightly, and reorganize the code a lot
  * fix percent-CPU calculation bugs, and eliminate some no-op code

  === nice bug === Correctly divide the scheduler queues between niced and
  compute-bound processes. The current nice weight of two (sort of, see
  `algorithm change' below) neatly divides the USRPRI queues in half; this
  should have been used to clip p_estcpu, instead of UCHAR_MAX.  Besides
  being the wrong amount, clipping an unsigned char to UCHAR_MAX is a no-op,
  and it was done after decay_cpu() which can only _reduce_ the value.  It
  has to be kept <= NICE_WEIGHT * PRIO_MAX - PPQ or processes can
  scheduler-penalize themselves onto the same queue as nice +20 processes.
  (Or even a higher one.)

  === New schedclk() mechansism === Some platforms should be cutting down
  stathz before hitting the scheduler, since the scheduler algorithm only
  works right in the vicinity of 64 Hz. Rather than prescale hz, then scale
  back and forth by 4 every time p_estcpu is touched (each occurance an
  abstraction violation), use p_estcpu without scaling and require schedhz
  to be generated directly at the right frequency. Use a default stathz (well,
  actually, profhz) / 4, so nothing changes unless a platform defines schedhz
  and a new clock.  Define these for alpha, where hz==1024, and nice was
  totally broke.

  === Algorithm change === The nice value used to be added to the
  exponentially-decayed scheduler history value p_estcpu, in _addition_ to
  be incorporated directly (with greater wieght) into the priority calculation.
  At first glance, it appears to be a pointless increase of 1/8 the nice
  effect (pri = p_estcpu/4 + nice*2), but it's actually at least 3x that
  because it will ramp up linearly but be decayed only exponentially, thus
  converging to an additional .75 nice for a loadaverage of one. I killed
  this, it makes the behavior hard to control, almost impossible to analyze,
  and the effect (~~nothing at for the first second, then somewhat increased
  niceness after three seconds or more, depending on load average) pointless.

  === Other bugs === hz -> profhz in the p_pctcpu = f(p_cpticks) calcuation.
  Collect scheduler functionality. Try to put each abstraction in just one
  place.
  ----------------------------

The details are a little different in FreeBSD:

=== nice bug ===   Fixing this is the main point of this commit.  We use
essentially the same clipping rule as NetBSD (our limit on p_estcpu
differs by a scale factor).  However, clipping at all is fundamentally
bad.  It gives free CPU the hoggiest hogs once they reach the limit, and
reaching the limit is normal for long-running hogs.  This will be fixed
later.

=== New schedclk() mechanism ===  We don't use the NetBSD schedclk()
(now schedclock()) mechanism.  We require (real)stathz to be about 128
and scale by an extra factor of 2 compared with NetBSD's statclock().
We scale p_estcpu instead of scaling the clock.  This is more accurate
and flexible.

=== Algorithm change ===  Same change.

=== Other bugs ===  The p_pctcpu bug was fixed long ago.  We don't try as
hard to abstract functionality yet.

Related changes: the new limit on p_estcpu must be exported to kern_exit.c
for clipping in wait1().

Agreed with by: dufault

24 years agoTake a shot at implementing the fix for PR 15014 for the a.out kernel
Peter Wemm [Sun, 28 Nov 1999 12:06:29 +0000 (12:06 +0000)]
Take a shot at implementing the fix for PR 15014 for the a.out kernel
linker as well.

PR: 15014
Submitted by: Vladimir N. Silyaev <vns@delta.odessa.ua>

24 years agoFix an embarresing mistake in the kld symbol lookup for DDB. It should
Peter Wemm [Sun, 28 Nov 1999 11:59:18 +0000 (11:59 +0000)]
Fix an embarresing mistake in the kld symbol lookup for DDB.  It should
now correctly do a traceback when crashing inside a KLD module.

PR: 15014
Submitted by: Vladimir N. Silyaev <vns@delta.odessa.ua>

24 years agobrucify
Michael Haro [Sun, 28 Nov 1999 09:34:21 +0000 (09:34 +0000)]
brucify

Reviewed by: obrien

24 years agoSync with sys/dev/syscons/syscons.c revision 1.327.
Yoshihiro Takahashi [Sun, 28 Nov 1999 08:57:22 +0000 (08:57 +0000)]
Sync with sys/dev/syscons/syscons.c revision 1.327.

24 years agoSync with sys/i386/conf/GENERIC revision 1.205.
Yoshihiro Takahashi [Sun, 28 Nov 1999 08:55:01 +0000 (08:55 +0000)]
Sync with sys/i386/conf/GENERIC revision 1.205.

24 years ago- Fail VT switching when the controlling program, such as the
Kazutaka YOKOTA [Sun, 28 Nov 1999 07:44:11 +0000 (07:44 +0000)]
- Fail VT switching when the controlling program, such as the
  X server, is not responding to the VT switching protocol. (This part
  of the code has been somewhat wrong in -CURRENT, but -STABLE has the
  correct code...)

24 years ago- Added Estonian keymaps: estonian.iso.kbd, estonian.iso15.kbd,
Kazutaka YOKOTA [Sun, 28 Nov 1999 07:38:19 +0000 (07:38 +0000)]
- Added Estonian keymaps: estonian.iso.kbd, estonian.iso15.kbd,
  and estonian.cp850.kbd.

PR: conf/14658
Submitted by: priit@mig.ee

24 years agocommit (re)generated files last.
Warner Losh [Sun, 28 Nov 1999 05:50:45 +0000 (05:50 +0000)]
commit (re)generated files last.

24 years agoUpdate pccard code to latest NetBSD code. This is the last merge
Warner Losh [Sun, 28 Nov 1999 05:49:27 +0000 (05:49 +0000)]
Update pccard code to latest NetBSD code.  This is the last merge
before newbusification hits full steam ahead.

All:
Adjust NetBSD labels to reflect new base versions.
dev/pcic/i82365.c:
1.24 Interface change for kernel threads
1.25 Massive unification for cardbus
dev/pcic/i82365var.h
1.8 Massive unification for cardbus
dev/pcic/i82365_isasubr.c
1.3 Massive unification for cardbus
dev/pccard/pccard_cis.c
1.11 Massive unification for cardbus
(better device printing, better memspace calcs)
dev/pccard/pccard_cis_quirks.c
1.4,1.5 Lotsa 3com devices
dev/pccard/pccardchip.h
1.4 Massive unification for cardbus
dev/pccard/pccarddevs
1.33..1.59 Lots of devices

24 years agoadd pthread_cancel, obtained from OpenBSD.
Alfred Perlstein [Sun, 28 Nov 1999 05:38:13 +0000 (05:38 +0000)]
add pthread_cancel, obtained from OpenBSD.

eischen (Daniel Eischen) added wrappers to protect against cancled
threads orphaning internal resources.

the cancelability code is still a bit fuzzy but works for test
programs of my own, OpenBSD's and some examples from ORA's books.

add readdir_r to both libc and libc_r

add some 'const' attributes to function parameters

Reviewed by: eischen, jasone

24 years agoThis commit was generated by cvs2svn to compensate for changes in r53809,
David E. O'Brien [Sun, 28 Nov 1999 01:35:29 +0000 (01:35 +0000)]
This commit was generated by cvs2svn to compensate for changes in r53809,
which included commits to RCS files with non-trunk default branches.

24 years agoUpdate to the 0.12.0-19991127 patch + my header path & doc changes.
David E. O'Brien [Sun, 28 Nov 1999 01:35:29 +0000 (01:35 +0000)]
Update to the 0.12.0-19991127 patch + my header path & doc changes.

24 years agoArange the f* floating point instructions to match binutils 2.9.1.
David E. O'Brien [Sun, 28 Nov 1999 01:11:35 +0000 (01:11 +0000)]
Arange the f* floating point instructions to match binutils 2.9.1.

24 years agoAdd "fild" instruction. GCC 2.95.2 likes to generate this one.
David E. O'Brien [Sun, 28 Nov 1999 01:05:35 +0000 (01:05 +0000)]
Add "fild" instruction.  GCC 2.95.2 likes to generate this one.

Obtained from: contrib/binutils/include/opcode/i386.h

24 years agoSort PCI SCSI controlers.
David E. O'Brien [Sun, 28 Nov 1999 00:59:03 +0000 (00:59 +0000)]
Sort PCI SCSI controlers.

24 years ago/sys adjustments to add the `sym' controler driver.
David E. O'Brien [Sun, 28 Nov 1999 00:48:15 +0000 (00:48 +0000)]
/sys adjustments to add the `sym' controler driver.

This is commented out in GENERIC as you cannot mix `sym' with `ncr' right now.
Note that LINT is no more broken by this commit.

24 years agoAdjust `sym' include file path to match where `sym' landed in our tree.
David E. O'Brien [Sun, 28 Nov 1999 00:45:27 +0000 (00:45 +0000)]
Adjust `sym' include file path to match where `sym' landed in our tree.

Done as vendor import as I hope the author will accept this patch, and
I'm not ready to take this thing off the vendor branch yet.

24 years agoThis commit was generated by cvs2svn to compensate for changes in r53801,
David E. O'Brien [Sun, 28 Nov 1999 00:45:27 +0000 (00:45 +0000)]
This commit was generated by cvs2svn to compensate for changes in r53801,
which included commits to RCS files with non-trunk default branches.

24 years agoAdjust `sym' include file path to match where `sym' landed in our tree.
David E. O'Brien [Sun, 28 Nov 1999 00:39:09 +0000 (00:39 +0000)]
Adjust `sym' include file path to match where `sym' landed in our tree.

Done as vendor import as I hope the author will accept this patch, and
I'm not ready to take this thing off the vendor branch yet.

24 years agoThis commit was generated by cvs2svn to compensate for changes in r53799,
David E. O'Brien [Sun, 28 Nov 1999 00:39:09 +0000 (00:39 +0000)]
This commit was generated by cvs2svn to compensate for changes in r53799,
which included commits to RCS files with non-trunk default branches.

24 years agoUpdate to the SYM-0.11.0-19991120 patch.
David E. O'Brien [Sat, 27 Nov 1999 23:37:15 +0000 (23:37 +0000)]
Update to the SYM-0.11.0-19991120 patch.

Submitted by: Gerard Roudier <groudier@club-internet.fr>

24 years agoThis commit was generated by cvs2svn to compensate for changes in r53796,
David E. O'Brien [Sat, 27 Nov 1999 23:37:15 +0000 (23:37 +0000)]
This commit was generated by cvs2svn to compensate for changes in r53796,
which included commits to RCS files with non-trunk default branches.

24 years agoUpdate to the SYM-0.10.0-19991111 patch.
David E. O'Brien [Sat, 27 Nov 1999 23:35:46 +0000 (23:35 +0000)]
Update to the SYM-0.10.0-19991111 patch.

Submitted by: Gerard Roudier <groudier@club-internet.fr>

24 years agoThis commit was generated by cvs2svn to compensate for changes in r53793,
David E. O'Brien [Sat, 27 Nov 1999 23:35:46 +0000 (23:35 +0000)]
This commit was generated by cvs2svn to compensate for changes in r53793,
which included commits to RCS files with non-trunk default branches.

24 years agoNew `sym' device driver optimized for the Symbios/LSI 53C896/53C895A/53C1010
David E. O'Brien [Sat, 27 Nov 1999 23:32:35 +0000 (23:32 +0000)]
New `sym' device driver optimized for the Symbios/LSI 53C896/53C895A/53C1010
PCI SCSI controllers.  This driver also supports the following Symbios/LSI
PCI SCSI chips: 53C810A53C825A, 53C860, 53C875, 53C876, 53C885, 53C895.

However, it does NOT support earlier chips as the following ones: 53C810,
53C815, 53C825.

See README.sym for more details.

Submitted-by: Gerard Roudier <groudier@club-internet.fr>

24 years agoThis commit was generated by cvs2svn to compensate for changes in r53790,
David E. O'Brien [Sat, 27 Nov 1999 23:32:35 +0000 (23:32 +0000)]
This commit was generated by cvs2svn to compensate for changes in r53790,
which included commits to RCS files with non-trunk default branches.

24 years agoAdd a commented out 'ATA' driver config block to help assist -CURRENT
David E. O'Brien [Sat, 27 Nov 1999 23:25:17 +0000 (23:25 +0000)]
Add a commented out 'ATA' driver config block to help assist -CURRENT
people to migrate to this driver since it will be the default IDE/ATA/ATAPI
driver in 4.0-R.

24 years agooptions should be formatted as "#options ^IFOO".
David E. O'Brien [Sat, 27 Nov 1999 22:46:51 +0000 (22:46 +0000)]
options should be formatted as "#options ^IFOO".

Spammed by: sos, mjacob, and phk

24 years agoMake ObjC bits optional. NO_OBJC ==> don't need `em.
David E. O'Brien [Sat, 27 Nov 1999 21:52:55 +0000 (21:52 +0000)]
Make ObjC bits optional.  NO_OBJC ==> don't need `em.

24 years agoMake the prompt look like on OpenBoot.
Daniel C. Sobral [Sat, 27 Nov 1999 21:44:47 +0000 (21:44 +0000)]
Make the prompt look like on OpenBoot.

24 years agoAdd support for the AMI MegaRAID and Mylex drivers to sysinstall.
Mike Smith [Sat, 27 Nov 1999 21:33:04 +0000 (21:33 +0000)]
Add support for the AMI MegaRAID and Mylex drivers to sysinstall.
There are reports that installs to these controllers still don't
work, but this is at least one step closer.

24 years agoRemove 'sd' support. SCSI disks are known as 'da' these days.
Mike Smith [Sat, 27 Nov 1999 21:20:57 +0000 (21:20 +0000)]
Remove 'sd' support.  SCSI disks are known as 'da' these days.

24 years agoUpdate compiler entries.
David E. O'Brien [Sat, 27 Nov 1999 21:18:19 +0000 (21:18 +0000)]
Update compiler entries.
Note the 100% total death of /dev/*sd*.

24 years agoAs promised long ago, remove the last evidence of the 'sd' driver.
Mike Smith [Sat, 27 Nov 1999 21:17:02 +0000 (21:17 +0000)]
As promised long ago, remove the last evidence of the 'sd' driver.
SCSI disks are only known as 'da' now.

24 years agoMake fsck even more char/blk dev tolerant.
Poul-Henning Kamp [Sat, 27 Nov 1999 20:02:27 +0000 (20:02 +0000)]
Make fsck even more char/blk dev tolerant.

24 years agoAdd "-v".
David E. O'Brien [Sat, 27 Nov 1999 19:25:08 +0000 (19:25 +0000)]
Add "-v".

24 years agoMake it possible to make release on archaic kernels.
Poul-Henning Kamp [Sat, 27 Nov 1999 18:48:10 +0000 (18:48 +0000)]
Make it possible to make release on archaic kernels.

24 years agoZeroes structure before using it.
Daniel C. Sobral [Sat, 27 Nov 1999 18:31:57 +0000 (18:31 +0000)]
Zeroes structure before using it.

24 years agoRemap the error EEXISTS => 0 *before* using error to determine if we should
Eivind Eklund [Sat, 27 Nov 1999 18:14:41 +0000 (18:14 +0000)]
Remap the error EEXISTS => 0 *before* using error to determine if we should
return a vp.

24 years agoPass the pppoe packets into do_ppp_print correctly.
Brian Somers [Sat, 27 Nov 1999 18:04:57 +0000 (18:04 +0000)]
Pass the pppoe packets into do_ppp_print correctly.

24 years agoRemove abuse of struct nameidata.
Boris Popov [Sat, 27 Nov 1999 17:46:04 +0000 (17:46 +0000)]
Remove abuse of struct nameidata.

Pointed by: Eivind Eklund

24 years agoRemove incorrect section name. Terminate .Bl with .El.
Philippe Charnier [Sat, 27 Nov 1999 17:15:51 +0000 (17:15 +0000)]
Remove incorrect section name. Terminate .Bl with .El.

24 years agoRemove incorrect section name.
Philippe Charnier [Sat, 27 Nov 1999 17:13:08 +0000 (17:13 +0000)]
Remove incorrect section name.

24 years agoName of program and trailing \n will be added by syslog(3)
Philippe Charnier [Sat, 27 Nov 1999 17:11:55 +0000 (17:11 +0000)]
Name of program and trailing \n will be added by syslog(3)

24 years agoUse DIAGNOSTICS instead of incorrect section name
Philippe Charnier [Sat, 27 Nov 1999 17:10:35 +0000 (17:10 +0000)]
Use DIAGNOSTICS instead of incorrect section name

24 years agoRemove incorrect section name
Philippe Charnier [Sat, 27 Nov 1999 17:09:14 +0000 (17:09 +0000)]
Remove incorrect section name

24 years agoAdd section name to .Xr references.
Philippe Charnier [Sat, 27 Nov 1999 17:07:59 +0000 (17:07 +0000)]
Add section name to .Xr references.

24 years agoRemove incorrect section name. Incomplete -Wall cleaning.
Philippe Charnier [Sat, 27 Nov 1999 17:06:40 +0000 (17:06 +0000)]
Remove incorrect section name. Incomplete -Wall cleaning.

24 years agocall ata_reinit in addump trying to make sure the dump will succed,
Søren Schmidt [Sat, 27 Nov 1999 17:06:10 +0000 (17:06 +0000)]
call ata_reinit in addump trying to make sure the dump will succed,
also check for errors underways, and make it possible to abort the
dump by hitting a key.

24 years agoDo not repeat the name of the flag. Change alloc to allocate for better
Philippe Charnier [Sat, 27 Nov 1999 17:05:08 +0000 (17:05 +0000)]
Do not repeat the name of the flag. Change alloc to allocate for better
spelling of printed messages.

24 years agoDisable on x86 since it conflicts with PNPBIOS.
Doug Rabson [Sat, 27 Nov 1999 17:03:08 +0000 (17:03 +0000)]
Disable on x86 since it conflicts with PNPBIOS.

24 years agoMerge fprintf and exit into errx.
Philippe Charnier [Sat, 27 Nov 1999 17:03:07 +0000 (17:03 +0000)]
Merge fprintf and exit into errx.
Use .Ev for environment variable.

24 years ago.Fn -> .Xr
Philippe Charnier [Sat, 27 Nov 1999 16:59:06 +0000 (16:59 +0000)]
.Fn -> .Xr
Do not start warn() message with uppercase.

24 years ago.Nm corrections
Philippe Charnier [Sat, 27 Nov 1999 16:57:27 +0000 (16:57 +0000)]
.Nm corrections

24 years agoTerminate .Bl with .El
Philippe Charnier [Sat, 27 Nov 1999 16:55:50 +0000 (16:55 +0000)]
Terminate .Bl with .El

24 years agoImplement linux_ustat.
Marcel Moolenaar [Sat, 27 Nov 1999 16:55:14 +0000 (16:55 +0000)]
Implement linux_ustat.

Reviewed by: bde

24 years agoRemove incorrect section name. Use .Pa or .Ar instead of .Em.
Philippe Charnier [Sat, 27 Nov 1999 16:54:36 +0000 (16:54 +0000)]
Remove incorrect section name. Use .Pa or .Ar instead of .Em.

24 years agoPut file names under .Pa.
Philippe Charnier [Sat, 27 Nov 1999 16:52:41 +0000 (16:52 +0000)]
Put file names under .Pa.

24 years agoChange prototype of linux_ustat.
Marcel Moolenaar [Sat, 27 Nov 1999 16:50:54 +0000 (16:50 +0000)]
Change prototype of linux_ustat.