/* Filter the valid mode list according to our own specific rules, in this case the list of discovered valid modes obtained by ACPI probing  */
static unsigned long pacpi_mode_filter(struct ata_device *adev, unsigned long mask)
/* Filter the valid mode list according to our own specific rules, in this case the list of discovered valid modes obtained by ACPI probing  */
static unsigned long pacpi_mode_filter(struct ata_device *adev, unsigned long mask)
{
	struct pata_acpi *acpi = adev->link->ap->private_data;
	return ata_bmdma_mode_filter(adev, mask & acpi->mask[adev->devno]);
}