diff options
author | imp <imp@FreeBSD.org> | 2000-10-16 19:43:44 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-10-16 19:43:44 +0000 |
commit | c9f8de22b0abb035954aea7cf08a66c0ef564349 (patch) | |
tree | 8321ce9a074b9b7d3782ce446626e9ddf7db780a /sys/dev/pci/pcib_if.m | |
parent | c96e987bcddc90bdd81d23366b1b50b37294ba2c (diff) | |
download | FreeBSD-src-c9f8de22b0abb035954aea7cf08a66c0ef564349.zip FreeBSD-src-c9f8de22b0abb035954aea7cf08a66c0ef564349.tar.gz |
Forgot to commit this last night.
Define interrupt routing method.
Submitted by: msmith
Diffstat (limited to 'sys/dev/pci/pcib_if.m')
-rw-r--r-- | sys/dev/pci/pcib_if.m | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/dev/pci/pcib_if.m b/sys/dev/pci/pcib_if.m index b50df4b..2b38ef7 100644 --- a/sys/dev/pci/pcib_if.m +++ b/sys/dev/pci/pcib_if.m @@ -69,3 +69,13 @@ METHOD void write_config { u_int32_t value; int width; }; + +# +# Route an interrupt. Returns a value suitable for stuffing into +# a device's interrupt register. +# +METHOD int route_interrupt { + device_t dev; + int device; + int pin; +}; |