|
@@ -25,7 +25,7 @@
|
|
|
#include <linux/libata.h>
|
|
|
|
|
|
#define DRV_NAME "pata_amd"
|
|
|
-#define DRV_VERSION "0.3.9"
|
|
|
+#define DRV_VERSION "0.3.10"
|
|
|
|
|
|
/**
|
|
|
* timing_setup - shared timing computation and load
|
|
@@ -115,7 +115,8 @@ static void timing_setup(struct ata_port *ap, struct ata_device *adev, int offse
|
|
|
}
|
|
|
|
|
|
/* UDMA timing */
|
|
|
- pci_write_config_byte(pdev, offset + 0x10 + (3 - dn), t);
|
|
|
+ if (at.udma)
|
|
|
+ pci_write_config_byte(pdev, offset + 0x10 + (3 - dn), t);
|
|
|
}
|
|
|
|
|
|
/**
|