Date: Tue, 16 Dec 1997 01:42:21 +0200 (SAT) From: Paul Allenby <pallenby@zibbi.mikom.csir.co.za> To: freebsd-current@freebsd.org Subject: wd and DMA Message-ID: <199712152342.BAA09522@zibbi.mikom.csir.co.za>
next in thread | raw e-mail | index | archive | help
Ja boet, hoe ga't 'it da'so :) A while ago John Hood spotted a bug in his isa DMA code which he fixed with the following: --- pci/ide_pci.c Sat Nov 8 02:22:48 1997 +++ /tmp/ide_pci.c Mon Nov 10 23:35:00 1997 @@ -714,7 +714,7 @@ u_long word40; /* can drive do PIO 4 and MW DMA 2? */ - if (!(mwdma_mode(wp) >= 4 && pio_mode(wp) >= 4)) + if (!(mwdma_mode(wp) >= 2 && pio_mode(wp) >= 4)) return 0; word40 = pci_conf_read(cookie->tag, 0x40); I had this patch in my source tree until I moved /sys to a different disk and had to re-checkout -current's kernel code. After booting with a new kernel, DMA was no longer reported by the wd driver. So, my request is that would someone please commit this change :) Paul
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712152342.BAA09522>