Subject: Re: Any objections? Patch to change routine to print ata dma modes for more than just pciide
To: Andrew Brown <atatat@atatdot.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 11/13/2000 10:16:57
On Sun, Nov 12, 2000 at 10:46:35PM -0500, Andrew Brown wrote:
> >We could print it for the drives cap (e.g.:
> >wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
> 
> it looks nice, but now i'm confused.  how come i get this:
> 
> pciide0 at pci0 dev 5 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
> pciide0: bus-master DMA support present
> pciide0: primary channel wired to compatibility mode
> wd0 at pciide0 channel 0 drive 0: <IBM-DARA-212000>
> wd0: drive supports 16-sector pio transfers, lba addressing
> wd0: 11513 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 23579136 sectors
> wd0: 32-bit data port
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
> 
> this is ultra 66.
> 
> pciide0: primary channel interrupting at irq 14
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
> 
> but now ultra 33?

The drive supports Ultra/66 but the controller can only do Ultra/33
Ultra/66 is the commercial name for Ultra-DMA mode 4, Ultra/33 the one for
Ultra-DMA mode 2.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--