Skip to contentSkip to conversation

HPT374 is UDMA100 not UDMA133

PATCH In review Alan Cox 2 participants 2 messages Jun 22, 2007 – Jun 27, 2007 libata

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 HPT374 is UDMA100 not UDMA133

Propogate change from drivers/ide

drivers/ata/pata_hpt37x.c +2 -2
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.22-rc4-mm2/drivers/ata/pata_hpt37x.c linux-2.6.22-rc4-mm2/drivers/ata/pata_hpt37x.c
@@ -931,13 +931,13 @@
 		.udma_mask = 0x7f,
 		.port_ops = &hpt372_port_ops
 	};
-	/* HPT374 - UDMA133 */
+	/* HPT374 - UDMA100 */
 	static const struct ata_port_info info_hpt374 = {
 		.sht = &hpt37x_sht,
 		.flags = ATA_FLAG_SLAVE_POSS,
 		.pio_mask = 0x1f,
 		.mwdma_mask = 0x07,
-		.udma_mask = 0x7f,
+		.udma_mask = 0x3f,
 		.port_ops = &hpt374_port_ops
 	};
 
#1 lore raw
Quoted 10 lines · Alan Cox

Propogate change from drivers/ide

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.22-rc4-mm2/drivers/ata/pata_hpt37x.c linux-2.6.22-rc4-mm2/drivers/ata/pata_hpt37x.c

drivers/ata/pata_hpt37x.c +0 -0
@@ -931,13 +931,13 @@
 		.udma_mask = 0x7f,
 		.port_ops = &hpt372_port_ops

drivers/ata/pata_hpt37x.c line 940

Quoted 10 lines
drivers/ata/pata_hpt37x.c +2 -2
 	};
-	/* HPT374 - UDMA133 */
+	/* HPT374 - UDMA100 */
 	static const struct ata_port_info info_hpt374 = {
 		.sht = &hpt37x_sht,
 		.flags = ATA_FLAG_SLAVE_POSS,
 		.pio_mask = 0x1f,
 		.mwdma_mask = 0x07,
-		.udma_mask = 0x7f,
+		.udma_mask = 0x3f,

applied manually, since this does not apply to any upstream tree. Please diff against upstream or libata-dev.git...