Name
ata_devchk —
PATA device presence detection
Synopsis
unsigned int ata_devchk (
struct ata_port * ap, unsigned int device)
;
Arguments
ap
ATA channel to examine
device
Device to examine (starting at zero)
Description
Dispatch ATA device presence detection, depending
on whether we are using PIO or MMIO to talk to the
ATA shadow registers.