From owner-freebsd-hackers Sun Oct 26 23:55:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA24352 for hackers-outgoing; Sun, 26 Oct 1997 23:55:20 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA24346 for ; Sun, 26 Oct 1997 23:55:15 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id HAA03134; Mon, 27 Oct 1997 07:41:11 +0100 From: Luigi Rizzo Message-Id: <199710270641.HAA03134@labinfo.iet.unipi.it> Subject: a question about LKM To: hackers@freebsd.org Date: Mon, 27 Oct 1997 07:41:11 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I am looking at how ot make my audio driver an LKM. I have seen some examples of LKMs but none of them uses interrupts. As a consequence, I am a bit unclear on what actions should be done at load time (and especially, at unload time) so that interrupts are properly delivered. For the attach part i can probably figure it out -- just do the standard attach() action -- but what for the detach ? Can anyone help ? Thanks Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________