> +       if (readl(&ahci_port->cmd) & PORT_CMD_ATAPI ||
> +               ahci_identify(ahci_host, ahci_port, port, WIN_IDENTIFY) >= 2)
> +               ahci_identify(ahci_host, ahci_port, port, WIN_PIDENTIFY);


Thanks, that's equivalent to my code and more concise.


Andrea

Reply via email to