> Why not: > > if (pdev->device == 0xC409) > if (ap->port_no == 0) { > pci_read_config_dword(pdev, 0x52, &ata66); More to the point - why not just register it as a single port device ? -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html