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:
parent
69d1f468bf
commit
8302c16686
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67222
@ -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