Commit Graph

41480 Commits

Author SHA1 Message Date
Mike Smith
5c0b893d05 Be much more selective in claiming devices that might be IDE controllers.
The old algorithm was:

 if class == storage and subclass != SCSI device must be IDE

This results in claiming 'raid' and 'other' storage devices as IDE,
which is typically not the case.

Reviewed by:	sos
1999-10-07 02:17:21 +00:00
Mike Smith
f5ff1eca5e Re-synchronise the alpha major numbers list with the i386 list.
Add the Mylex DAC960 and AMI MegaRAID numbers.
1999-10-07 02:15:10 +00:00
Brian Somers
990a543f49 Mention the received/expected magic for dodgy ECHO LQRs. 1999-10-06 23:22:54 +00:00
John Hay
5cdfd8f709 Swap IOC_OUT and IOC_IN for the SETDIR macro. The linux ioctl read and
write bits are swapped.

Reviewed by:	luoqi, marcel
1999-10-06 19:51:37 +00:00
Alfred Perlstein
cb479b1136 Put the umount request through the same translation as the mount
request.
Fix some uninitialized warnings and a style bug while we are here.
Problem still exists where a failed umount can be misreported as
success.

Submitted by: Martin Blapp <mb@imp.ch>
1999-10-06 18:20:44 +00:00
Brian Somers
4085cc2dee 5 minutes == 300 seconds, not 600 !
Submitted by:	Robert Inder <R.Inder@ed.ac.uk>
1999-10-06 15:07:15 +00:00
Kazutaka YOKOTA
afa239de67 - Remove cdevsw_add(). 1999-10-06 13:03:09 +00:00
Kazutaka YOKOTA
5d5198c72f - Remove cdevsw_add().
- Call ttyregister() and make_dev() to register virtual terminals.
- Set nottystop to tp->t_stop.
1999-10-06 13:01:12 +00:00
Sheldon Hearn
a0468d95ed Do not misinterpret blank and comment lines as passwordless accounts.
PR:	13909
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-10-06 10:29:33 +00:00
Ruslan Ermilov
04bf7dcfeb Fixed the description of how packets re-enter IP firewall filter.
Suggested by:	Ari Suutari <ari@suutari.iki.fi>
1999-10-06 09:26:39 +00:00
Sheldon Hearn
9c6fde3cd3 Remove the description of the deprecated savecore_enable option,
which is no longer used.  Expand the description of the dumpdev
option accordingly.

PR:	14152
Reported by:	nrahlstr
1999-10-06 09:20:40 +00:00
Nick Hibma
03026827d2 Remove the inclusion of device.h. It's no longer there. 1999-10-06 07:45:30 +00:00
Poul-Henning Kamp
07d6a0622c Add $FreeBSD$.
Remove some minphys related cruft.
1999-10-06 07:26:48 +00:00
Nick Hibma
3e2c6ca3b9 Removal of sys/device.h
- Move intrhook stuff into kernel.h
- Remove all occurrences of #device <device.h>
- Add kernel.h were necessary (nowhere)
- delete device.h

This file contained the structures for cfdata (old style config) and is no
longer used. It was included by most drivers.

It confuses the remote debugger as the definition of 'struct device' in
device.h is found before the one in bus_private.h.
1999-10-05 21:19:41 +00:00
Nick Hibma
694e31f79d Attempt at cleaning up the (unused part of) support for TurboChannel to
remove the need for device.h.
1999-10-05 20:46:58 +00:00
Nick Hibma
921e109fe9 Add SLIST_HEAD_INITIALIZER for static initialisation of SLISTs. 1999-10-05 20:35:32 +00:00
Nick Hibma
d8add747ef Check whether init and term are actually given 1999-10-05 20:32:53 +00:00
Nick Hibma
d7576d81ca Add comment about the debugging flag 1999-10-05 20:30:21 +00:00
Nick Hibma
fc56bfd8a7 Print more verbose debugging output
Clean up computation of parameters.
1999-10-05 20:29:00 +00:00
Chris Piazza
0f3c23dbe2 o Fix some random spelling errors
o The capital of Quebec is Quebec or Quebec City
o Add Nunavut (capital is Iqaluit)

Reviewed by:	billf
Obtained from:	OpenBSD
1999-10-05 16:49:51 +00:00
David E. O'Brien
ca5065cd1f Fully document -q.
Restore original $Header$.
1999-10-05 15:20:45 +00:00
Marcel Moolenaar
732c957ce2 Undo previous change.
Submitted by: bde
1999-10-05 14:40:38 +00:00
Jordan K. Hubbard
0ec4416c55 Really fix the auto keyword botch correctly by just letting it
do its job and not override it when set.

Submitted by:		Ruslan Ermilov <ru@FreeBSD.org>
1999-10-05 10:10:42 +00:00
Greg Lehey
85e244dbfa Bring in line with reality. 1999-10-05 05:33:35 +00:00
Brian Somers
d2f5232de3 Bring links down gently when their throughput isn't enough for
the ``set autoload'' value.  Don't just ``down'' the link.
Don't get stuck in ``ready'' the first time we ``close'' a link.
1999-10-05 05:01:44 +00:00
Roger Hardiman
2a9394b156 Found and fixed FM radio mute bug
Submitted by:	Thomas Runge <runge@rostock.zgdv.de>
1999-10-05 01:49:43 +00:00
Marcel Moolenaar
c5c6b7b38e Re-introduction of sigcontext.
struct sigcontext and ucontext_t/mcontext_t are defined in such
a way that both (ie struct sigcontext and ucontext_t) can be
passed on to sigreturn. The signal handler is still given a
ucontext_t for maximum flexibility.

