diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2020-06-17 08:20:43 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2020-06-17 08:20:43 +0000 |
commit | 7e27e06eb143c40e324bbd39c3beba3de7c7aa96 (patch) | |
tree | 20591f7feacc373d3e610df24a5974f5e68a528a | |
parent | ff9f7f3f2681a6765ab30ec14f313ea8ec311fab (diff) |
put pci_intr_establish_cpu() in, but commented out for now.
it's only available on amd64 (and i386), so don't really want to
encourage it's use just yet.
-rw-r--r-- | share/man/man9/pci_intr_map.9 | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/share/man/man9/pci_intr_map.9 b/share/man/man9/pci_intr_map.9 index 8e5b036b378..ff8b022f6df 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.16 2020/06/17 07:58:25 dlg Exp $ +.\" $OpenBSD: pci_intr_map.9,v 1.17 2020/06/17 08:20:42 dlg Exp $ .\" .\" Copyright (c) 2005 Michael Shalayeff .\" All rights reserved. @@ -25,6 +25,7 @@ .Nm pci_intr_line , .Nm pci_intr_string , .Nm pci_intr_establish , +.\" .Nm pci_intr_establish_cpu , .Nm pci_intr_disestablish .Nd PCI interrupts .Sh SYNOPSIS @@ -56,6 +57,16 @@ .Fa "void *arg" .Fa "const char *name" .Fc +.\" .Ft void * +.\" .Fo pci_intr_establish_cpu +.\" .Fa "pci_chipset_tag_t pc" +.\" .Fa "pci_intr_handle_t ih" +.\" .Fa "int level" +.\" .Fa "struct cpu_info *ci" +.\" .Fa "int (*func)(void *)" +.\" .Fa "void *arg" +.\" .Fa "const char *name" +.\" .Fc .Ft void .Fn pci_intr_disestablish "pci_chipset_tag_t pc" "void *v" .Sh DESCRIPTION @@ -107,13 +118,23 @@ argument specifying which interrupt vector to map. Having initialised the .Fa pci_intr_handle_t in the previous step, an interrupt handler can be established using -.Fn pci_intr_establish -or converted into printable form using -.Fn pci_intr_string . +.Fn pci_intr_establish . +.\" or +.\" .Fn pci_intr_establish_cpu . +.\" .Fn pci_intr_establish_cpu +.\" establishes an interrupt on the CPU specified in the +.\" .Fa ci +.\" argument, while +.\" .Fn pci_intr_establish +.\" uses a system selected CPU. An established interrupt handler is always called with the system interrupt priority level set equal to, or higher than, .Fa level . .Pp +A printable string representation of an initialised interrupt mapping +can be generated with +.Fn pci_intr_string . +.Pp .Fn pci_intr_line provides the interrupt line extracted from the MD interrupt handle. Upon device detachment, |