mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Pass in the new-bus flags to alpha_setup_intr().
This commit is contained in:
parent
90652ed180
commit
a07b7a4e35
7 changed files with 9 additions and 8 deletions
|
|
@ -320,7 +320,7 @@ isa_setup_intr(device_t dev, device_t child,
|
|||
error = alpha_setup_intr(
|
||||
device_get_nameunit(child ? child : dev),
|
||||
0x800 + (irq->r_start << 4), isa_handle_intr, ii,
|
||||
ithread_priority(flags), &ii->ih,
|
||||
ithread_priority(flags), flags, &ii->ih,
|
||||
&intrcnt[INTRCNT_ISA_IRQ + irq->r_start],
|
||||
NULL, NULL);
|
||||
if (error) {
|
||||
|
|
|
|||
|
|
@ -376,7 +376,7 @@ mcpcia_setup_intr(device_t dev, device_t child, struct resource *ir, int flags,
|
|||
birq = irq + INTRCNT_KN300_IRQ;
|
||||
pri = ithread_priority(flags);
|
||||
error = alpha_setup_intr(device_get_nameunit(child ? child : dev), h,
|
||||
intr, arg, pri, cp, &intrcnt[birq],
|
||||
intr, arg, pri, flags, cp, &intrcnt[birq],
|
||||
mcpcia_disable_intr_vec, mcpcia_enable_intr_vec);
|
||||
if (error)
|
||||
return error;
|
||||
|
|
|
|||
|
|
@ -371,7 +371,7 @@ apecs_setup_intr(device_t dev, device_t child,
|
|||
|
||||
error = alpha_setup_intr(device_get_nameunit(child ? child : dev),
|
||||
0x900 + (irq->r_start << 4), intr, arg,
|
||||
ithread_priority(flags), cookiep,
|
||||
ithread_priority(flags), flags, cookiep,
|
||||
&intrcnt[INTRCNT_EB64PLUS_IRQ + irq->r_start],
|
||||
apecs_disable_intr, apecs_enable_intr);
|
||||
if (error)
|
||||
|
|
|
|||
|
|
@ -542,7 +542,7 @@ cia_setup_intr(device_t dev, device_t child,
|
|||
error = alpha_setup_intr(
|
||||
device_get_nameunit(child ? child : dev),
|
||||
0x900 + (irq->r_start << 4), intr, arg,
|
||||
ithread_priority(flags), cookiep,
|
||||
ithread_priority(flags), flags, cookiep,
|
||||
&intrcnt[INTRCNT_EB164_IRQ + irq->r_start],
|
||||
cia_disable_intr, cia_enable_intr);
|
||||
if (error)
|
||||
|
|
|
|||
|
|
@ -373,8 +373,8 @@ t2_setup_intr(device_t dev, device_t child,
|
|||
return error;
|
||||
|
||||
error = alpha_setup_intr(device_get_nameunit(child ? child : dev),
|
||||
vector, intr, arg, ithread_priority(flags), cookiep,
|
||||
&intrcnt[irq->r_start],
|
||||
vector, intr, arg, ithread_priority(flags), flags,
|
||||
cookiep, &intrcnt[irq->r_start],
|
||||
t2_disable_intr, t2_enable_intr);
|
||||
if (error)
|
||||
return error;
|
||||
|
|
|
|||
|
|
@ -331,7 +331,7 @@ tsunami_setup_intr(device_t dev, device_t child,
|
|||
|
||||
error = alpha_setup_intr(device_get_nameunit(child ? child : dev),
|
||||
0x900 + (irq->r_start << 4), intr, arg,
|
||||
ithread_priority(flags), cookiep,
|
||||
ithread_priority(flags), flags, cookiep,
|
||||
&intrcnt[INTRCNT_EB164_IRQ + irq->r_start],
|
||||
tsunami_disable_intr_vec, tsunami_enable_intr_vec);
|
||||
if (error)
|
||||
|
|
|
|||
|
|
@ -393,7 +393,8 @@ dwlpx_setup_intr(device_t dev, device_t child, struct resource *irq, int flags,
|
|||
vector = DWLPX_MVEC(ionode, hose, slot);
|
||||
pri = ithread_priority(flags);
|
||||
error = alpha_setup_intr(device_get_nameunit(child ? child : dev),
|
||||
vector, intr, arg, pri, cookiep, &intrcnt[INTRCNT_KN8AE_IRQ], NULL, NULL);
|
||||
vector, intr, arg, pri, flags, cookiep,
|
||||
&intrcnt[INTRCNT_KN8AE_IRQ], NULL, NULL);
|
||||
if (error)
|
||||
return error;
|
||||
dwlpx_enadis_intr(vector, intpin, 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue