diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-04-25 15:00:47 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-04-25 15:00:47 +0000 |
commit | 88a093d815fbf2e2a4bdbb7dd0875a9017f5397b (patch) | |
tree | 9cc8b6de7e20f03efcc518920e0cd5696f420d2d /share/man | |
parent | 165231b368736791b2f327fc1104823153128333 (diff) |
reference to spl(9)
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/pci_intr_map.9 | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/share/man/man9/pci_intr_map.9 b/share/man/man9/pci_intr_map.9 index 7f51a7f07d5..8a596c151b2 100644 --- a/share/man/man9/pci_intr_map.9 +++ b/share/man/man9/pci_intr_map.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pci_intr_map.9,v 1.2 2005/11/15 15:21:51 jmc Exp $ +.\" $OpenBSD: pci_intr_map.9,v 1.3 2006/04/25 15:00:46 mickey Exp $ .\" .\" Copyright (c) 2005 Michael Shalayeff .\" All rights reserved. @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd November 20, 2005 +.Dd April 25, 2006 .Dt PCI_INTR_MAP 9 .Os .Sh NAME @@ -40,7 +40,7 @@ .Fn pci_intr_string "pci_chipset_tag_t pc" "pci_intr_handle_t ih" .Ft void * .Fn pci_intr_establish "pci_chipset_tag_t pc" "pci_intr_handle_t ih" \ -"int type" "int (*func)(void *)" "void *arg" "char *name" +"int level" "int (*func)(void *)" "void *arg" "char *name" .Ft void .Fn pci_intr_disestablish "pci_chipset_tag_t pc" "void *v" .Sh DESCRIPTION @@ -71,6 +71,12 @@ provides the interrupt line extracted from the MD interrupt handle. Upon device detachment, .Fn pci_intr_disestablish should be used to disassociate the handler from the interrupt. +.Pp +See +.Xr spl 9 +for explanation +.Va ipl +.Dq interrupt priority levels. .Sh EXAMPLES A typical code sequence for establishing a handler for a device interrupt in the driver might be: @@ -112,7 +118,8 @@ xxxattach(struct device *parent, struct device *self, void *aux) .Xr cardbus 4 , .Xr pci 4 , .Xr pcibios 4 , -.Xr pci_conf_read 9 +.Xr pci_conf_read 9 , +.Xr spl 9 .Sh HISTORY These functions first appeared in .Ox 1.2 . |