Removed all `vector xxxintr' specifications. Interrupt handlers are now
configured in drivers.
This commit is contained in:
parent
447c20659b
commit
17d1bf4260
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40589
@ -23,7 +23,7 @@
|
||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id: spl.9,v 1.5 1997/04/13 14:49:09 bde Exp $
|
||||
.\" $Id: spl.9,v 1.6 1998/01/16 18:14:34 bde Exp $
|
||||
.\" "
|
||||
.Dd July 21, 1996
|
||||
.Os
|
||||
@ -84,7 +84,7 @@ Each driver that uses interrupts is normally assigned to an interrupt
|
||||
priority group by a keyword in its config line.
|
||||
For example:
|
||||
.Bd -literal -offset indent
|
||||
device foo0 at isa? port 0x0815 irq 12 tty vector foointr
|
||||
device foo0 at isa? port 0x0815 irq 12 tty
|
||||
.Ed
|
||||
.Pp
|
||||
assigns interrupt 12 to the
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Sample driver information file for KernelDriver. See the top of
|
||||
# the KernelDriver script for a more exact definition of the syntax.
|
||||
#
|
||||
# $Id: sample.drvinfo,v 1.2 1998/05/04 03:31:03 doconnor Exp $
|
||||
# $Id: sample.drvinfo,v 1.2 1998/05/06 05:45:17 msmith Exp $
|
||||
|
||||
# Device driver name
|
||||
#
|
||||
@ -39,6 +39,6 @@ linttext
|
||||
#
|
||||
# This driver causes your system to emit occasional digestive noises.
|
||||
#
|
||||
device blorg0 at isa? port 0x123 irq 10 flags 0x10 drq 2 vector blorgintr
|
||||
device blorg1 at isa? port 0x234 irq 11 flags 0x10 drq 2 vector blorgintr
|
||||
device blorg0 at isa? port 0x123 irq 10 flags 0x10 drq 2
|
||||
device blorg1 at isa? port 0x234 irq 11 flags 0x10 drq 2
|
||||
end
|
||||
|
@ -57,7 +57,7 @@ To install the device driver, please do the following steps:
|
||||
6. Edit your kernel configuration file (in /usr/src/sys/i386/conf/)
|
||||
by inserting the following line:
|
||||
|
||||
device asc0 at isa? port 0x2ab tty drq 3 irq 10 vector ascintr
|
||||
device asc0 at isa? port 0x2ab tty drq 3 irq 10
|
||||
|
||||
This should usually work for you as it reflects the factory
|
||||
settings of the AMI scanner. However, if this conflicts with
|
||||
|
@ -36,7 +36,7 @@
|
||||
.Nm stli
|
||||
.Nd "drivers for Stallion Technologies multiport serial controllers"
|
||||
.Sh SYNOPSIS
|
||||
.Cd "stl0 at isa? port <addr> tty irq <irq> vector stlintr"
|
||||
.Cd "stl0 at isa? port <addr> tty irq <irq>"
|
||||
.Cd "stli0 at isa? port <io-addr> tty iomem <mem-addr> iosiz <size> flags <type> "
|
||||
.Cd "stli0 at eisa? port <io-addr> tty iomem <mem-addr> iosiz <size> flags <type> "
|
||||
.Sh DESCRIPTION
|
||||
@ -78,7 +78,7 @@ ISA board configuration entries for the
|
||||
.Nm stl
|
||||
driver take the general form of:
|
||||
.Pp
|
||||
.Cd "stlX at isa? port <io-addr> tty irq <irq> vector stlintr"
|
||||
.Cd "stlX at isa? port <io-addr> tty irq <irq>"
|
||||
.Pp
|
||||
.Ar X
|
||||
is the unit number assigned to the board.
|
||||
@ -119,7 +119,7 @@ board types.
|
||||
Each EasyIO board requires 8 bytes of I/O address space and 1 IRQ line.
|
||||
A configuration entry for an EasyIO board would look like:
|
||||
.Pp
|
||||
.Cd "stl0 at isa? port 0x2a8 tty irq 15 vector stlintr"
|
||||
.Cd "stl0 at isa? port 0x2a8 tty irq 15"
|
||||
.Pp
|
||||
This entry specifies an EasyIO board at I/O address 0x2a8 using IRQ 15.
|
||||
The I/O and IRQ values can be modified as required.
|
||||
@ -133,7 +133,7 @@ by multiple EasyConnection 8/32-AT boards.
|
||||
This secondary I/O address is set at 0x280 in the driver code.
|
||||
A configuration entry would look like:
|
||||
.Pp
|
||||
.Cd "stl0 at isa? port 0x2a0 irq 10 tty vector stlintr"
|
||||
.Cd "stl0 at isa? port 0x2a0 irq 10 tty"
|
||||
.Pp
|
||||
This specifies an EasyConnection 8/32-AT with primary I/O address 0x2a0,
|
||||
secondary I/O address of 0x280 and IRQ 10.
|
||||
|
@ -89,7 +89,7 @@ connect to your parallel port.
|
||||
|
||||
Add a line like the following
|
||||
|
||||
device tw0 at isa? port 0x278 tty irq 5 vector twintr
|
||||
device tw0 at isa? port 0x278 tty irq 5
|
||||
|
||||
to /sys/i386/conf/YOURSYSTEM, but make sure to change the I/O port and
|
||||
interrupt to match your hardware configuration.
|
||||
@ -274,8 +274,8 @@ x-10 devices fail to work when plugged in NEXT to a surge protector!
|
||||
|
||||
I placed the tw option before the lpt entries in my config file:
|
||||
|
||||
device tw0 at isa? port 0x378 tty irq 7 vector twintr
|
||||
device lpt0 at isa? port? tty irq 7 vector lptintr
|
||||
device tw0 at isa? port 0x378 tty irq 7
|
||||
device lpt0 at isa? port? tty irq 7
|
||||
|
||||
from dmesg I get:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user