From owner-freebsd-hackers Tue Dec 12 1: 5:22 2000 From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 12 01:05:20 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.alcove.fr (smtp.alcove.fr [212.155.209.139]) by hub.freebsd.org (Postfix) with ESMTP id 78D6137B400 for ; Tue, 12 Dec 2000 01:05:19 -0800 (PST) Received: from wiliam.alcove-int ([10.16.110.19]) by smtp.alcove.fr with esmtp (Exim 3.12 #1 (Debian)) id 145lN4-00075M-00; Tue, 12 Dec 2000 10:05:14 +0100 Received: from nsouch by wiliam.alcove-int with local (Exim 3.12 #1 (Debian)) id 145lN4-0001ha-00; Tue, 12 Dec 2000 10:05:14 +0100 Date: Tue, 12 Dec 2000 10:05:14 +0100 From: Nicolas Souchu To: Warner Losh Cc: hackers@FreeBSD.ORG Subject: Re: Partial start on pci + serial/parallel cards Message-ID: <20001212100513.B6007@wiliam.alcove-int> References: <20001211154207.A25074@wiliam.alcove-int> <200012090613.XAA18688@harmony.village.org> <20001211154207.A25074@wiliam.alcove-int> <200012111836.LAA38242@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.4i In-Reply-To: <200012111836.LAA38242@harmony.village.org>; from imp@village.org on Mon, Dec 11, 2000 at 11:36:22AM -0700 Organization: =?iso-8859-1?Q?Alc=F4ve=2C_http:=2F=2Fwww=2Ealcove=2Efr?= Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Dec 11, 2000 at 11:36:22AM -0700, Warner Losh wrote: > In message <20001211154207.A25074@wiliam.alcove-int> Nicolas Souchu writes: > : On Fri, Dec 08, 2000 at 11:13:12PM -0700, Warner Losh wrote: > : > > : > OK. I have a partial start on the serial/parallel cards. It isn't > : > attaching anything yet, but should give people an idea on the > : > direction I'd like to head. > : > > : > As part of this work, I'll likely remove pci attachment of sio, and > : > change it to puc. puc is the name NetBSD uses (I snagged the tables > : > and some code from NetBSD's puc driver, btw) so I kept using it. I'll > : > also need to add puc attachments to sio and ppc drivers. > : > : What will actually happened to them, especially ppc? Currently, ppc is > : isa dependent so why should we change the DRIVER_MODULE directive to > : attach to puc? > > I'd make ppc less isa specific, but it isn't that hard to do from You must think of moving the microseq interpretation in an other file. > looking at the code. I'd also think about moving it to dev/ppc with a > ppc_isa.c and ppc_puc.c. This is something I don't understand. If ppc_puc is a PCI driver why don't you put in the pci directory and let ppc_isa in isa one? Nicholas -- Nicolas.Souchu@alcove.fr Alcôve - Open Source Software Engineer - http://www.alcove.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message