1ATA_SCSIOP_MODE_SENS(9) libata SCSI translation/emulat ATA_SCSIOP_MODE_SENS(9)
2
3
4

NAME

6       ata_scsiop_mode_sense - Simulate MODE SENSE 6, 10 commands
7

SYNOPSIS

9       unsigned int ata_scsiop_mode_sense(struct ata_scsi_args * args,
10                                          u8 * rbuf);
11

ARGUMENTS

13       args
14           device IDENTIFY data / SCSI command of interest.
15
16       rbuf
17           Response buffer, to which simulated SCSI cmd output is sent.
18

DESCRIPTION

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

LOCKING

25       spin_lock_irqsave(host lock)
26

AUTHOR

28       Jeff Garzik
29           Author.
30
32Kernel Hackers Manual 3.10         June 2019           ATA_SCSIOP_MODE_SENS(9)
Impressum