summaryrefslogtreecommitdiff
path: root/sys/src/9/bcm/uartpl011.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-07-25 08:58:58 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-07-25 08:58:58 +0200
commit811b80cae120168762e5825784a135ee4a5558e2 (patch)
tree620d154c71fdd9c3f4b082c3b90c3d589a5cab0f /sys/src/9/bcm/uartpl011.c
parentdfea95b3c29ef4a6de2713a946453d3a022ae0b4 (diff)
bcm, bcm64: make irq.$O optional and add intrdisable(), use intrenable()
the raspberry pi 4 has a new interrupt controller and pci support, so get rid of intrenable() macro and properly make intrenable function with tbdf argument.
Diffstat (limited to 'sys/src/9/bcm/uartpl011.c')
-rw-r--r--sys/src/9/bcm/uartpl011.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/bcm/uartpl011.c b/sys/src/9/bcm/uartpl011.c
index a27ec182f..cf0a37281 100644
--- a/sys/src/9/bcm/uartpl011.c
+++ b/sys/src/9/bcm/uartpl011.c
@@ -148,7 +148,7 @@ enable(Uart *uart, int ie)
disable(uart);
if(ie){
- intrenable(IRQuart, interrupt, uart, 0, uart->name);
+ intrenable(IRQuart, interrupt, uart, BUSUNKNOWN, uart->name);
reg[IMSC] = TXIM|RXIM;
}
uarton(uart);