Commit Graph

38437 Commits

Author SHA1 Message Date
jmz
62b04b83d2 Fix typo in dump reporting
PR:		bin/10573
Submitted by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
1999-05-24 00:35:47 +00:00
jb
5dc5dd6c49 Remove the test for bdevsw(dev) == NULL from bdevvp() because it fails
if there is no character device associated with the block device. In this
case that doesn't matter because bdevvp() doesn't use the character
device structure.

I can use the pointy bit of the axe too.
1999-05-24 00:34:10 +00:00
jb
193d6e9bf9 - Make setroot() conditional on FFS etc, to avoid a compiler warning
on systems with no FFS.
- Remove all references to mfs from cpu_rootconf(). mfs_init is
  called prior to cpu_rootconf(), so it can set mountrootfsname to mfs
  and (more imporantly) set rootdev using the (bogus in Bruce's opinion)
  special major number of 255.
1999-05-24 00:30:49 +00:00
jb
0e5212b792 - Back out Luoqi's cdevsw stuff. It panics on my system and is not required.
- Fix an error message.
- Do the MFS_ROOT setting of mountrootfsname in mfs_init() instead of
  cpu_rootconf().
- Set rootdev in mfs_init instead of later in mfs_mount() iff MFS_ROOT.
1999-05-24 00:27:12 +00:00
imp
3aec1640df getopt(3) returns -1 not EOF. 1999-05-23 23:24:26 +00:00
imp
d0b3d805b4 Getopt(3) returns -1 not EOF. 1999-05-23 23:18:38 +00:00
imp
52fa104235 Getopt(3) returns -1, not EOF. 1999-05-23 23:17:28 +00:00
roger
6657154218 Added rgb_vbi_prog() to capture VBI data and video at the
same time. To capture VBI data, /dev/vbi must be opened
before starting video capture.
A partly on code from Hiroki Mori <mori@infocity.co.jp>
1999-05-23 21:40:51 +00:00
brian
66a6cb8739 Use RELENG_3 as an example, not RELENG_2_2. 1999-05-23 20:01:20 +00:00
gibbs
95e29ded40 Rely on the statistics in XPT_GDEV_STATS instead of the versions still
retained in XPT_GDEV_TYPE for binary compatibility.  Mark the legacy
structure values for removal when we bump the major CAM revision.
1999-05-23 18:57:29 +00:00
gibbs
9b2b6e4e60 Don't reference our SCB until we have validated that the firmware has
returned an SCB that is in range.
1999-05-23 18:55:58 +00:00
gibbs
c86e0744cb Poll for interrupts in bt_cmd in case they are masked. A completing
mailbox command will block the completion of an immediate command,
so we must service them for our command to succeed.

PR: 11799
1999-05-23 18:54:34 +00:00
obrien
dc18e04b98 Get case right in "COMPAT3X".
Submitted by:	Kevin Street <street@iname.com>
1999-05-23 17:57:23 +00:00
jmz
6a83da626f xargs was spliting the input in a very different way from everyone else,
and was also a bit inconsistent: leading blanks, or any double blanks
generated empty arguments, but a trailing blank did not.

PR:		bin/2630, bin/10914
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>
1999-05-23 15:58:22 +00:00
brian
9f3c1a9bd4 brucify
Mentioned by: sprice@hiwaay.net
1999-05-23 13:52:05 +00:00
dfr
d29ad2b6b2 Use the correct width integer on both i386 and alpha.
Reviewed by: Steve Price <sprice@hiwaay.net>
1999-05-23 13:43:04 +00:00
peter
e29941bde7 Don't reference non-existant ATAPI option..
PR:		11814
Submitted by:	Sheldon Hearn <sheldonh@uunet.co.za>
1999-05-23 11:11:31 +00:00
jb
46db87a1e4 Fix a problem with static initialisation of mutexes and condition
variables.

Submitted by: Dan Eischen <eischen@vigrid.com>
1999-05-23 10:55:33 +00:00
jb
3162b42ed3 Make MFS_ROOT work again. MFS_ROOT means that rootdev is not set.
Broken by: phk
Problem ignored by: phk
1999-05-23 10:51:33 +00:00
obrien
d85ebd29d2 Install g2c.h header incase others want to call libg2c from C.
Submitted by:	Steve
1999-05-23 10:02:46 +00:00
jb
607daee4a1 Add a missing backslash from the last commit. (Broke installworld) 1999-05-23 02:11:41 +00:00
jmz
664ece1203 Construct the profile file name from the name of the executable. A program
compiled with -pg and run will generate a file <executable-filename>.gmon,
not gmon.out.

PR:		bin/8426
1999-05-23 00:37:56 +00:00
jmz
e7d8972c4b Initialize exit code so that the program exits with code 0 on success.
PR:		bin/10904
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
1999-05-22 22:56:26 +00:00
gibbs
fefdc92622 Add the amd driver. 1999-05-22 22:10:07 +00:00
gibbs
30dacb106a aic7xxx.c:
Honor the 'bus reset at startup' option now that the XPT properly
	handles transfer negotiation in this scenario.

	Honor the sync rate settings on Ultra2 controllers.  We would
	always negotiate at the fastest speed.  Oops.

aic7xxx.h:
	Whitespace.

aic7xxx.seq:
	Fix a minor nit that would cause the controller to miss the update
	of the negotiation required bitmask causing the negotiation to
	be delayed by a command.
1999-05-22 22:04:11 +00:00
gibbs
be248a4a64 Add a default async handler funstion to cam_periph.c to remove duplicated
code in all initiator type peripheral drivers.

scsi_target.c:
	Release ATIO structures that wind up in the 'unkown command queue'
	for consumption by our userland counterpart, back to the controller
	when the exception for that command is cleared.
1999-05-22 22:00:24 +00:00
gibbs
95dc85b099 Add the XPT_PATH_STATS and XPT_GDEV_STATS function codes. These ccb
types allow the reporting of error counts and other statistics.  Currently
we provide information on the last BDR or bus reset as well as active
transaction inforamtion, but this will be expanded as more information is
added to aid in error recovery.

Use the 'last reset' information to better handle bus settle delays.
Peripheral drivers now control whether a bus settle delay occurs and
for how long.  This allows target mode peripheral drivers to avoid
having their device queue frozen by the XPT for what shoudl only be
initiator type behavior.

Don't perform a bus reset if the target device is incapable of performing
transfer negotiation (e.g. Fiber Channel).

If we don't perform a bus reset but the controller is capable of transfer
negotiations, force negotiations on the first transaction to go to the
device.  This ensures that we aren't tripped up by a left over negotiation
from the prom, BIOS, loader, etc.

Add a default async handler funstion to cam_periph.c to remove duplicated
code in all initiator type peripheral drivers.

Allow mapping of XPT_CONT_TARGET_IO ccbs from userland.  They are
itentical to XPT_SCSI_IO ccbs as far as data mapping is concerned.
1999-05-22 21:58:47 +00:00
gibbs
e4dc7e4c0e First cut at a driver for the amd53c974 PCI SCSI host adapter. This
driver lacks error recovery and still needs more testing, but it's
about time I got it under revision control.

Submitted by:	 Tekram Inc.
Bus Space/DMA and cleanup: gibbs
1999-05-22 21:50:40 +00:00
dt
20219ea966 Don't call calcru() on a swapped-out process. calcru() access p_stats, which
is in U-area.
1999-05-22 20:10:31 +00:00
hoek
1dea181fa6 Use BINOWN and BINGRP (some people do change these...) 1999-05-22 19:38:04 +00:00
dfr
0ff387396e Port pnpinfo to alpha. 1999-05-22 17:35:48 +00:00
dfr
345a2a7d8e Cope with non page-aligned arguments to ioperm. 1999-05-22 17:35:04 +00:00
obrien
d833054363 I seem to be having some CVS problems... I don't know why this wasn't
commited with the Makefile fixes.  CVS/Entries clearly show it being added...
1999-05-22 16:21:47 +00:00
wpaul
97a90dc5c9 - Fix up some comments in if_wi.c (no code changes)
- Mention that the 6Mbps turbo adapters are supported in HARDWARE.TXT
  and RELNOTES.TXT and the wi.4 man page
- Mention turbo adapters in the wicontrol.8 man page and provide a
  complete table of available transmit speed settings
1999-05-22 16:12:54 +00:00
dfr
b22d4cf457 Use the resource apis to manipulate resources. 1999-05-22 15:47:34 +00:00
dfr
a9c1a3ee02 Don't use BUS_WRITE_IVAR to manipulate resources. 1999-05-22 15:45:47 +00:00
dfr
6f9e5e8541 * Factor out the common code between the isa bus drivers for i386 and alpha.
* Re-work the resource allocation code to use helper functions in subr_bus.c.
* Add simple isa interface for manipulating the resource ranges which can be
  allocated and remove the code from isa_write_ivar() which was previously
  used for this purpose.
1999-05-22 15:18:28 +00:00
dfr
cd70cc4f2c Add some helper functions to make it easier to write a driver for a bus
which needs to manage resources for its children.
1999-05-22 14:57:15 +00:00
rnordier
c7b7a58ae1 Fix a reference to the mysterious Mike Smisth. 1999-05-22 13:18:28 +00:00
rnordier
8d27cdc185 Include a table of disk error codes and a note about the cylinder >
1023 issue.
1999-05-22 12:55:16 +00:00
peter
90370ee007 Add seatbelt like in previous function.. 1999-05-22 09:52:21 +00:00
peter
5946d70b07 Recover from removing the last (unshared) interrupt handler.
PR:		11806
Submitted by:	Assar Westerlund <assar@sics.se>
1999-05-22 09:39:31 +00:00
bde
7334fbb11b Fixed style bugs in previous commit. 1999-05-22 08:36:55 +00:00
dfr
a1aaaa1a71 Fix a coredump when debugging corefiles from static programs. 1999-05-22 08:25:02 +00:00
bde
0db30d58c0 Fixed disordering in previous commit. 1999-05-22 07:54:38 +00:00
hoek
e5e1b432bc If we're going to do such a non-UNIX(tm)y thing as appending output
to a file instead of truncating, at least word the notice of output
redirection appropriately.
1999-05-22 06:57:22 +00:00
semenu
2247286928 Move arpcom structure be the first in softc structure. Needed
for ether_ioctl.

PR:   pending/11754
1999-05-22 06:10:14 +00:00
julian
fa6608381d Cosmetic changes to make it compile without errors in gcc -Wall 1999-05-22 04:43:04 +00:00
bde
610fa45a77 Restored rev.1.76 which was clobbered by rev.1.77. 1999-05-22 04:34:59 +00:00
obrien
d872cabe61 Remove `ix' driver. Justin Gibbs added support for the EtherExpress16 to
the `ie' driver in rev 1.41 of if_ie.c on 1997/04/14.  Thus retiring the
`ix' driver.

Forgotten by:	gibbs
1999-05-22 02:33:08 +00:00