From owner-freebsd-hackers Thu Oct 30 19:09:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA05252 for hackers-outgoing; Thu, 30 Oct 1997 19:09:25 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from bob.scl.ameslab.gov (bob.scl.ameslab.gov [147.155.137.254]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA05246 for ; Thu, 30 Oct 1997 19:09:21 -0800 (PST) (envelope-from ccsanady@bob.scl.ameslab.gov) Received: from bob.scl.ameslab.gov (localhost [127.0.0.1]) by bob.scl.ameslab.gov (8.8.7/8.8.5) with ESMTP id VAA01889; Thu, 30 Oct 1997 21:08:59 -0600 (CST) Message-Id: <199710310308.VAA01889@bob.scl.ameslab.gov> X-Mailer: exmh version 2.0zeta 7/24/97 To: John-Mark Gurney cc: Chris Vance , freebsd-hackers@FreeBSD.ORG Subject: Re: LKM Interface In-reply-to: Your message of "Thu, 30 Oct 1997 18:05:58 PST." <19971030180558.63267@hydrogen.nike.efn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 30 Oct 1997 21:08:59 -0600 From: Chris Csanady Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >actually.. Doug Rabson did some work to get a kernel linker and module >design up and running (sys/kern_{module,linker}.c, sys/link_aout.c) and >it works quite nicely... utilities to load/unload/stat are kld* in >/sbin... Wow.. I didn't realize that this was in current already. :) How do I go about converting my PCI device driver to use it? Also, are there any plans for a transition to the new module system? (elf as well?) >actually... I'm going to be also redesigning the bus/device system.. >right now each bus has it's own code, and there is no way to easily >have one bus be attached to another bus (i.e. pci to isa bridge)... > >right now my spec so far is: >http://resnet.uoregon.edu:6971/~jmg/FreeBSD/busdevice.html >but it still needs a lot of work... Have you taken a look at NetBSD's bus code? They seem to have abstracted things fairly well.. Also, it might be interesting to look into their bus dma framework as well. Chris Csanady