Commit Graph

43539 Commits

Author SHA1 Message Date
cg
56513d3951 conditionalise some warning messages
Submitted by:	Vladimir N.Silyaev <vns@delta.odessa.ua>
1999-12-05 20:25:29 +00:00
joe
fd40eb3b2f Fixed a potential buffer overflow problem, in the device name handling.
PR:		bin/15101
1999-12-05 20:05:45 +00:00
charnier
888a88628d Add extra columns for printing longer device name. 1999-12-05 20:04:56 +00:00
charnier
6e5dff908f 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
ec1e9f5da7 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
b5be253124 Switch over to using the generic joy driver 1999-12-05 20:02:19 +00:00
charnier
aa81b7c5f3 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
f425f4f0e2 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
72bc50ecf7 Do not dot terminate errx() strings. Add rcsid.
Document -d flag. Rework SYNOPSIS section
1999-12-05 19:53:37 +00:00
peter
9f51f6d128 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
495ead2cbe 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
ee3b1c9102 Add entry about updating of /dev being desirable. 1999-12-05 18:55:53 +00:00
peter
f9f64d6806 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
71801c7330 Fix LINT breakage. 1999-12-05 18:49:09 +00:00
peter
0c22f1b2eb 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
539acac482 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
51692517a6 Make '||' visible.
PR:		docs/15265
Submitted by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
1999-12-05 12:23:03 +00:00
cracauer
0dc63ece3e make '|' character visible.
PR:		docs/15265
Submitted by:	takamune@avrl.mei.co.jp
1999-12-05 12:13:54 +00:00
yokota
3cf86e6ea0 Fix cursor position calculation.
Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
1999-12-05 10:04:37 +00:00
phk
45099c93a9 A procfs mount is no longer needed for a jail. 1999-12-05 09:28:59 +00:00
yokota
23152230a8 Mention USB mouse support. 1999-12-05 07:54:43 +00:00
luoqi
ab7439ae06 Reinstate the aic driver.
PR:		conf/15187
1999-12-05 01:56:42 +00:00
wpaul
790eb024ac Add pci_if.h to SRCS so that dcphy will build. 1999-12-05 01:39:11 +00:00
deischen
7602128a1a 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
26557ed56e 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
e114352f65 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
cb722c95cf Grrrr. I knew I forgot something. Remove mxphy, add dcphy and pnphy. 1999-12-04 20:07:54 +00:00
wpaul
1de40f7c85 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
a98edd94ad Fix "subscript has type `char'" warnings by casting to int, as
discussed on -arch.
1999-12-04 17:12:47 +00:00
marcel
4dc09bb8c8 Properly align the columns of the header on Alpha. 1999-12-04 13:36:22 +00:00
kato
1c8518a980 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
c271537f67 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
098280898f 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
dd3c0f9041 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
374b493c6a Sync with sys/i386/i386/machdep.c revision up to 1.381. 1999-12-04 12:35:05 +00:00
marcel
a9e81acfc7 Bump the version number now that the Linuxulator has pluggable ioctl
handlers.
1999-12-04 11:42:29 +00:00
marcel
1acdbb89ae 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
e038f556a9 oszsigcode -> szosigcode
Pointed out by: bde
1999-12-04 10:53:39 +00:00
marcel
08cfab31b6 Fix type of sf_addr.
Pointed out by: bde
1999-12-04 10:40:24 +00:00
tanimura
d36692910d 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
ff0bfb5add 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
13fd686903 Call isspace() directly to get rid of an objectionable include. 1999-12-04 08:44:05 +00:00
julian
ca8e5bdfc1 forgot .CURDIR
caught by Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1999-12-04 03:52:29 +00:00
kris
bb8ff6789e 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
5675d09bcb 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
50f7c46e70 Document the .cvsrc "cvs" option for global options. 1999-12-04 02:15:30 +00:00
kris
b9285b7e34 Fix buffer overflow & add $FreeBSD$
Reviewed by:	imp
1999-12-04 02:11:51 +00:00
obrien
ae4c524a4b Add -q quite mode. 1999-12-04 01:29:43 +00:00
obrien
29b97917c7 Minor whitespace fix. 1999-12-04 01:27:51 +00:00
obrien
4a5497209a 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