Subject: Re: patches for sis pciide available
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Paul de Weerd <paul@mail.me.maar.nu>
List: port-i386
Date: 03/11/2003 12:05:35
On Mon, Mar 10, 2003 at 03:34:46PM +0100, Manuel Bouyer wrote:
| > I have made some major changes to the sis pciide support (from infos
| > glaned in the freebsd driver) for better support, especially of the
| > newer chips. In
| > ftp://antioche.lip6.fr/pub/bouyer/tmp/sis/
| > you'll find:
| > the pach against current
| > a current GENERIC kernel binary
| > boot floppy images
| > 
| > Even if you have a chipset which works fine with the old code, please test.
| > There have been a lot of changes, especially in the way chipsets are
| > identified.
| 
| Sorry, there was a mistake in my patch which prevented DMA from being used at
| all. New binaries and patch available from
| ftp://antioche.lip6.fr/pub/bouyer/tmp/sis/
| 
| If you have a SiS chipset, give it a try. For newer chipsets, performances
| should be better (Ultra/100 and Ultra/133 should now be used on chipsets that
| can do it).

It works ! I can access my CD-RW/DVD player and the HD without
disabling DMA in the BIOS.

I've put up the dmesg on http://www.weirdnet.nl/netbsd/sis.dmesg but
these are (what I think) the relevant parts :

pciide0 at pci0 dev 2 function 5: Silicon Integrated System 96X UDMA6 IDE controller (rev. 0x00)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IC25N040ATCS04-0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 38154 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <QSI CD-RW/DVD-ROM SBW-241, , VF10> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)

Thanks Manuel !

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/