For backward compatibility sigreturn restores the state for the
alternate signal stack from sigcontext.sc_onstack and not from
ucontext_t.uc_stack. A good way to determine which value the
application has set and thus which value to use, is still open
for discussion.

NOTE: This change should only affect those binaries that use
      sigcontext and/or ucontext_t. In the source tree itself
      this is only doscmd. Recompilation is required for those
      applications.

This commit also fixes a lot of style bugs without hopefully
adding new ones.

NOTE: struct sigaltstack.ss_size now has type size_t again. For
      some reason I changed that into unsigned int.

Parts submitted by: bde
sigaltstack bug found by: bde
1999-10-04 19:33:58 +00:00
Marcel Moolenaar
a93fdaac21 Fix style bug.
Submitted by: bde
1999-10-04 18:29:51 +00:00
Ruslan Ermilov
6589cfd259 Recommend "secure-stable-supfile" instead of "secure-supfile". 1999-10-04 17:38:57 +00:00
Peter Wemm
693612eb0b Use the rev 1.1.2.1 code from RELENG_3 for atomic operations rather
than the non-atomic C macros.
1999-10-04 16:24:08 +00:00
Peter Wemm
b87104737a Typo: s/__GNUC_MINOR_/__GNUC_MINOR__/
(__GNUC_MINOR__ on egcs in -current is "91" and is going to be "95" soon)
1999-10-04 16:18:04 +00:00
Peter Wemm
fb45ca12a7 Fix: WARNING: "iic" is usurping "iic"'s cdevsw[] - the DEV_DRIVER_MODULE()
takes care of the cdevsw_add() - it doesn't need to be done twice.
1999-10-04 15:53:08 +00:00
Peter Wemm
56638eb686 Complete move of kvm.h to lib/libkvm so it's self contained. 1999-10-04 14:59:37 +00:00
Peter Wemm
6d77c2defa Add libkvm to the includes target. 1999-10-04 14:57:38 +00:00
Peter Wemm
59c9cd2bce Install <kvm.h> from here (after repo copy) so it's all in one package. 1999-10-04 14:56:04 +00:00
Sheldon Hearn
023fff94a5 The previous commit missed two unquoted variable expansions. This had
the unfortunate side-effect of breaking the security script for hosts
without kernel support for IPFW. Fix.

Reported by:	jhay
1999-10-04 14:54:34 +00:00
Marcel Moolenaar
576642ef6f Fix style bug: order includes
Submitted by: bde
1999-10-04 13:55:35 +00:00
Poul-Henning Kamp
9753e1c4c4 Introduce swopen to prevent blockdevice opens and insist on minor==0. 1999-10-04 13:09:30 +00:00
Poul-Henning Kamp
adab70d67a Warn once per driver about dev_t's not registered with make_dev(). 1999-10-04 12:33:05 +00:00
Poul-Henning Kamp
03bf3ccb9c Give the swap device a D_DISK flag against my better judgement.
TODO: add an open routing which fails for bdev opens.
1999-10-04 12:27:58 +00:00
Poul-Henning Kamp
662761a74b A little step further in the dev_t cleanups:
Refuse to register a bmajor if the D_DISK flag is not set in cdevsw.

A little bit of cleanup while here.
1999-10-04 11:42:41 +00:00
Poul-Henning Kamp
aa4f4b695e Move the buffered read/write code out of spec_{read|write} and into
two new functions spec_buf{read|write}.

Add sysctl vfs.bdev_buffered which defaults to 1 == true.  This
sysctl can be used to experimentally turn buffered behaviour for
bdevs off.  I should not be changed while any blockdevices are
open.  Remove the misplaced sysctl vfs.enable_userblk_io.

No other changes in behaviour.
1999-10-04 11:23:10 +00:00
Roger Hardiman
8657e599b3 Update Australian channel set and add Leadtek Winfast 2000 GPIO
values for audio.

Submitted by:	peter
1999-10-04 09:47:44 +00:00
Poul-Henning Kamp
6d7e938c46 be more consistent about passing the whole/raw dev_t to the driver 1999-10-04 09:28:36 +00:00
David E. O'Brien
362b2ba213 This commit was generated by cvs2svn to compensate for changes in r51922,
which included commits to RCS files with non-trunk default branches.
1999-10-04 08:17:54 +00:00
David E. O'Brien
04626017cb Virgin import of EGCS 1.1.2's libio -- the C++ iostream facility. 1999-10-04 08:17:54 +00:00
David E. O'Brien
1b66e37f0a This commit was generated by cvs2svn to compensate for changes in r51920,
which included commits to RCS files with non-trunk default branches.
1999-10-04 08:12:38 +00:00
David E. O'Brien
43d36c40e7 Virgin import of EGCS 1.1.2's libstdc++ 1999-10-04 08:12:38 +00:00
Poul-Henning Kamp
fd1976ec67 Remove unused B_FORMAT #define 1999-10-04 07:40:23 +00:00
Daniel Eischen
3c6967023c Change pnp ID for the SupraExpress 56i Sp V.90 modem (logical ID
0x8024b04e) so that the cards description is used instead of overriding
it.  While I'm here, add an ID for the SUP2080 and the SUP2030.

PR:		kern/13983
Submitted by:	Kurt D. Zeilenga <Kurt@OpenLDAP.Org> (SUP2030)
		dfr  (rest of change)
Reviewed by:	dfr
1999-10-03 22:25:19 +00:00