Commit Graph

31431 Commits

Author SHA1 Message Date
Justin T. Gibbs 83cf1450a1 Conver the DPT driver to CAM. The dpt_control interface is not yet
functional, but will be in another day or so.
1998-09-15 08:33:38 +00:00
KATO Takenori 7b2c5bd263 Deleted DDB and DIAGNOSTIC options. 1998-09-15 08:25:09 +00:00
Poul-Henning Kamp 1820df7a2d Add new files for HARP3
Host ATM Research Platform (HARP), Network Computing Services, Inc.
This software was developed with the support of the Defense Advanced
Research Projects Agency (DARPA).
1998-09-15 08:23:17 +00:00
Justin T. Gibbs 06915ea69a Revive PCIConf.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
1998-09-15 08:21:13 +00:00
Justin T. Gibbs 8d2fbde504 Update system to new device statistics code.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
1998-09-15 08:16:45 +00:00
Justin T. Gibbs 7a59208d92 New Kernel device statistics code.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
1998-09-15 08:16:17 +00:00
Justin T. Gibbs b2dfb1f906 Update system to new device statistics code.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
		mike@smith.net.au (Mike Smith)
1998-09-15 08:15:30 +00:00
Justin T. Gibbs 20bf9a142c Updated the ch(4) driver and chio(1) command to include volume
tag support.  These changes have been tested with a Breeze Hill
Q47 DLT and a DEC DLT2500 media changer.  The latter has no
volume tag support.

The chio(1) command was updated to include various flags to the
status subcommand.  These flags can be used to select additional
information to be displayed (like volume tags).

A new chio(1) subcommand named 'voltag' has been added which allows
for changes to volume tags inside the media changer controller.
This could not be tested as the Q47 does not provide the functio-
nality.

Submitted by:	Hans Huebner
1998-09-15 07:48:51 +00:00
Justin T. Gibbs 7004be9b34 Hook up beforeinstall targets for libcam and libdevstat 1998-09-15 07:46:17 +00:00
Justin T. Gibbs 5d55526b65 Adaptec 154X SCSI-Host Adapter driver for CAM.
Submitted by:	Warner Losh <imp@village.org>
1998-09-15 07:39:55 +00:00
Andrzej Bialecki 7b98b31542 Change name of 'dm' to 'msg'. As Bruce noticed, it conflicts with
dungeon master, if anyone would like to play it on picobsd floppy... :-)

Noticed by:	bde
1998-09-15 07:35:58 +00:00
Justin T. Gibbs 532abf3b7a Mylex/Buslogic MultiMaster SCSI-Host Adapter Driver for CAM. 1998-09-15 07:32:57 +00:00
Justin T. Gibbs 4530878e33 Move to new name, convert to CAM, add support for new chips, and
correct lots of eeprom/auto-termination bugs.
1998-09-15 07:25:33 +00:00
Justin T. Gibbs ccb21a77fb Move to new name and convert to CAM. 1998-09-15 07:24:58 +00:00
Justin T. Gibbs 3bafc9d432 Massive overhaul of the aic7xxx driver:
- Convert to CAM
 - Use a new DMA based queuing and paging scheme
 - Add preliminary target mode support
 - Add support for the aic789X chips
 - Take advantage of external SRAM on more controllers.
 - Numerous bug fixes and performance improvements.
1998-09-15 07:24:17 +00:00
Justin T. Gibbs 44de612bd0 Adaptec 174x EISA SCSI Host Adapter driver for CAM. 1998-09-15 07:10:00 +00:00
Justin T. Gibbs 07c20e11f7 EISA bus attachment for the AdvanSys driver. 1998-09-15 07:05:39 +00:00
Justin T. Gibbs a5a2d1bfe9 Advance Systems SCSI Host Adapter driver for CAM. Currently only support
the 8bit SCSI AdvanSys products.
1998-09-15 07:03:43 +00:00
Justin T. Gibbs c61d88e026 Man page describing the in kernel device statistics routines.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
1998-09-15 06:49:18 +00:00
Justin T. Gibbs 9875eecf53 SCSI Target userland process example. Provides/Dumps the data related to
RECEIVE/SEND processor target requests to the "targ" sample target mode
driver.
1998-09-15 06:46:32 +00:00
Justin T. Gibbs 525689f102 Camcontrol - A utility for configuring/manipulating the CAM subsystem
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
1998-09-15 06:43:02 +00:00
Justin T. Gibbs 76babe507b SCSI Peripheral drivers for CAM:
da	- Direct Access Devices (disks, optical devices, SS disks)
	cd	- CDROM (or devices that can act like them, WORM, CD-RW, etc)
	ch	- Medium Changer devices.
	sa	- Sequential Access Devices (tape drives)
	pass	- Application pass-thru driver
	targ	- Target Mode "Processor Target" Emulator
	pt	- Processor Target Devices (scanners, cpus, etc.)

Submitted by:	The CAM Team
1998-09-15 06:36:34 +00:00
Justin T. Gibbs 8b8a9b1d3e CAM Transport Layer (XPT).
Submitted by:	The CAM Team
1998-09-15 06:33:23 +00:00
Justin T. Gibbs 28fb27ba21 Device statistics library. Used by iostat, vmstat, and systat to
format and analyze the output of the new device statistics sysctls.

