ata_scsi_dev_enabled(9)
NAME
ata_scsi_dev_enabled - determine if device is enabled
SYNOPSIS
int ata_scsi_dev_enabled(struct ata_device * dev);
ARGUMENTS
- dev
- ATA device
DESCRIPTION
Determine if commands should be sent to the specified device.
LOCKING
spin_lock_irqsave(host lock)
RETURNS
0 if commands are not allowed / 1 if commands are allowed
AUTHOR
- Jeff Garzik
- Author.