ata_scsi_dev_enabled(9)

ata_scsi_dev_enabled9

Determine if device is enabled

Usage

int ata_scsi_dev_enabled(struct ata_device * dev);

Arguments

dev

ATA device

Overview

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

Releases

2 releases since Debian 4.0 (Etch); the text changed 1 time.

  1. 4.0
  2. 5.0

Author

Jeff Garzik

Author.

From linux-manual-2.6.26 2.6.26-29 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.