Submitted by:	"Kenneth D. Merry" <ken@FreeBSD.org>
1998-09-15 06:23:21 +00:00
Justin T. Gibbs e82ea42037 I hate late night commits. These should be nuked from the atticy by
the CVS meister.
1998-09-15 06:20:29 +00:00
Justin T. Gibbs f736a45077 CAM userland utility library, a replacement for libscsi.
Submitted by: "Kenneth D. Merry" <ken@FreeBSD.org>
1998-09-15 06:16:46 +00:00
David E. O'Brien fc936cbd13 Revert to rev 1.41.
Some didn't like it.
1998-09-15 05:24:01 +00:00
David E. O'Brien 3e032f2a0f Document root.wheel. 1998-09-15 05:11:47 +00:00
Jordan K. Hubbard ce53af5399 Restore default implict behavior of running the all target we had before. 1998-09-15 05:10:17 +00:00
KATO Takenori 76c468f222 Sync with sys/i386/i386/machdep.c revision up to 1.309. 1998-09-15 03:50:08 +00:00
KATO Takenori c17091756f Sync with sys/i386/confMakefile.i386 revision 1.122. 1998-09-15 03:49:43 +00:00
Mike Smith 0dd47c30aa Remove (wrong) OBJFORMAT setting. 1998-09-15 02:30:22 +00:00
Garrett Wollman 75a21a3859 Replace accidentally-deleted `x' which caused warnx() to misbehave. 1998-09-15 01:49:32 +00:00
Joseph Koshy 6e2affc98f Correct a typo that I noticed. 1998-09-15 00:24:19 +00:00
John Polstra c284427561 Remove includes that are no longer needed, now that the core dumping
code has been moved into the respective imgact_xxx.c sources.
1998-09-14 23:25:18 +00:00
John Polstra e8f80c1aca Fix GDB so that it can handle ELF core dumps. 1998-09-14 22:49:02 +00:00
John Polstra 8c64af4f75 Viola! The kernel now generates standard ELF core dumps for ELF
executables.

Currently only data and stack are included in the core dumps.  I am
looking into adding the other (mmapped) writable segments as well.
1998-09-14 22:46:08 +00:00
John Polstra 1a291e0cd4 Add new functions fill_fpregs() and set_fpregs(), like fill_regs()
and set_regs() but for the floating point register state.  The code
is stolen from procfs_machdep.c, and moved out of there into
machdep.c.

These functions are needed for generating ELF core dumps.
1998-09-14 22:43:40 +00:00
Brian Somers 011ee1102f Remove Id keywords from files that are still on the vendor branch
This will make life easier when upgrading.
Suggested by:	bde
1998-09-14 22:11:37 +00:00
Warner Losh b8a328fc74 o use strncpy safely
o Only allow options and domain name to be set when we aren't running
  setuid.

Obtained from: OpenBSD
1998-09-14 21:13:06 +00:00
John Polstra 4f7bdec1e8 Bring core-regset.c back to life. It is needed for handling ELF
core dumps.
1998-09-14 20:53:47 +00:00
Andrzej Bialecki a7b8849df2 Make use of the new 'dm' utility instead of standard 'dmesg'. 1998-09-14 20:39:34 +00:00
Warner Losh 94ad719cf4 Add reallocf to the library. This function is simliar to realloc, but
when it returns NULL to indicate failure, it will also free the memory
that was passed to it, if that was non-null.

This does not change the semantics of realloc.

A second commit will be done to commit the conversion of those places in
the code that can safely use this to avoid memory leaks when confronted
with low memory situations.

Beaten-to-death-but-finally-approved-in: -current
1998-09-14 20:34:34 +00:00
Andrzej Bialecki d6e5b04f99 Since we have a sysctl 'machdep.msgbuf' now, let's make use of it. 1998-09-14 20:33:43 +00:00
John Polstra c8afdc1dcf Add generic defines ELF_ARCH, ELF_CLASS, and ELF_DATA. These give
the relevant characteristics of the native machine, for building
and checking Elf_Ehdr structures.

Add structures to represent ELF "note" headers.  Add defines for the
note types used in ELF core files.
1998-09-14 20:30:13 +00:00
David E. O'Brien 24b66c5360 Too late in the 3.0-game to deal with a setgid /usr/bin/man. 1998-09-14 20:05:46 +00:00
Søren Schmidt d024c95599 Remove the SLICE code.
This clearly needs alot more thought, and we dont need this to hunt
us down in 3.0-RELEASE.
1998-09-14 19:56:42 +00:00
Jordan K. Hubbard 355150a489 Use a more reasonable default umask in case the root umask is too
fascist.
PR:		4014
1998-09-14 19:22:59 +00:00
Jordan K. Hubbard 04f80d35bf Fix printf warnings and add a few casts.
PR:		7560
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1998-09-14 19:14:11 +00:00
Jordan K. Hubbard 344e4a2733 Until lkm and mdec gets populated again by some other means, do it
here.
Forgotten by:	jkh
Submitted by:	jhay
1998-09-14 18:42:59 +00:00