Forgot to commit this last night.
Define interrupt routing method. Submitted by: msmith
This commit is contained in:
parent
9115dc7cd6
commit
8e2e4b4cc6
@ -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;
|
||||
};
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user