From owner-cvs-all Sun Jul 21 22:17:37 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E73B37B400; Sun, 21 Jul 2002 22:17:34 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0569C43E31; Sun, 21 Jul 2002 22:17:30 -0700 (PDT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 4E3E62A7D6; Sun, 21 Jul 2002 22:17:26 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id EA5E14C272; Sun, 21 Jul 2002 22:17:25 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id D779F3923; Sun, 21 Jul 2002 22:17:25 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Brooks Davis Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf options src/sys/dev/ata ata-isa.c In-Reply-To: <20020721214837.A32402@Odin.AC.HMC.Edu> Date: Sun, 21 Jul 2002 22:17:25 -0700 From: Peter Wemm Message-Id: <20020722051725.D779F3923@overcee.wemm.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Brooks Davis wrote: > On Sun, Jul 21, 2002 at 02:37:10PM -0700, Peter Wemm wrote: > > peter 2002/07/21 14:37:10 PDT > >=20 > > Modified files: > > sys/conf options=20 > > sys/dev/ata ata-isa.c=20 > > Log: > > Remove dependency on NPCI. Use 'options ATA_NOPCI' to compile without > > pci support. This really needs to be fixed properly some day, but judg= > ing > > by the fact that the nopci case hasn't compiled for quite a while, there > > does not seem to be much urgency. > > With Warner's recent commit making bus interface symbols always > avaiable, you can almost just compile ata-dma.c in. The main remaining > problem seems to be ata_find_dev(). > > -- Brooks When I spoke with Soren about the possibility of using function pointers based on the type of device (pci, isa, whatever), he told me that he'd thought about it for a while and had had going much further on his TODO list. ie: each device would have the dma* functions pointed to directly and thereby eliminate the big switch(). Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message