From owner-freebsd-current Sun Apr 19 20:24:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA26926 for freebsd-current-outgoing; Sun, 19 Apr 1998 20:24:15 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from d183-205.uoregon.edu (d183-205.uoregon.edu [128.223.183.205]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA26919 for ; Mon, 20 Apr 1998 03:24:14 GMT (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by d183-205.uoregon.edu (8.8.7/8.8.7) id UAA16225; Sun, 19 Apr 1998 20:24:12 -0700 (PDT) Message-ID: <19980419202411.35613@hydrogen.nike.efn.org> Date: Sun, 19 Apr 1998 20:24:11 -0700 From: John-Mark Gurney To: "Matthew N. Dodd" Cc: current@FreeBSD.ORG Subject: Re: source code layout? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: ; from Matthew N. Dodd on Sun, Apr 19, 1998 at 10:06:20PM -0400 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew N. Dodd scribbled this message on Apr 19: > Ok, we've got sys/pci for PCI devices which as near as I can tell is > fairly i386 specific which should imply that it be located in > sys/i386/pci. > > We've got sys/dev for device files that should be arch independent but > some aren't. > > I'm working on a driver that would like to have the isa specific bits in > sys/i386/isa and the EISA bits in sys/i386/eisa, and the rest in > sys/i386/dev/tce, but we have no sys/i386/dev. > > Should we? > > I don't believe these bits (and others floating in the source tree) belong > in sys/dev. I personally think we should go with a src tree layout closer to that of NetBSD... but I'm also working on rewriting the bus/device system so that ALL devices use the EXACT same interface to the bus... this will allow us to write a single device driver for ns8390 parts, and simply write a detect routine around it, and we get complete support for all types of busses.. this of course will mean a rewrite of all the current device drivers which is going to be a big job... this is also going to allow a multitude of other things that will hinge on kld... such as complete dynamic device drivers... I haven't made much progress, but a spec is at http://resnet.uoregon.edu:6971/~jmg/FreeBSD/busdevice.html... this isn't a final, but it will be similar to what you see... -- John-Mark Gurney Modem Rev/FAX: +1 541 346 9237 Cu Networking P.O. Box 5693, 97405 Live in Peace, destroy Micro$oft, support free software, run FreeBSD Don't trust anyone you don't have the source for To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message