DO_PROBE

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

do_probe - probe an IDE device  

SYNOPSIS

"SYNOPSIS"

int do_probe (ide_drive_t * drive, u8 cmd);  

ARGUMENTS

drive
drive to probe
cmd
command to use
 

DESCRIPTION

do_probe has the difficult job of finding a drive if it exists, without getting hung up if it doesn't exist, without trampling on ethernet cards, and without leaving any IRQs dangling to haunt us later.

If a drive is ``known'' to exist (from CMOS or kernel parameters), but does not respond right away, the probe will ``hang in there'' for the maximum wait time (about 30 seconds), otherwise it will exit much more quickly.  

RETURNS

0 device was identified 1 device timed-out (no response to identify request) 2 device aborted the command (refused to identify itself) 3 bad status from device (possible for ATAPI drives) 4 probe was not attempted because failure was obvious


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS

This document was created by man2html, using the manual pages.
Time: 04:40:42 GMT, October 06, 2005