Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       ata_scsiop_mode_sense - Simulate MODE SENSE 6, 10 commands

SYNOPSIS

       unsigned int ata_scsiop_mode_sense  (struct ata_scsi_args * args,
                                              u8 * rbuf, unsigned int buflen);

ARGUMENTS

       args   device IDENTIFY data / SCSI command of interest.

       rbuf   Response buffer, to which simulated SCSI cmd output is sent.

       buflen Response buffer length.

DESCRIPTION

       Simulate  MODE SENSE commands. Assume this is invoked for direct access
       devices (e.g. disks) only. There should  be  no  block  descriptor  for
       other device types.

LOCKING

       spin_lock_irqsave(host_set lock)

AUTHOR

       Jeff Garzik.