From owner-freebsd-hackers Thu Dec 18 16:50:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA07335 for hackers-outgoing; Thu, 18 Dec 1997 16:50:10 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA06965 for ; Thu, 18 Dec 1997 16:44:52 -0800 (PST) (envelope-from pallenby@zibbi.mikom.csir.co.za) Received: (from pallenby@localhost) by zibbi.mikom.csir.co.za (8.8.8/8.8.7) id CAA07300 for freebsd-hackers@freebsd.org; Fri, 19 Dec 1997 02:28:08 +0200 (SAT) From: Paul Allenby Message-Id: <199712190028.CAA07300@zibbi.mikom.csir.co.za> Subject: wd and DMA To: freebsd-hackers@freebsd.org Date: Fri, 19 Dec 1997 02:28:08 +0200 (SAT) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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