]> err.no Git - linux-2.6/blobdiff - drivers/ata/pata_ali.c
[libata] Prefer SCSI_SENSE_BUFFERSIZE to sizeof()
[linux-2.6] / drivers / ata / pata_ali.c
index 62aa2f90329ab9fbd027726dba4b38ff36619e05..7e68edf3c0f3fe9c5133396c698c96159956d646 100644 (file)
@@ -64,7 +64,7 @@ static int ali_cable_override(struct pci_dev *pdev)
        if (pdev->subsystem_vendor == 0x10CF && pdev->subsystem_device == 0x10AF)
                return 1;
        /* Mitac 8317 (Winbook-A) and relatives */
-       if (pdev->subsystem_vendor == 0x1071  && pdev->subsystem_device == 0x8317)
+       if (pdev->subsystem_vendor == 0x1071 && pdev->subsystem_device == 0x8317)
                return 1;
        /* Systems by DMI */
        if (dmi_check_system(cable_dmi_table))
@@ -291,7 +291,7 @@ static void ali_lock_sectors(struct ata_device *adev)
  *
  *     Called to decide whether commands should be sent by DMA or PIO
  */
+
 static int ali_check_atapi_dma(struct ata_queued_cmd *qc)
 {
        /* If its not a media command, its not worth it */