summaryrefslogtreecommitdiff
path: root/device/chario.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-09 23:57:25 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-10 00:45:11 +0100
commit8a3e30669d914581c47554b2a0325cafee147712 (patch)
tree80430f611f1e078eec6d3b929a90f0c989585304 /device/chario.c
parent8d613a9cf8065e729694116132ec7ce703dabf10 (diff)
device/cirbuf.c (cb_alloc): use vm_size_t instead of an int
This is more in line with the call to kalloc() in cb_alloc(). * device/chario.c (tty_inq_size, tty_outq_size): Use unsigned int instead if an int. * device/cirbuf.c (cb_alloc) (buf_size): Use vm_size_t instead of an int. * device/cirbuf.h (cb_alloc) (buf_size): Likewise.
Diffstat (limited to 'device/chario.c')
-rw-r--r--device/chario.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/device/chario.c b/device/chario.c
index c2887d0..91bd8e8 100644
--- a/device/chario.c
+++ b/device/chario.c
@@ -80,9 +80,9 @@ struct ldisc_switch linesw[] = {
/*
* Sizes for input and output circular buffers.
*/
-const int tty_inq_size = 4096; /* big nuf */
-const int tty_outq_size = 2048; /* Must be bigger that tthiwat */
-boolean_t pdma_default = TRUE; /* turn pseudo dma on by default */
+const unsigned int tty_inq_size = 4096; /* big nuf */
+const unsigned int tty_outq_size = 2048; /* Must be bigger that tthiwat */
+boolean_t pdma_default = TRUE; /* turn pseudo dma on by default */
/*
* compute pseudo-dma tables