3 .\" Copyright (c) 1997 Brian Somers <brian@Awfulhak.org>
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
16 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 .Nd The `super scsi' driver
35 .Cd "pseudo-device ssc"
39 driver provides an access point into the SCSI driver code that can
40 be used when no SCSI devices have previously been detected. This
41 is useful for systems that contain only external SCSI devices that
42 may be powered off at boot time.
48 pseudo-device is used by
50 and therefore must also be configured.
51 .Sh KERNEL CONFIGURATION
52 There are no configuration parameters for the ssc pseudo-device.
59 ioctl of it's own. This ioctl must be used after opening
61 and before issuing any other ioctl calls:
62 .Bd -literal -offset indent
63 .Fd #include <sys/scsiio.h>
66 .Fn ioctl "int fd" "SCIOCADDR" "struct scsi_addr *data"
70 refers to the descriptor returned by
79 fields set as required. This ioctl may be used at will to change the
80 device to which subsequent ioctls affect.
82 All other ioctls are passed directly to the
84 pseudo-device driver, using the Bus, Target and Lun that were set
89 .Bl -tag -width /dev/ssc -compact
91 The device file used to access the
96 If any ioctl is attempted before issuing a
100 is returned. Otherwise, the ioctl is passed directly to the
110 driver originally appeared in FreeBSD 2.0.5.