Commit Graph

11 Commits

Author SHA1 Message Date
thorpej df9803ce96 Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding.  Improve the names of many structures,
and prepend "SCSI_" onto all SCSI command opcodes.  Place items described
by the SCSI Primary Commands document into scsi_spc.h.
2005-02-21 00:29:06 +00:00
xtraeme 9bab889d46 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 13:37:39 +00:00
agc 76b6c930a4 Make this compile after the recent changes to the kernel. 2003-09-08 09:05:08 +00:00
agc c2a3b5ec84 Add NetBSD RCS Ids. 2003-06-23 11:53:35 +00:00
soren d7a359db41 Add missing \n in error. 2002-10-08 20:17:06 +00:00
mjacob 41194c0e70 Add a bunch of stuff from Bob Nestor that fixes format to allow one to
specify device logical blocksize.

Furthermore, it also adds an 'immediate' option, which then sends more modern
devices into formatting in the background. scsictl still waits around and
sends a TEST UNIT READY every 10 seconds and, based upon the sense data
it gets back after the invariable CHECK CONDITION, prints out a progress
indicator (based upon SKSV progress in the sense data).

While we're at it, add a 'tur', 'reserve', 'release', 'start' and 'stop'
functions to the device commands.

Fix a long standing bug in scsi_command- the value in retsts is an integral
value- not a bitmask.
2002-06-26 16:04:11 +00:00
thorpej b92e8081fa Fixup scsi_mode_select(). 2001-09-05 16:25:17 +00:00
bouyer 1047a6a764 Adapt for MODE SENSE/SELECT changes in kernel. 2001-05-15 15:11:02 +00:00
ad bd8e0b62fb Let '\377' be whitespace. 2001-04-17 13:31:00 +00:00
thorpej c1425134ae Simple support for formatting a SCSI disk. This will be enhanced in
the near future.
1998-11-12 01:16:08 +00:00
thorpej c9a47c223b scsictl(8) - a program to manipulate SCSI devices and busses. Currently
supports:

Devices: identify, reassign blocks, reset

Busses: reset, scan for devices

Coming soon, device formatting, mode page editing, device freeze/thaw, etc.
1998-10-15 21:44:39 +00:00