Commit Graph

41643 Commits

Author SHA1 Message Date
phk
285482d393 Add $FreeBSD$.
Remove some minphys related cruft.
1999-10-06 07:26:48 +00:00
n_hibma
279ad30025 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
n_hibma
2ab0ef31d0 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
n_hibma
bb81fe9371 Add SLIST_HEAD_INITIALIZER for static initialisation of SLISTs. 1999-10-05 20:35:32 +00:00
n_hibma
389798d4c2 Check whether init and term are actually given 1999-10-05 20:32:53 +00:00
n_hibma
14e65b0dbb Add comment about the debugging flag 1999-10-05 20:30:21 +00:00
n_hibma
cbeed38584 Print more verbose debugging output
Clean up computation of parameters.
1999-10-05 20:29:00 +00:00
cpiazza
982ef3a773 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
obrien
1d7ec327c1 Fully document -q.
Restore original $Header$.
1999-10-05 15:20:45 +00:00
marcel
d990c1400b Undo previous change.
Submitted by: bde
1999-10-05 14:40:38 +00:00
jkh
244183965b 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
grog
97f1a629a6 Bring in line with reality. 1999-10-05 05:33:35 +00:00
brian
14fd42d30d 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
3e0b9be4c8 Found and fixed FM radio mute bug
Submitted by:	Thomas Runge <runge@rostock.zgdv.de>
1999-10-05 01:49:43 +00:00
marcel
05e89da65f 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
7780296019 Fix style bug.
Submitted by: bde
1999-10-04 18:29:51 +00:00
ru
add16d0af3 Recommend "secure-stable-supfile" instead of "secure-supfile". 1999-10-04 17:38:57 +00:00
peter
556bfe0799 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
fb976dbce4 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
4d689ed6f4 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
45a8689a21 Complete move of kvm.h to lib/libkvm so it's self contained. 1999-10-04 14:59:37 +00:00
peter
272affc407 Add libkvm to the includes target. 1999-10-04 14:57:38 +00:00
peter
aa72d76380 Install <kvm.h> from here (after repo copy) so it's all in one package. 1999-10-04 14:56:04 +00:00
sheldonh
88b54a2b95 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
706dbd2d85 Fix style bug: order includes
Submitted by: bde
1999-10-04 13:55:35 +00:00
phk
ff20b1e15d Introduce swopen to prevent blockdevice opens and insist on minor==0. 1999-10-04 13:09:30 +00:00
phk
a8e22c41f5 Warn once per driver about dev_t's not registered with make_dev(). 1999-10-04 12:33:05 +00:00
phk
1c8b44f4ce 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
phk
3566fbdb67 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
phk
8b06d6a2fb 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
32722204f7 Update Australian channel set and add Leadtek Winfast 2000 GPIO
values for audio.

Submitted by:	peter
1999-10-04 09:47:44 +00:00
phk
35c2a19032 be more consistent about passing the whole/raw dev_t to the driver 1999-10-04 09:28:36 +00:00
obrien
905fc76f35 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
obrien
55f2f61a7b Virgin import of EGCS 1.1.2's libio -- the C++ iostream facility. 1999-10-04 08:17:54 +00:00
obrien
b9cf96069d 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
obrien
2cef6469c5 Virgin import of EGCS 1.1.2's libstdc++ 1999-10-04 08:12:38 +00:00
phk
65f7b2e95b Remove unused B_FORMAT #define 1999-10-04 07:40:23 +00:00
deischen
22eb72a42c 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
eivind
f53ad097bb Allow compilation with older versions of GCC, in order to make it possible
to bootstrap and work with -current from older versions of FreeBSD.
1999-10-03 21:15:25 +00:00
gallatin
9a5996a307 A band-aid to prevent multi-hose alpha chipsets (aka tsunami) from
panic'ing because the hose is not filled in.  We should probably extend the
pciioctl interface to take hoses into account..
1999-10-03 21:09:30 +00:00
n_hibma
b7c59a09dd Change from using a dv_xname in struct device to using
device_get_nameunit().

Remove including of device.h
1999-10-03 20:33:43 +00:00
n_hibma
25dbf33c26 Check for a valid irq number before calling BUS_SETUP_INTR.
Requested-By:	msmith
1999-10-03 20:23:25 +00:00
green
0a7a70c712 Nuke the FIODTYPE compatibility bits. It's time. 1999-10-03 18:49:51 +00:00
deischen
ca2541a602 Add logical device ID for the Diamond SupraExpress 56K PnP modem:
Vendor ID SUP2480 (0x8024b04e), Serial Number 0x00001334
  PnP Version 1.0, Vendor Version 0
  Device Description: SupraExpress 56i Sp V.90

Reviewed by:	dfr
1999-10-03 17:50:09 +00:00
obrien
ef4ed42c63 Detect CTL0044 & CTL0045 as "Creative AWE64 PnP" rather than "SB16 PnP".
Reviewed by:	dfr
1999-10-03 17:45:54 +00:00
marcel
9b3d962f73 Link ucontext.h to sys/ucontext.h
Pointed out by: bde
1999-10-03 15:12:26 +00:00
dcs
5992d5ff21 Revert to 1.15, since, as pointed out by bde, 1.16 is wrong and evil.
Add $FreeBSD$.
1999-10-03 13:38:53 +00:00
marcel
60831e2cbb Reinstate the 4th argument to old signal handlers. Don't set it
when the handler uses siginfo_t.
1999-10-03 13:04:17 +00:00
marcel
ba5e4c816c Fix style bugs caused by using the wrong file to copy from. That one
gets fixed later on.

Reinstate the mysterious 4th argument to signal handlers and add some
comments on that.
1999-10-03 12:55:58 +00:00
phk
322edeeaa9 Before we start to mess with the VFS name-cache clean things up a little bit:
Isolate the namecache in its own file, and give it a dedicated malloc type.
1999-10-03 12:18:29 +00:00