Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Dec 1999 23:02:04 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        "Richard S. Straka" <straka@home.com>
Cc:        current@FreeBSD.ORG, peter@FreeBSD.ORG
Subject:   Re: ide dma support not enabled
Message-ID:  <Pine.BSF.4.10.9912042257110.3656-100000@alphplex.bde.org>
In-Reply-To: <3848AAB0.6EA5AA6C@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9912042257110.3656-100000>