*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> xpt (4)              
Title
Content
Arch
Section
 

XPT(4)

Contents


NAME    [Toc]    [Back]

     xpt -- CAM transport layer interface

SYNOPSIS    [Toc]    [Back]

     None.

DESCRIPTION    [Toc]    [Back]

     The xpt driver provides a way for userland applications to issue certain
     CAM CCBs to the kernel.

     Since the xpt driver allows direct access to the CAM subsystem, system
     administrators should exercise caution when granting access to this
     driver.  If used improperly, this driver can allow userland applications
     to crash a machine or cause data loss.

KERNEL CONFIGURATION    [Toc]    [Back]

     There is no kernel configuration required for the xpt driver.  It is
     enabled when SCSI support is enabled in the kernel.  There is one
     instance of the xpt driver per CAM transport layer instance.  Since there
     is currently only one CAM transport layer, there will only be one
     instance of this driver.

IOCTLS    [Toc]    [Back]

     CAMIOCOMMAND    This ioctl takes certain kinds of CAM CCBs and passes
		     them through to the CAM transport layer for action.  Only
		     the following CCB types are supported:

		     XPT_SCAN_BUS
		     XPT_RESET_BUS
		     XPT_SCAN_LUN
		     XPT_ENG_INQ
		     XPT_ENG_EXEC
		     XPT_DEBUG
		     XPT_DEV_MATCH
		     XPT_PATH_INQ

		     The above CCBs are the only ones supported since it makes
		     more sense to send them through a generic passthrough
		     device rather than a passthrough device tied to a particular
 underlying SCSI device.

     CAMGETPASSTHRU  This ioctl takes an XPT_GDEVLIST CCB, and returns the
		     passthrough device corresponding to the device in question.

FILES    [Toc]    [Back]

     /dev/xpt0	Character device node for the xpt driver.

DIAGNOSTICS    [Toc]    [Back]

     None.

SEE ALSO    [Toc]    [Back]

      
      
     cam(3), cam_cdbparse(3), pass(4), camcontrol(8)

HISTORY    [Toc]    [Back]

     The CAM transport layer driver first appeared in FreeBSD 3.0.

AUTHORS    [Toc]    [Back]

     Kenneth Merry <[email protected]>


FreeBSD 5.2.1		       October 10, 1998 		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
tirdwr IRIX Transport Interface read/write interface STREAMS module
scsipi NetBSD SCSI/ATAPI middle-layer interface
ng_hci FreeBSD Netgraph node type that is also a Bluetooth Host Controller Interface (HCI) layer
timod IRIX Transport Interface cooperating STREAMS module
tirdwr HP-UX STREAMS module for reads and writes by Transport Interface users
timod HP-UX STREAMS module for converting ioctl() calls into Transport Interface messages
mvGetTrackLayer IRIX set/get the layer of a track
shl HP-UX shell layer manager
ng_btsocket FreeBSD Bluetooth sockets layer
ath_hal FreeBSD Atheros Hardware Access Layer (HAL)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service