From owner-freebsd-hackers Thu Aug 13 03:32:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA05428 for freebsd-hackers-outgoing; Thu, 13 Aug 1998 03:32:48 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.ppp.net (mail.ppp.net [194.64.12.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA05411 for ; Thu, 13 Aug 1998 03:32:41 -0700 (PDT) (envelope-from ernie!bert.kts.org!hm@ppp.net) Received: from casparc.ppp.net (casparc2.ppp.net [194.64.12.42]) by mail.ppp.net (8.8.8/8.8.8) with SMTP id MAA02666 for ; Thu, 13 Aug 1998 12:32:02 +0200 Received: from ernie by casparc.ppp.net with uucp (Smail3.1.28.1 #1) id m0z6ufp-002ZjZC; Thu, 13 Aug 98 12:32 MET DST Received: from bert.kts.org(really [194.55.156.2]) by ernie.kts.org via sendmail with smtp id for ; Thu, 13 Aug 1998 12:03:54 +0200 (CEST) (Smail-3.2.0.91 1997-Jan-14 #3 built 1998-Feb-14) Received: by bert.kts.org via sendmail with stdio id for freebsd-hackers@freebsd.org; Thu, 13 Aug 1998 11:57:23 +0200 (CEST) (Smail-3.2.0.94 1997-Apr-22 #1 built 1998-Jun-6) Message-Id: From: hm@kts.org (Hellmuth Michaelis) Subject: Re: developing device drivers In-Reply-To: <199808130530.BAA27253@skynet.ctr.columbia.edu> from Bill Paul at "Aug 13, 98 01:30:54 am" To: freebsd-hackers@FreeBSD.ORG (FreeBSD Hackers) Date: Thu, 13 Aug 1998 11:57:23 +0200 (CEST) Organization: Kitchen Table Systems Reply-To: hm@kts.org X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bill Paul wrote: > I second this. If you look in /usr/share/examples, you'll find a > couple of sample LKMs written by Terry Lambert. I hijacked the syscall > example from here and used it a lot to experiment with the XL driver. I'd really like to write drivers (for ISA cards) as LKM modules, but so far i don't know how to assign 1) the IRQ, 2) the iobase and 3) the membase ( and perhaps flags and spl) to the LKM at module load time. Did i miss something ? hellmuth -- Hellmuth Michaelis hm@kts.org Hamburg, Europe A duck is like a bicycle because they both have two wheels except the duck (terry@cs.weber.edu) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message