From owner-freebsd-current Mon Dec 15 15:42:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA28213 for current-outgoing; Mon, 15 Dec 1997 15:42:37 -0800 (PST) (envelope-from owner-freebsd-current) 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 PAA28203 for ; Mon, 15 Dec 1997 15:42:28 -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 BAA09522 for freebsd-current@freebsd.org; Tue, 16 Dec 1997 01:42:22 +0200 (SAT) From: Paul Allenby Message-Id: <199712152342.BAA09522@zibbi.mikom.csir.co.za> Subject: wd and DMA To: freebsd-current@freebsd.org Date: Tue, 16 Dec 1997 01:42:21 +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-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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