DRIVE_IS_FLASHCARD

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

 

NAME

drive_is_flashcard - check for compact flash  

SYNOPSIS

"SYNOPSIS"

int drive_is_flashcard (ide_drive_t * drive);  

ARGUMENTS

drive
drive to check
 

DESCRIPTION

CompactFlash cards and their brethern pretend to be removable hard disks, except: (1) they never have a slave unit, and (2) they don't have doorlock mechanisms. This test catches them, and is invoked elsewhere when setting appropriate config bits.  

FIXME

This treatment is probably applicable for *all* PCMCIA (PC CARD) devices, so in linux 2.3.x we should change this to just treat all PCMCIA drives this way, and get rid of the model-name tests below (too big of an interface change for 2.4.x). At that time, we might also consider parameterizing the timeouts and retries, since these are MUCH faster than mechanical drives. -M.Lord


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
FIXME

This document was created by man2html, using the manual pages.
Time: 06:20:45 GMT, October 06, 2005