1ATA_DEV_SAME_DEVICE(9)       libata Core Internals      ATA_DEV_SAME_DEVICE(9)
2
3
4

NAME

6       ata_dev_same_device - Determine whether new ID matches configured
7       device
8

SYNOPSIS

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

ARGUMENTS

14       dev
15           device to compare against
16
17       new_class
18           class of the new device
19
20       new_id
21           IDENTIFY page of the new device
22

DESCRIPTION

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

LOCKING

28       None.
29

RETURNS

31       1 if dev matches new_class and new_id, 0 otherwise.
32

AUTHOR

34       Jeff Garzik
35           Author.
36
38Kernel Hackers Manual 2.6.         June 2019            ATA_DEV_SAME_DEVICE(9)
Impressum