Commit Graph

43438 Commits

Author SHA1 Message Date
joe
3955613d85 Fixed a potential buffer overflow problem, in the device name handling.
PR:		bin/15101
1999-12-05 20:05:45 +00:00
charnier
59ba729c30 Add extra columns for printing longer device name. 1999-12-05 20:04:56 +00:00
charnier
f585d4fa84 Minimal use of .Ar and .Nm.
Add section number to .Xr reference.
Add DIAGNOSTICS section name.
Remove unused #includes.
Be consistant in the parsing of flags and add missing option in usage string.
Add rcsid.
1999-12-05 20:03:22 +00:00
wpaul
c32cda93bb Modify the Adaptec "starfire" driver to reset the PHY on the MII bus
before selecting a mode. The Seeq PHY chips on the Adaptec cards that
use the AIC-6915 controller seem to need it in order to get them to
change modes correctly.

This corrects a problem that I noticed where my ANA-62022 board failed
to correctly program the full duplex bit in the macconfig1 register
when the interface was brought up. Running ifconfig sf0 would mask this
problem in some cases because polling the PHY status would cause the
miibus code to notice that full duplex was now needed and the statchg
callback would be invoked to configure the duplex setting. However it
would still get it wrong other times.

Also changed sf_miibus_statchg() to program the IPG register to match
the duplex setting in accordance with Adaptec manual's recommendations
(0x15 for full duplex, 0x11 for half duplex).
1999-12-05 20:02:45 +00:00
peter
1dab24f283 Switch over to using the generic joy driver 1999-12-05 20:02:19 +00:00
charnier
c8780c9c32 Typo. Standard list of flag
Add ``c89: '' in front of error messages to be errx()-like.
1999-12-05 20:01:28 +00:00
charnier
345f916537 Correct use of .Nm, .Em, .Ev
Add rcsid. Use errx instead of fprintf + exit.
Various spelling fixes.
1999-12-05 19:57:14 +00:00
charnier
8b03354e30 Do not dot terminate errx() strings. Add rcsid.
Document -d flag. Rework SYNOPSIS section
1999-12-05 19:53:37 +00:00
peter
559cff8635 newbusify and port the joy driver to the Alpha. It now attaches to the
joystick port on PnP sound cards that have a suitable device ID on them.

Doug Rabson added timer code so it didn't have to beat on the isa timer.

Submitted by:   Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
1999-12-05 19:51:40 +00:00
cg
06117a9159 fix dma underrun issues
mutate some panics to kasserts
add more spl protection

PR:		kern/14990
Partially Submitted by:	Vladimir N.Silyaev <vns@delta.odessa.ua>
Reviewed by:	dfr
1999-12-05 19:09:13 +00:00
phk
e1102a476c Add entry about updating of /dev being desirable. 1999-12-05 18:55:53 +00:00
peter
83279a6a1d Raise the pci compat driver match priority a bit so that it's not
quite so close to the chip* drivers.
1999-12-05 18:50:22 +00:00
archie
97274880ad Fix LINT breakage. 1999-12-05 18:49:09 +00:00
peter
a825f3e9ea Lower (a lot!) the chip* probe so it doesn't steal the pci ID from
ide_pci which still uses the pci driver compat shims.
1999-12-05 18:46:33 +00:00
dfr
d2ed1bf3b6 Don't use a bogus bus number for Ross host-pci bridges.
PR:	kern/15278
Submitted by: Ahmed Benani <ahmed_benani@urbanet.ch>
1999-12-05 18:41:34 +00:00
cracauer
40718257bf Make '||' visible.
PR:		docs/15265
Submitted by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
1999-12-05 12:23:03 +00:00
cracauer
afc2bd855c make '|' character visible.
PR:		docs/15265
Submitted by:	takamune@avrl.mei.co.jp
1999-12-05 12:13:54 +00:00
yokota
c37843e934 Fix cursor position calculation.
Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
1999-12-05 10:04:37 +00:00
phk
13f3486dd2 A procfs mount is no longer needed for a jail. 1999-12-05 09:28:59 +00:00
yokota
c391ab267b Mention USB mouse support. 1999-12-05 07:54:43 +00:00
luoqi
9fd208b74c Reinstate the aic driver.
PR:		conf/15187
1999-12-05 01:56:42 +00:00
wpaul
f4b8a56042 Add pci_if.h to SRCS so that dcphy will build. 1999-12-05 01:39:11 +00:00
deischen
7f8a2b1734 Make work for sigset_t change. Also modify tests to account for
recent changes to signal handling.
1999-12-05 00:48:53 +00:00
deischen
795e5a14ec Change signal handling to conform to POSIX specified semantics.
Before this change, a signal was delivered to each thread that
didn't have the signal masked.  Signals also improperly woke up
threads waiting on I/O.  With this change, signals are now
handled in the following way:

  o If a thread is waiting in a sigwait for the signal,
    then the thread is woken up.

  o If no threads are sigwait'ing on the signal and a
    thread is in a sigsuspend waiting for the signal,
    then the thread is woken up.

  o In the case that no threads are waiting or suspended
    on the signal, then the signal is delivered to the
    first thread we find that has the signal unmasked.

  o If no threads are waiting or suspended on the signal,
    and no threads have the signal unmasked, then the signal
    is added to the process wide pending signal set.  The
    signal will be delivered to the first thread that unmasks
    the signal.

If there is an installed signal handler, it is only invoked
if the chosen thread was not in a sigwait.

In the case that multiple threads are waiting or suspended
on a signal, or multiple threads have the signal unmasked,
we wake up/deliver the signal to the first thread we find.
The above rules still apply.

