Scroll to navigation

ATA_DEV_REREAD_ID(9) libata Core Internals ATA_DEV_REREAD_ID(9)

NAME

ata_dev_reread_id - Re-read IDENTIFY data

SYNOPSIS

int ata_dev_reread_id(struct ata_device * dev, unsigned int readid_flags);

ARGUMENTS

struct ata_device * dev

target ATA device

unsigned int readid_flags

read ID flags

DESCRIPTION

Re-read IDENTIFY page and make sure dev is still attached to the port.

LOCKING: Kernel thread context (may sleep)

RETURN

0 on success, negative errno otherwise

AUTHOR

Jeff Garzik

Author.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12