Name

ata_bus_probe — Reset and probe ATA bus

Synopsis

int ata_bus_probe (struct ata_port * ap);
 

Arguments

struct ata_port * ap

Bus to probe

Description

Master ATA bus probing function. Initiates a hardware-dependent bus reset, then attempts to identify any devices found on the bus.

LOCKING: PCI/etc. bus probe sem.

Return

Zero on success, negative errno otherwise.