1. NAME

ata_dev_next - device iteration helper

2. SYNOPSIS

struct ata_device * ata_dev_next(struct ata_device *  dev , struct ata_link *  link , enum ata_dev_iter_mode  mode );

3. ARGUMENTS

dev
    the previous device, NULL to start

link
    ATA link containing devices to iterate

mode
    iteration mode, one of ATA_DITER_*

4. LOCKING

Host lock or EH context.

5. RETURNS

Pointer to the next device.

6. AUTHOR

Jeff Garzik
    Author.

7. COPYRIGHT