X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Fata%2Fpata_serverworks.c;h=c0bc4af0d1960c28d7278e77cdfef7eabf481bee;hb=f0a6d77b351c18c122fc1638ac9e58f5e0346f64;hp=e410fe44177f25b434a119ac8dda7a3caf410008;hpb=27a98fe60b033dfce95361abe368750994b8a78e;p=linux-2.6-microblaze.git diff --git a/drivers/ata/pata_serverworks.c b/drivers/ata/pata_serverworks.c index e410fe44177f..c0bc4af0d196 100644 --- a/drivers/ata/pata_serverworks.c +++ b/drivers/ata/pata_serverworks.c @@ -150,7 +150,7 @@ static u8 serverworks_is_csb(struct pci_dev *pdev) * bug we hit. */ -static unsigned long serverworks_osb4_filter(struct ata_device *adev, unsigned long mask) +static unsigned int serverworks_osb4_filter(struct ata_device *adev, unsigned int mask) { if (adev->class == ATA_DEV_ATA) mask &= ~ATA_MASK_UDMA; @@ -166,7 +166,7 @@ static unsigned long serverworks_osb4_filter(struct ata_device *adev, unsigned l * Check the blacklist and disable UDMA5 if matched */ -static unsigned long serverworks_csb_filter(struct ata_device *adev, unsigned long mask) +static unsigned int serverworks_csb_filter(struct ata_device *adev, unsigned int mask) { const char *p; char model_num[ATA_ID_PROD_LEN + 1];