1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-11 14:10:34 +00:00

Forgot to commit this last night.

Define interrupt routing method.

Submitted by: msmith
This commit is contained in:
Warner Losh 2000-10-16 19:43:44 +00:00
parent 69d1f468bf
commit 8302c16686
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67222
2 changed files with 20 additions and 0 deletions

View File

@ -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;
};

View File

@ -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;
};