VxWorks Reference Manual : Libraries
ataShow - ATA/IDE (LOCAL and PCMCIA) disk device driver show routine
ataShowInit( ) - initialize the ATA/IDE disk driver show routine
ataShow( ) - show the ATA/IDE disk parameters
This library contains a driver show routine for the ATA/IDE (PCMCIA and LOCAL) devices supported on the IBM PC.
ataShowInit( ) - initialize the ATA/IDE disk driver show routine
void ataShowInit (void)
This routine links the ATA/IDE disk driver show routine into the VxWorks system. It is called automatically when this show facility is configured into VxWorks using either of the following methods:
- If you use the configuration header files, define INCLUDE_SHOW_ROUTINES in config.h.
- If you use the Tornado project facility, select INCLUDE_ATA_SHOW.
N/A
ataShow( ) - show the ATA/IDE disk parameters
STATUS ataShow ( int ctrl, int drive )
This routine shows the ATA/IDE disk parameters. Its first argument is a controller number, 0 or 1; the second argument is a drive number, 0 or 1.
OK, or ERROR if the parameters are invalid.