Query: ata_dev_same_device
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATA_DEV_SAME_DEVICE(9) libata Core Internals ATA_DEV_SAME_DEVICE(9)NAMEata_dev_same_device - Determine whether new ID matches configured deviceSYNOPSISint ata_dev_same_device(struct ata_device * dev, unsigned int new_class, const u16 * new_id);ARGUMENTSdev device to compare against new_class class of the new device new_id IDENTIFY page of the new deviceDESCRIPTIONCompare new_class and new_id against dev and determine whether dev is the device indicated by new_class and new_id.LOCKINGNone.RETURNS1 if dev matches new_class and new_id, 0 otherwise.AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 ATA_DEV_SAME_DEVICE(9)