1999-03-16 04:19:14 +03:00
|
|
|
.\" $NetBSD: uk.4,v 1.7 1999/03/16 01:19:19 garbled Exp $
|
1996-10-21 03:15:21 +04:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1996
|
|
|
|
.\" Julian Elischer <julian@freebsd.org>. All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\"
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
1996-08-13 07:13:30 +04:00
|
|
|
.Dd October 11, 1993
|
|
|
|
.Dt UK 4
|
1999-03-16 04:19:14 +03:00
|
|
|
.Os
|
1996-08-13 07:13:30 +04:00
|
|
|
.Sh NAME
|
|
|
|
.Nm uk
|
1998-04-30 12:50:03 +04:00
|
|
|
.Nd SCSI user-level driver
|
1996-08-13 07:13:30 +04:00
|
|
|
.Sh SYNOPSIS
|
1998-04-30 12:50:03 +04:00
|
|
|
.Cd "uk* at scsibus? target ? lun ?"
|
1996-08-13 07:13:30 +04:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
1998-04-30 12:50:03 +04:00
|
|
|
.Nm
|
|
|
|
driver provides support for a process to address devices on the
|
|
|
|
.Tn SCSI
|
|
|
|
bus for which there is no configured driver.
|
1996-08-13 07:13:30 +04:00
|
|
|
.Pp
|
1998-04-30 12:50:03 +04:00
|
|
|
A
|
|
|
|
.Tn SCSI
|
|
|
|
adapter must also be separately configured into the system before
|
|
|
|
this driver makes sense.
|
1996-08-13 07:13:30 +04:00
|
|
|
.Pp
|
|
|
|
.Sh KERNEL CONFIGURATION
|
1998-04-30 12:50:03 +04:00
|
|
|
If a
|
|
|
|
.Ar count
|
|
|
|
is given, that number of
|
|
|
|
.Nm
|
|
|
|
devices will be configured into the
|
|
|
|
.Nx
|
|
|
|
kernel.
|
1996-08-13 07:13:30 +04:00
|
|
|
.Pp
|
|
|
|
.Sh IOCTLS
|
1998-04-30 12:50:03 +04:00
|
|
|
The
|
1996-08-13 07:13:30 +04:00
|
|
|
.Nm
|
1998-04-30 12:50:03 +04:00
|
|
|
driver has no ioctls of its own but rather acts as a medium for the generic
|
1996-08-13 07:13:30 +04:00
|
|
|
.Xr scsi 4
|
1998-04-30 12:50:03 +04:00
|
|
|
ioctls.
|
|
|
|
These are described in
|
1997-05-11 12:21:28 +04:00
|
|
|
.Pa Aq sys/scsiio.h .
|
1996-08-13 07:13:30 +04:00
|
|
|
.Sh FILES
|
1997-05-11 12:21:28 +04:00
|
|
|
.Bl -tag -width /dev/uk[0-255] -compact
|
1996-08-13 07:13:30 +04:00
|
|
|
.It Pa /dev/uk[0-255]
|
1997-05-11 12:21:28 +04:00
|
|
|
unknown
|
|
|
|
.Tn SCSI
|
|
|
|
devices.
|
1996-08-13 07:13:30 +04:00
|
|
|
.El
|
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
All
|
|
|
|
.Xr scsi 4
|
1998-04-30 12:50:03 +04:00
|
|
|
debug ioctls work on
|
1996-08-13 07:13:30 +04:00
|
|
|
.Nm
|
|
|
|
devices.
|
|
|
|
.Sh SEE ALSO
|
1998-04-30 12:50:03 +04:00
|
|
|
.Xr ioctl 2 ,
|
1997-05-11 12:21:28 +04:00
|
|
|
.Xr cd 4 ,
|
|
|
|
.Xr ch 4 ,
|
|
|
|
.Xr scsi 4 ,
|
|
|
|
.Xr sd 4 ,
|
|
|
|
.Xr ss 4 ,
|
1996-08-13 07:13:30 +04:00
|
|
|
.Xr st 4
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
1998-02-06 08:54:12 +03:00
|
|
|
driver appeared in
|
|
|
|
.Tn 386BSD 0.1 Ns .
|