From owner-freebsd-hackers Tue Nov 10 12:43:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA12154 for freebsd-hackers-outgoing; Tue, 10 Nov 1998 12:43:14 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA12139 for ; Tue, 10 Nov 1998 12:43:11 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id MAA00383; Tue, 10 Nov 1998 12:42:04 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199811102042.MAA00383@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: lcremean@tidalwave.net cc: hackers@FreeBSD.ORG Subject: Re: What is void *arg in pci_map_int used for? In-reply-to: Your message of "Tue, 10 Nov 1998 15:19:42 EST." <19981110151942.A6604@tidalwave.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 10 Nov 1998 12:42:03 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > The subject says it all...(and once I understand it, I may write a man page > so I won't forget any of it.) It's saved and passed to the interrupt handler when it's invoked. Typically it will be a pointer to the softc structure for the device, so that you can reuse one interrupt handler for multiple instances of a particular type of device. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message