ata_scsi_dev_enabled

Langue: en

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

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.