Commit Graph

41593 Commits

Author SHA1 Message Date
Nick Hibma 271ef6615e Remove last bits and pieces of NetBSD porting.
Remove the use of ukbd_disconnect and replace it with direct
calls to disable.
Change printf to DPRINTF
Remove the use of usbd_lock, change it to splusb()/splx()
1999-10-07 18:53:08 +00:00
Nick Hibma dc73fb2b83 Remove the last bits and pieces left over from porting the driver
from NetBSD.
1999-10-07 18:50:46 +00:00
Jun Kuriyama 381d8f3644 Add COREGA EtherII PCC-T entry.
Submitted by:	KANAZAWA makoto <mako@tcn-catv.ne.jp>
PR:		conf/12650
1999-10-07 15:50:44 +00:00
Sheldon Hearn 49e11e3a66 Mdoc cleanup, with a few grammar cleanups on the side.
Reviewed by:	mpp
1999-10-07 13:56:43 +00:00
Marcel Moolenaar 210430fd8d Simplification of the signal trampoline and other cleanups.
o  Remove unused defines from genassym.c that were needed
   by the trampoline.
o  Add load_gs_param function to support.s that catches
   a fault when %gs is loaded with an invalid descriptor.
   The function returns EFAULT in that case.
o  Remove struct trapframe from mcontext_t and replace it
   with the list of registers.
o  Modify sendsig and sigreturn accordingly.

This commit contains a patch by bde.

Reviewed by: luoqi, jdp
1999-10-07 12:40:34 +00:00
Boris Popov f05e3aac6f Put back cn_namelen initialization. Removed by phk in rev 1.2. 1999-10-07 12:18:12 +00:00
Marcel Moolenaar a349d1bbfb I forgot this one :-(
ucontext_t is now actually compatible with struct sigcontext.

Discovered by: jdp
1999-10-07 09:03:17 +00:00
Alfred Perlstein 09ef98c6c0 sync with netbsd PR 8534, fix undefined C code.
Pointed out by: David A. Holland
1999-10-07 08:41:55 +00:00
Brian Somers 14e34a55c3 Don't go from datalink state opening directly to lcp, go via
carrier instead so that we can set up our carrier detect
timer and eventually notice when we lose carrier.

Honour the script.run value when coming out of carrier state.

PR:	14145
1999-10-07 07:32:12 +00:00
Mike Smith dbb1a3463c Add entries for the 'amrd' and 'mlxd' disk nodes used by the AMI MegaRAID
and Myles drivers respectively.
1999-10-07 02:37:04 +00:00
Mike Smith 6ac4727a3b Connect the 'amr' and 'mlx' drivers. They can be built as modules or
integrated into a static kernel as the user wishes.
1999-10-07 02:24:22 +00:00
Mike Smith d5a51e03e7 This is a driver for the AMI MegaRAID family of controllers. It all of
the AMI PCI controllers using the 8LD firmware interface (40LD firmware
will be supported as soon as I have hardware to test with).

These controllers are rebadged by Dell as the PERC, as well as by HP
and possibly other vendors.
1999-10-07 02:23:12 +00:00
Mike Smith 1ac4b82b11 This is a driver for the Mylex DAC960 family of integrated RAID
controllers.  It currently supports the P, PL, PD and PU variants,
with more to be supported shortly.
1999-10-07 02:20:32 +00:00
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