ATA_DEVICE_ADD

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

 

NAME

ata_device_add - Register hardware device with ATA and SCSI layers  

SYNOPSIS

"SYNOPSIS"

int ata_device_add (struct ata_probe_ent * ent);  

ARGUMENTS

ent
Probe information describing hardware device to be registered
 

DESCRIPTION

This function processes the information provided in the probe information struct ent, allocates the necessary ATA and SCSI host information structures, initializes them, and registers everything with requisite kernel subsystems.

This function requests irqs, probes the ATA bus, and probes the SCSI bus.  

LOCKING

PCI/etc. bus probe sem.  

RETURNS

Number of ports registered. Zero on error (no ports registered).


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
LOCKING
RETURNS

This document was created by man2html, using the manual pages.
Time: 00:01:56 GMT, October 09, 2005