piix_sata_probe

Name

piix_sata_probe --  Probe PCI device for present SATA devices

Synopsis

int piix_sata_probe (struct ata_port * ap);

Arguments

ap

Port associated with the PCI device we wish to probe

Description

Reads SATA PCI device's PCI config register Port Configuration and Status (PCS) to determine port and device availability.

LOCKING

None (inherited from caller).

RETURNS

Non-zero if device detected, zero otherwise.