Date: Fri, 19 Dec 1997 02:28:08 +0200 (SAT) From: Paul Allenby <pallenby@zibbi.mikom.csir.co.za> To: freebsd-hackers@freebsd.org Subject: wd and DMA Message-ID: <199712190028.CAA07300@zibbi.mikom.csir.co.za>
next in thread | raw e-mail | index | archive | help
Hi all A few days ago I mailed this to freebsd-current, but never received a reply. ------------------------------------------------------------------------ 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 ------------------------------------------------------------------------- The commitlogs also show that this has not been committed. Any responses? Paul
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712190028.CAA07300>