From owner-freebsd-current Sat Dec 4 9:28: 6 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.rdc1.az.home.com (ha1.rdc1.az.home.com [24.1.240.66]) by hub.freebsd.org (Postfix) with ESMTP id DC78C15192; Sat, 4 Dec 1999 09:28:02 -0800 (PST) (envelope-from straka@home.com) Received: from home.com ([24.1.209.47]) by mail.rdc1.az.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <19991204172729.CGKF7363.mail.rdc1.az.home.com@home.com>; Sat, 4 Dec 1999 09:27:29 -0800 Message-ID: <38494F00.84C5E0D@home.com> Date: Sat, 04 Dec 1999 10:27:28 -0700 From: "Richard S. Straka" X-Mailer: Mozilla 4.05 [en] (X11; U; FreeBSD 4.0-CURRENT i386) MIME-Version: 1.0 To: Bruce Evans Cc: current@FreeBSD.ORG, peter@FreeBSD.ORG Subject: Re: ide dma support not enabled References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bruce Evans wrote: > On Fri, 3 Dec 1999, Richard S. Straka wrote: > > > A kernel built from current source which was cvsup'ed today at > > approximately 10:00 pm MST no longer enables DMA support on my > > IDE drives. A previous kernel from 27 Nov had no problems > > recognizing and enabling IDE DMA support. > > This was broken in rev.1.132 of sys/pci.pci.c. > > Quick fix (ifdef away rev.1.132): > > diff -c2 pci.c~ pci.c > *** pci.c~ Sat Dec 4 20:08:44 1999 > --- pci.c Sat Dec 4 22:28:37 1999 > *************** > *** 879,884 **** > --- 879,888 ---- > if (name) { > device_set_desc_copy(dev, name); > + #ifdef WANT_BROKEN_IDE_PCI > /* Allow newbus drivers to match "better" */ > error = -1000; > + #else > + error = 0; > + #endif > } > } > > Bruce Bruce, Works like a champ. IDE DMA is back. Thanks, Rich Straka straka@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message