Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 1998 12:42:03 -0800
From:      Mike Smith <mike@smith.net.au>
To:        lcremean@tidalwave.net
Cc:        hackers@FreeBSD.ORG
Subject:   Re: What is void *arg in pci_map_int used for? 
Message-ID:  <199811102042.MAA00383@dingo.cdrom.com>
In-Reply-To: Your message of "Tue, 10 Nov 1998 15:19:42 EST." <19981110151942.A6604@tidalwave.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811102042.MAA00383>