Name

ata_hpa_get_native_size — Get the native size of a disk

Synopsis

u64 ata_hpa_get_native_size (struct ata_device *  dev);

Arguments

dev

Device to get the size for

Description

Read the size of an LBA28 or LBA48 disk with HPA features and return the native size. Caller must check that the drive has HPA feature set enabled.