ATA_PIO_DEVCHK
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
ata_pio_devchk - PATA device presence detection
SYNOPSIS
"SYNOPSIS"
unsigned int ata_pio_devchk (struct ata_port * ap, unsigned int device);
ARGUMENTS
- ap
-
ATA channel to examine
- device
-
Device to examine (starting at zero)
DESCRIPTION
This technique was originally described in
Hale Landis's ATADRVR (www.ata-atapi.com), and
later found its way into the ATA/ATAPI spec.
Write a pattern to the ATA shadow registers,
and if a device is present, it will respond by
correctly storing and echoing back the
ATA shadow register contents.
LOCKING
caller.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
- LOCKING
-
This document was created by
man2html,
using the manual pages.
Time: 00:01:56 GMT, October 09, 2005