SD_PROBE

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

 

NAME

sd_probe - called during driver initialization and whenever a  

SYNOPSIS

"SYNOPSIS"

int sd_probe (struct device * dev);  

ARGUMENTS

dev
pointer to device object
 

DESCRIPTION

Returns 0 if successful (or not interested in this scsi device (e.g. scanner)); 1 when there is an error.  

DESCRIPTION

Returns 0 if successful (or not interested in this scsi device (e.g. scanner)); 1 when there is an error.  

NOTE

this function is invoked from the scsi mid-level. This function sets up the mapping between a given <host,channel,id,lun> (found in sdp) and new device name (e.g. /dev/sda). More precisely it is the block device major and minor number that is chosen here.

Assume sd_attach is not re-entrant (for time being) Also think about sd_attach and sd_remove running coincidentally.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
DESCRIPTION
NOTE

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