patch-2.3.34 linux/drivers/block/ide-features.c
Next file: linux/drivers/block/ide-floppy.c
Previous file: linux/drivers/block/ide-disk.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Tue Dec 14 23:03:50 1999
- Orig file:
v2.3.33/linux/drivers/block/ide-features.c
- Orig date:
Tue Dec 7 09:32:43 1999
diff -u --recursive --new-file v2.3.33/linux/drivers/block/ide-features.c linux/drivers/block/ide-features.c
@@ -42,6 +42,8 @@
char *ide_xfer_verbose (byte xfer_rate)
{
switch(xfer_rate) {
+ case XFER_UDMA_6: return("UDMA 6");
+ case XFER_UDMA_5: return("UDMA 5");
case XFER_UDMA_4: return("UDMA 4");
case XFER_UDMA_3: return("UDMA 3");
case XFER_UDMA_2: return("UDMA 2");
@@ -251,6 +253,10 @@
drive->id->dma_1word &= ~0x0F00;
switch(speed) {
+#if 0
+ case XFER_UDMA_6: drive->id->dma_ultra |= 0x1010; break;
+ case XFER_UDMA_5: drive->id->dma_ultra |= 0x1010; break;
+#endif
case XFER_UDMA_4: drive->id->dma_ultra |= 0x1010; break;
case XFER_UDMA_3: drive->id->dma_ultra |= 0x0808; break;
case XFER_UDMA_2: drive->id->dma_ultra |= 0x0404; break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)