Subject: Re: UltraDMA performance.
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Bang Jun-Young <bjy@mogua.org>
List: port-i386
Date: 12/30/2000 11:44:21
Manuel Bouyer wrote:
> Then I suspect your controller isn't knon from pciide. What NetBSD release
> are you running, and what controller do you have (dmesg, please) ?

Here is dmesg on my machine:

NetBSD 1.5P (KRISHNA) #7: Wed Dec 27 16:54:41 UTC 2000
    bjy@:/usr/home/bjy/cvs-src/syssrc/sys/arch/i386/compile/KRISHNA
cpu0: AMD Athlon Model 4 (Thunderbird) (686-class), 900.09 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies product 0x0305 (rev. 0x02)
ppb0 at pci0 dev 1 function 0: VIA Technologies product 0x8305 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
pcib0 at pci0 dev 4 function 0
pcib0: VIA Technologies VT82C686A (Apollo KX133) PCI-ISA Bridge (rev. 0x22)
pciide0 at pci0 dev 4 function 1: VIA Tech VT82C586A IDE Controller (rev.
0x10)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALLlct10 30>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 28629 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 58633344 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (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)
pciide0: secondary channel configured to compatibility mode
pciide1 at pci0 dev 17 function 0: Promise Ultra100/ATA Bus Master IDE
Accelerator (rev. 0x02)
pciide1: bus-master DMA support present
pciide1: primary channel configured to native-PCI mode
pciide1: using irq 10 for native-PCI interrupt
pciide1: disabling primary channel (no drives)
pciide1: secondary channel configured to native-PCI mode
pciide1: disabling secondary channel (no drives)

With 1.5, I got almost the same dmesg result as above.

> 
> > So i must argue that pciide on NEtBSD is slower than FreeBSD?
> 
> No, just that your controller isn't fully supported by pciide in this
> NetBSD release. Please send me the infos and I'll tell you if a more recent
> release supports it, or I'll send you a patch to add full support for
> it.

In addition, it seems that VT82C686B (Ultra/100) based MSI K7T Pro2-A board 
isn't compatible with existing IDE driver. I bought it first but it didn't 
worked properly, so I've replaced it with current VT82C686A based A7V.

Jun-Young

--
Bang Jun-Young <bjy@mogua.org>