ata_dev_same_device(9)

ata_dev_same_device9

Determine whether new id matches configured device

Usage

int ata_dev_same_device(struct ata_device * dev, unsigned int new_class, const u16 * new_id);

Arguments

dev

device to compare against

new_class

class of the new device

new_id

IDENTIFY page of the new device

Overview

Compare new_class and new_id against dev and determine whether dev is the device indicated by new_class and new_id.

LOCKING: None.

Return

1 if dev matches new_class and new_id, 0 otherwise.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Jeff Garzik

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.