Reported by:	Scott Hess <scott@avantgo.com>
Reviewed by:	jb, jasone
1999-12-04 22:55:59 +00:00
luoqi
d59911ee91 Disconnect and tagged queueing now really work. Also fix a bug that's
causing problems to slow devices.
1999-12-04 22:15:02 +00:00
wpaul
19f112ec6a Grrrr. I knew I forgot something. Remove mxphy, add dcphy and pnphy. 1999-12-04 20:07:54 +00:00
wpaul
cdd3a692fe Add the if_dc driver and remove all of the al, ax, dm, pn and mx drivers
which it replaces. The new driver supports all of the chips supported
by the ones it replaces, as well as many DEC/Intel 21143 10/100 cards.

This also completes my quest to convert things to miibus and add
Alpha support.
1999-12-04 17:41:31 +00:00
cracauer
46e40e0c76 Fix "subscript has type `char'" warnings by casting to int, as
discussed on -arch.
1999-12-04 17:12:47 +00:00
marcel
e603564411 Properly align the columns of the header on Alpha. 1999-12-04 13:36:22 +00:00
kato
8931340216 The address 0x472 is used for the SCSI HDD geometry information on
PC-98.  Therefore, the PC-98 kernel should not modify it.
1999-12-04 13:09:26 +00:00
marcel
21fa6c8d36 Override PERL and FULLPERL to be just "perl". This prevents MakeMaker
(ie Makefile.PL) from creating makefiles that explicitly use the perl
from the object tree. It breaks cross-building. While I'm here, create
a variable that holds common MakeMaker arguments used by all targets,
and by doing so automaticly fixed a bug.

Approved by: markm
1999-12-04 13:01:21 +00:00
marcel
b5230160e7 Add miniperlmain.c to CLEANFILES and remove a second instance of
config_h.sh

Not objected to by: markm
1999-12-04 12:40:38 +00:00
marcel
43f39f8759 When a Makefile.PL is evaluated in a subdirectory (ext/SDBM_Files/sdbm)
do not prepend '../' to PERL and FULLPERL. It breaks cross-building.

Approved by: markm
1999-12-04 12:35:56 +00:00
nyan
4740a52e25 Sync with sys/i386/i386/machdep.c revision up to 1.381. 1999-12-04 12:35:05 +00:00
marcel
f17cd477d0 Bump the version number now that the Linuxulator has pluggable ioctl
handlers.
1999-12-04 11:42:29 +00:00
marcel
ab78406859 Implement pluggable ioctl handlers.
Other modules can register and unregister ioctl handlers to extend the
ioctls known by the Linuxulator. A recent application is the vmware
port. The Linuxulator itself uses the new interface to register its
handlers as well. Handlers for the following types of ioctls have been
defined:
	cdrom
	console (=keyboard and VT handling)
	socket
	sound
	termio

All ioctl related defines and declarations have been moved to a new
file (linux_ioctl.h), except for the pluggable ioctl handler interface
definition.

While there, cleanup linux.h some more.

linux.h and linux_ioctl.[ch] have been made to conform to style(9) as
much as possible.

Inspired and reviewed by: Vladimir N. Silyaev
1999-12-04 11:10:22 +00:00
marcel
7abb3f060e oszsigcode -> szosigcode
Pointed out by: bde
1999-12-04 10:53:39 +00:00
marcel
404e06a7ba Fix type of sf_addr.
Pointed out by: bde
1999-12-04 10:40:24 +00:00
tanimura
07a453ccf2 Add the logical ID of ViBRA16CL PNP on Micron Millenium II motherboards.
PR:		kern/15243
Submitted by:	Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1999-12-04 10:13:17 +00:00
tanimura
e7bbc71094 Call ISA_PNP_PROBE() to probe PnP cards, rather than match
the vendor and logical IDs directly.

Submitted by:	peter
Tested by:	Timo Geusch <freebsd@timog.prestel.co.uk>
1999-12-04 09:51:24 +00:00
obrien
4dbe46020b Call isspace() directly to get rid of an objectionable include. 1999-12-04 08:44:05 +00:00
julian
10d513e35c forgot .CURDIR
caught by Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1999-12-04 03:52:29 +00:00
kris
ca7199ffd8 The -s option was broken (missing braces around an else clause).
Noticed by:	Thomas Stromberg <tstromberg@rtci.com>
Obtained from:	OpenBSD
1999-12-04 03:19:15 +00:00
kris
3e5c0ef8dc Fix off-by-one error leading to a segfault.
Noticed by:	Thomas Stromberg <tstromberg@rtci.com>
1999-12-04 02:19:33 +00:00
peter
370aed25b5 Document the .cvsrc "cvs" option for global options. 1999-12-04 02:15:30 +00:00
kris
885348587c Fix buffer overflow & add $FreeBSD$
Reviewed by:	imp
1999-12-04 02:11:51 +00:00
obrien
b6b57faeef Add -q quite mode. 1999-12-04 01:29:43 +00:00
obrien
27b8e11386 Minor whitespace fix. 1999-12-04 01:27:51 +00:00
obrien
63450d9255 Support the environtmental var "CVS_OPTIONS". Which can hold a set of
default options for cvs.  These options are interpreted first and can be
overwritten by explicit command line parameters.

Obtained from:	GNU Grep 2.3
1999-12-04 01:23:26 +00:00
mjacob
6d5159c517 Add back in a prefatory TUR when the tape is *not* mounted. This seems
to help with some older tape drives.
1999-12-04 01:13:59 +00:00