summaryrefslogtreecommitdiffstats
path: root/sys/alpha/pci
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-02-09 17:53:23 +0000
committerjhb <jhb@FreeBSD.org>2001-02-09 17:53:23 +0000
commit4444722abea8ce2ec79adbb75aaac0d6e63bf8e0 (patch)
tree8109f2a5f60ddf0d2e21a8297fd682b60e0060c5 /sys/alpha/pci
parent1667b748b0a4f26cef857dc41e601a34b06cb4b6 (diff)
downloadFreeBSD-src-4444722abea8ce2ec79adbb75aaac0d6e63bf8e0.zip
FreeBSD-src-4444722abea8ce2ec79adbb75aaac0d6e63bf8e0.tar.gz
Use the MI ithread helper functions in the alpha hardware interrupt code.
Diffstat (limited to 'sys/alpha/pci')
-rw-r--r--sys/alpha/pci/apecs.c3
-rw-r--r--sys/alpha/pci/cia.c3
-rw-r--r--sys/alpha/pci/t2.c5
-rw-r--r--sys/alpha/pci/tsunami.c3
4 files changed, 5 insertions, 9 deletions
diff --git a/sys/alpha/pci/apecs.c b/sys/alpha/pci/apecs.c
index 8721e33..d67f7db 100644
--- a/sys/alpha/pci/apecs.c
+++ b/sys/alpha/pci/apecs.c
@@ -370,8 +370,7 @@ apecs_setup_intr(device_t dev, device_t child,
return error;
error = alpha_setup_intr(device_get_nameunit(child ? child : dev),
- 0x900 + (irq->r_start << 4), intr, arg,
- ithread_priority(flags), flags, cookiep,
+ 0x900 + (irq->r_start << 4), intr, arg, flags, cookiep,
&intrcnt[INTRCNT_EB64PLUS_IRQ + irq->r_start],
apecs_disable_intr, apecs_enable_intr);
if (error)
diff --git a/sys/alpha/pci/cia.c b/sys/alpha/pci/cia.c
index 1bd9196..b7b8eb7 100644
--- a/sys/alpha/pci/cia.c
+++ b/sys/alpha/pci/cia.c
@@ -542,8 +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), flags, cookiep,
+ 0x900 + (irq->r_start << 4), intr, arg, flags, cookiep,
&intrcnt[INTRCNT_EB164_IRQ + irq->r_start],
cia_disable_intr, cia_enable_intr);
if (error)
diff --git a/sys/alpha/pci/t2.c b/sys/alpha/pci/t2.c
index 0e3c2a0..e0fe4ac 100644
--- a/sys/alpha/pci/t2.c
+++ b/sys/alpha/pci/t2.c
@@ -666,9 +666,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), flags,
- cookiep, &intrcnt[irq->r_start],
- t2_disable_vec, t2_enable_vec);
+ vector, intr, arg, flags, cookiep,
+ &intrcnt[irq->r_start], t2_disable_vec, t2_enable_vec);
if (error)
return error;
diff --git a/sys/alpha/pci/tsunami.c b/sys/alpha/pci/tsunami.c
index c07200a..2e67cb9 100644
--- a/sys/alpha/pci/tsunami.c
+++ b/sys/alpha/pci/tsunami.c
@@ -330,8 +330,7 @@ tsunami_setup_intr(device_t dev, device_t child,
return error;
error = alpha_setup_intr(device_get_nameunit(child ? child : dev),
- 0x900 + (irq->r_start << 4), intr, arg,
- ithread_priority(flags), flags, cookiep,
+ 0x900 + (irq->r_start << 4), intr, arg, flags, cookiep,
&intrcnt[INTRCNT_EB164_IRQ + irq->r_start],
tsunami_disable_intr_vec, tsunami_enable_intr_vec);
if (error)
OpenPOWER on IntegriCloud