git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make irq specifier to be provided when assigining irq
[lunaix-os.git]
/
lunaix-os
/
hal
/
bus
/
pci.c
diff --git
a/lunaix-os/hal/bus/pci.c
b/lunaix-os/hal/bus/pci.c
index 3e940e0b006a6a7e7c4a1f0c95e1add6ac3a6536..0543d0aef8e9ba943e58845b5ab8d1ab1ac22c0e 100644
(file)
--- a/
lunaix-os/hal/bus/pci.c
+++ b/
lunaix-os/hal/bus/pci.c
@@
-308,20
+308,19
@@
__pci_config_msi(struct pci_probe* probe, irq_t irq)
}
irq_t
}
irq_t
-pci_declare_msi_irq(irq_servant callback,
- struct pci_probe* probe, void *irq_extra)
+pci_declare_msi_irq(irq_servant callback, struct pci_probe* probe)
{
{
- return irq_declare_msg(callback, probe->loc, probe->loc
, irq_extra
);
+ return irq_declare_msg(callback, probe->loc, probe->loc);
}
int
}
int
-pci_assign_msi(struct pci_probe* probe, irq_t irq)
+pci_assign_msi(struct pci_probe* probe, irq_t irq
, void* irq_spec
)
{
int err = 0;
assert(irq->type == IRQ_MESSAGE);
{
int err = 0;
assert(irq->type == IRQ_MESSAGE);
- err = irq_assign(probe->irq_domain, irq);
+ err = irq_assign(probe->irq_domain, irq
, irq_spec
);
if (err) {
return err;
}
if (err) {
return err;
}