Forgot to commit this last night.

Define interrupt routing method.

Submitted by: msmith
This commit is contained in:
imp 2000-10-16 19:43:44 +00:00
parent 9115dc7cd6
commit 8e2e4b4cc6
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;
};