diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2008-12-08 20:50:21 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2008-12-08 20:50:21 +0000 |
commit | 32586c93d9c8486427718b1e0f474c37a30a2bc8 (patch) | |
tree | c303bf93840d6a27b36500b9bf622c308b0cdf2c /sys/arch/arm/s3c2xx0/sscom_s3c2410.c | |
parent | e635ed2fe5cf33d147a802ab7ca27cbe5c73d1a5 (diff) |
some sscom and interrupt cleanup, closer to usable userland.
Diffstat (limited to 'sys/arch/arm/s3c2xx0/sscom_s3c2410.c')
-rw-r--r-- | sys/arch/arm/s3c2xx0/sscom_s3c2410.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/arm/s3c2xx0/sscom_s3c2410.c b/sys/arch/arm/s3c2xx0/sscom_s3c2410.c index 07c03b9b762..0b84d383ef1 100644 --- a/sys/arch/arm/s3c2xx0/sscom_s3c2410.c +++ b/sys/arch/arm/s3c2xx0/sscom_s3c2410.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sscom_s3c2410.c,v 1.1 2008/11/26 14:39:14 drahn Exp $ */ +/* $OpenBSD: sscom_s3c2410.c,v 1.2 2008/12/08 20:50:20 drahn Exp $ */ /* $NetBSD: sscom_s3c2410.c,v 1.2 2005/12/11 12:16:51 christos Exp $ */ /* @@ -143,7 +143,6 @@ sscom_attach(struct device *parent, struct device *self, void *aux) return; } - printf("\n"); s3c24x0_intr_establish(s3c2410_uart_config[unit].tx_int, IPL_SERIAL, IST_LEVEL, sscomtxintr, sc); @@ -152,6 +151,10 @@ sscom_attach(struct device *parent, struct device *self, void *aux) s3c24x0_intr_establish(s3c2410_uart_config[unit].err_int, IPL_SERIAL, IST_LEVEL, sscomrxintr, sc); sscom_disable_txrxint(sc); + printf(" txirq %d rxirq %d mirq %d\n", + s3c2410_uart_config[unit].tx_int, + s3c2410_uart_config[unit].rx_int, + s3c2410_uart_config[unit].err_int); sscom_attach_subr(sc); } |