4 * Copyright (C) 1998/1999 R.E.Wolff@BitWizard.nl
6 * written for the SX serial driver.
7 * Contains the code that should be shared over all the serial drivers.
9 * Credit for the idea to do it this way might go to Alan Cox.
12 * Version 0.1 -- December, 1998. Initial version.
13 * Version 0.2 -- March, 1999. Some more routines. Bugfixes. Etc.
14 * Version 0.5 -- August, 1999. Some more fixes. Reformat for Linus.
16 * BitWizard is actively maintaining this file. We sometimes find
17 * that someone submitted changes to this file. We really appreciate
18 * your help, but please submit changes through us. We're doing our
19 * best to be responsive. -- REW
22 #include <linux/module.h>
23 #include <linux/kernel.h>
24 #include <linux/tty.h>
25 #include <linux/serial.h>
27 #include <linux/generic_serial.h>
28 #include <linux/interrupt.h>
29 #include <linux/tty_flip.h>
30 #include <linux/delay.h>
31 #include <asm/uaccess.h>
38 #define gs_dprintk(f, str...) if (gs_debug & f) printk (str)
40 #define gs_dprintk(f, str...) /* nothing */
43 #define func_enter() gs_dprintk (GS_DEBUG_FLOW, "gs: enter %s\n", __func__)
44 #define func_exit() gs_dprintk (GS_DEBUG_FLOW, "gs: exit %s\n", __func__)
46 #define RS_EVENT_WRITE_WAKEUP 1
48 module_param(gs_debug
, int, 0644);
51 int gs_put_char(struct tty_struct
* tty
, unsigned char ch
)
57 port
= tty
->driver_data
;
61 if (! (port
->port
.flags
& ASYNC_INITIALIZED
)) return 0;
63 /* Take a lock on the serial tranmit buffer! */
64 mutex_lock(& port
->port_write_mutex
);
66 if (port
->xmit_cnt
>= SERIAL_XMIT_SIZE
- 1) {
67 /* Sorry, buffer is full, drop character. Update statistics???? -- REW */
68 mutex_unlock(&port
->port_write_mutex
);
72 port
->xmit_buf
[port
->xmit_head
++] = ch
;
73 port
->xmit_head
&= SERIAL_XMIT_SIZE
- 1;
74 port
->xmit_cnt
++; /* Characters in buffer */
76 mutex_unlock(&port
->port_write_mutex
);
83 > Problems to take into account are:
84 > -1- Interrupts that empty part of the buffer.
85 > -2- page faults on the access to userspace.
86 > -3- Other processes that are also trying to do a "write".
89 int gs_write(struct tty_struct
* tty
,
90 const unsigned char *buf
, int count
)
98 port
= tty
->driver_data
;
102 if (! (port
->port
.flags
& ASYNC_INITIALIZED
))
105 /* get exclusive "write" access to this port (problem 3) */
106 /* This is not a spinlock because we can have a disk access (page
107 fault) in copy_from_user */
108 mutex_lock(& port
->port_write_mutex
);
114 /* This is safe because we "OWN" the "head". Noone else can
115 change the "head": we own the port_write_mutex. */
116 /* Don't overrun the end of the buffer */
117 t
= SERIAL_XMIT_SIZE
- port
->xmit_head
;
120 /* This is safe because the xmit_cnt can only decrease. This
121 would increase "t", so we might copy too little chars. */
122 /* Don't copy past the "head" of the buffer */
123 t
= SERIAL_XMIT_SIZE
- 1 - port
->xmit_cnt
;
126 /* Can't copy more? break out! */
129 memcpy (port
->xmit_buf
+ port
->xmit_head
, buf
, c
);
131 port
-> xmit_cnt
+= c
;
132 port
-> xmit_head
= (port
->xmit_head
+ c
) & (SERIAL_XMIT_SIZE
-1);
137 mutex_unlock(& port
->port_write_mutex
);
139 gs_dprintk (GS_DEBUG_WRITE
, "write: interrupts are %s\n",
140 (port
->port
.flags
& GS_TX_INTEN
)?"enabled": "disabled");
142 if (port
->xmit_cnt
&&
145 !(port
->port
.flags
& GS_TX_INTEN
)) {
146 port
->port
.flags
|= GS_TX_INTEN
;
147 port
->rd
->enable_tx_interrupts (port
);
155 int gs_write_room(struct tty_struct
* tty
)
157 struct gs_port
*port
= tty
->driver_data
;
161 ret
= SERIAL_XMIT_SIZE
- port
->xmit_cnt
- 1;
169 int gs_chars_in_buffer(struct tty_struct
*tty
)
171 struct gs_port
*port
= tty
->driver_data
;
175 return port
->xmit_cnt
;
179 static int gs_real_chars_in_buffer(struct tty_struct
*tty
)
181 struct gs_port
*port
;
184 port
= tty
->driver_data
;
186 if (!port
->rd
) return 0;
187 if (!port
->rd
->chars_in_buffer
) return 0;
190 return port
->xmit_cnt
+ port
->rd
->chars_in_buffer (port
);
194 static int gs_wait_tx_flushed (void * ptr
, unsigned long timeout
)
196 struct gs_port
*port
= ptr
;
197 unsigned long end_jiffies
;
198 int jiffies_to_transmit
, charsleft
= 0, rv
= 0;
203 gs_dprintk (GS_DEBUG_FLUSH
, "port=%p.\n", port
);
205 gs_dprintk (GS_DEBUG_FLUSH
, "xmit_cnt=%x, xmit_buf=%p, tty=%p.\n",
206 port
->xmit_cnt
, port
->xmit_buf
, port
->port
.tty
);
209 if (!port
|| port
->xmit_cnt
< 0 || !port
->xmit_buf
) {
210 gs_dprintk (GS_DEBUG_FLUSH
, "ERROR: !port, !port->xmit_buf or prot->xmit_cnt < 0.\n");
212 return -EINVAL
; /* This is an error which we don't know how to handle. */
215 rcib
= gs_real_chars_in_buffer(port
->port
.tty
);
218 gs_dprintk (GS_DEBUG_FLUSH
, "nothing to wait for.\n");
222 /* stop trying: now + twice the time it would normally take + seconds */
223 if (timeout
== 0) timeout
= MAX_SCHEDULE_TIMEOUT
;
224 end_jiffies
= jiffies
;
225 if (timeout
!= MAX_SCHEDULE_TIMEOUT
)
226 end_jiffies
+= port
->baud
?(2 * rcib
* 10 * HZ
/ port
->baud
):0;
227 end_jiffies
+= timeout
;
229 gs_dprintk (GS_DEBUG_FLUSH
, "now=%lx, end=%lx (%ld).\n",
230 jiffies
, end_jiffies
, end_jiffies
-jiffies
);
232 /* the expression is actually jiffies < end_jiffies, but that won't
233 work around the wraparound. Tricky eh? */
234 while ((charsleft
= gs_real_chars_in_buffer (port
->port
.tty
)) &&
235 time_after (end_jiffies
, jiffies
)) {
237 chars * (bits/char) * (jiffies /sec) / (bits/sec) = jiffies!
240 charsleft
+= 16; /* Allow 16 chars more to be transmitted ... */
241 jiffies_to_transmit
= port
->baud
?(1 + charsleft
* 10 * HZ
/ port
->baud
):0;
242 /* ^^^ Round up.... */
243 if (jiffies_to_transmit
<= 0) jiffies_to_transmit
= 1;
245 gs_dprintk (GS_DEBUG_FLUSH
, "Expect to finish in %d jiffies "
246 "(%d chars).\n", jiffies_to_transmit
, charsleft
);
248 msleep_interruptible(jiffies_to_msecs(jiffies_to_transmit
));
249 if (signal_pending (current
)) {
250 gs_dprintk (GS_DEBUG_FLUSH
, "Signal pending. Bombing out: ");
256 gs_dprintk (GS_DEBUG_FLUSH
, "charsleft = %d.\n", charsleft
);
257 set_current_state (TASK_RUNNING
);
265 void gs_flush_buffer(struct tty_struct
*tty
)
267 struct gs_port
*port
;
272 port
= tty
->driver_data
;
276 /* XXX Would the write semaphore do? */
277 spin_lock_irqsave (&port
->driver_lock
, flags
);
278 port
->xmit_cnt
= port
->xmit_head
= port
->xmit_tail
= 0;
279 spin_unlock_irqrestore (&port
->driver_lock
, flags
);
286 void gs_flush_chars(struct tty_struct
* tty
)
288 struct gs_port
*port
;
292 port
= tty
->driver_data
;
296 if (port
->xmit_cnt
<= 0 || tty
->stopped
|| tty
->hw_stopped
||
302 /* Beats me -- REW */
303 port
->port
.flags
|= GS_TX_INTEN
;
304 port
->rd
->enable_tx_interrupts (port
);
309 void gs_stop(struct tty_struct
* tty
)
311 struct gs_port
*port
;
315 port
= tty
->driver_data
;
319 if (port
->xmit_cnt
&&
321 (port
->port
.flags
& GS_TX_INTEN
) ) {
322 port
->port
.flags
&= ~GS_TX_INTEN
;
323 port
->rd
->disable_tx_interrupts (port
);
329 void gs_start(struct tty_struct
* tty
)
331 struct gs_port
*port
;
333 port
= tty
->driver_data
;
337 if (port
->xmit_cnt
&&
339 !(port
->port
.flags
& GS_TX_INTEN
) ) {
340 port
->port
.flags
|= GS_TX_INTEN
;
341 port
->rd
->enable_tx_interrupts (port
);
347 static void gs_shutdown_port (struct gs_port
*port
)
355 if (!(port
->port
.flags
& ASYNC_INITIALIZED
))
358 spin_lock_irqsave(&port
->driver_lock
, flags
);
360 if (port
->xmit_buf
) {
361 free_page((unsigned long) port
->xmit_buf
);
362 port
->xmit_buf
= NULL
;
366 set_bit(TTY_IO_ERROR
, &port
->port
.tty
->flags
);
368 port
->rd
->shutdown_port (port
);
370 port
->port
.flags
&= ~ASYNC_INITIALIZED
;
371 spin_unlock_irqrestore(&port
->driver_lock
, flags
);
377 void gs_hangup(struct tty_struct
*tty
)
379 struct gs_port
*port
;
383 port
= tty
->driver_data
;
384 tty
= port
->port
.tty
;
388 gs_shutdown_port (port
);
389 port
->port
.flags
&= ~(ASYNC_NORMAL_ACTIVE
|GS_ACTIVE
);
390 port
->port
.tty
= NULL
;
391 port
->port
.count
= 0;
393 wake_up_interruptible(&port
->port
.open_wait
);
398 int gs_block_til_ready(void *port_
, struct file
* filp
)
400 struct gs_port
*gp
= port_
;
401 struct tty_port
*port
= &gp
->port
;
402 DECLARE_WAITQUEUE(wait
, current
);
406 struct tty_struct
*tty
;
415 gs_dprintk (GS_DEBUG_BTR
, "Entering gs_block_till_ready.\n");
417 * If the device is in the middle of being closed, then block
418 * until it's done, and then try again.
420 if (tty_hung_up_p(filp
) || port
->flags
& ASYNC_CLOSING
) {
421 interruptible_sleep_on(&port
->close_wait
);
422 if (port
->flags
& ASYNC_HUP_NOTIFY
)
428 gs_dprintk (GS_DEBUG_BTR
, "after hung up\n");
431 * If non-blocking mode is set, or the port is not enabled,
432 * then make the check up front and then exit.
434 if ((filp
->f_flags
& O_NONBLOCK
) ||
435 (tty
->flags
& (1 << TTY_IO_ERROR
))) {
436 port
->flags
|= ASYNC_NORMAL_ACTIVE
;
440 gs_dprintk (GS_DEBUG_BTR
, "after nonblock\n");
446 * Block waiting for the carrier detect and the line to become
447 * free (i.e., not in use by the callout). While we are in
448 * this loop, port->count is dropped by one, so that
449 * rs_close() knows when to free things. We restore it upon
450 * exit, either normal or abnormal.
454 add_wait_queue(&port
->open_wait
, &wait
);
456 gs_dprintk (GS_DEBUG_BTR
, "after add waitq.\n");
457 spin_lock_irqsave(&gp
->driver_lock
, flags
);
458 if (!tty_hung_up_p(filp
)) {
461 spin_unlock_irqrestore(&gp
->driver_lock
, flags
);
462 port
->blocked_open
++;
464 CD
= tty_port_carrier_raised(port
);
465 gs_dprintk (GS_DEBUG_BTR
, "CD is now %d.\n", CD
);
466 set_current_state (TASK_INTERRUPTIBLE
);
467 if (tty_hung_up_p(filp
) ||
468 !(port
->flags
& ASYNC_INITIALIZED
)) {
469 if (port
->flags
& ASYNC_HUP_NOTIFY
)
472 retval
= -ERESTARTSYS
;
475 if (!(port
->flags
& ASYNC_CLOSING
) &&
478 gs_dprintk (GS_DEBUG_BTR
, "signal_pending is now: %d (%lx)\n",
479 (int)signal_pending (current
), *(long*)(¤t
->blocked
));
480 if (signal_pending(current
)) {
481 retval
= -ERESTARTSYS
;
486 gs_dprintk (GS_DEBUG_BTR
, "Got out of the loop. (%d)\n",
488 set_current_state (TASK_RUNNING
);
489 remove_wait_queue(&port
->open_wait
, &wait
);
490 if (!tty_hung_up_p(filp
)) {
493 port
->blocked_open
--;
497 port
->flags
|= ASYNC_NORMAL_ACTIVE
;
503 void gs_close(struct tty_struct
* tty
, struct file
* filp
)
506 struct gs_port
*port
;
510 port
= (struct gs_port
*) tty
->driver_data
;
514 if (!port
->port
.tty
) {
515 /* This seems to happen when this is called from vhangup. */
516 gs_dprintk (GS_DEBUG_CLOSE
, "gs: Odd: port->port.tty is NULL\n");
517 port
->port
.tty
= tty
;
520 spin_lock_irqsave(&port
->driver_lock
, flags
);
522 if (tty_hung_up_p(filp
)) {
523 spin_unlock_irqrestore(&port
->driver_lock
, flags
);
524 if (port
->rd
->hungup
)
525 port
->rd
->hungup (port
);
530 if ((tty
->count
== 1) && (port
->port
.count
!= 1)) {
531 printk(KERN_ERR
"gs: gs_close port %p: bad port count;"
532 " tty->count is 1, port count is %d\n", port
, port
->port
.count
);
533 port
->port
.count
= 1;
535 if (--port
->port
.count
< 0) {
536 printk(KERN_ERR
"gs: gs_close port %p: bad port count: %d\n", port
, port
->port
.count
);
537 port
->port
.count
= 0;
540 if (port
->port
.count
) {
541 gs_dprintk(GS_DEBUG_CLOSE
, "gs_close port %p: count: %d\n", port
, port
->port
.count
);
542 spin_unlock_irqrestore(&port
->driver_lock
, flags
);
546 port
->port
.flags
|= ASYNC_CLOSING
;
549 * Now we wait for the transmit buffer to clear; and we notify
550 * the line discipline to only process XON/XOFF characters.
553 /* if (port->closing_wait != ASYNC_CLOSING_WAIT_NONE)
554 tty_wait_until_sent(tty, port->closing_wait); */
557 * At this point we stop accepting input. To do this, we
558 * disable the receive line status interrupts, and tell the
559 * interrupt driver to stop checking the data ready bit in the
560 * line status register.
563 port
->rd
->disable_rx_interrupts (port
);
564 spin_unlock_irqrestore(&port
->driver_lock
, flags
);
566 /* close has no way of returning "EINTR", so discard return value */
567 if (port
->closing_wait
!= ASYNC_CLOSING_WAIT_NONE
)
568 gs_wait_tx_flushed (port
, port
->closing_wait
);
570 port
->port
.flags
&= ~GS_ACTIVE
;
572 gs_flush_buffer(tty
);
574 tty_ldisc_flush(tty
);
578 port
->rd
->close (port
);
579 port
->rd
->shutdown_port (port
);
580 port
->port
.tty
= NULL
;
582 if (port
->port
.blocked_open
) {
583 if (port
->close_delay
) {
584 spin_unlock_irqrestore(&port
->driver_lock
, flags
);
585 msleep_interruptible(jiffies_to_msecs(port
->close_delay
));
586 spin_lock_irqsave(&port
->driver_lock
, flags
);
588 wake_up_interruptible(&port
->port
.open_wait
);
590 port
->port
.flags
&= ~(ASYNC_NORMAL_ACTIVE
|ASYNC_CLOSING
| ASYNC_INITIALIZED
);
591 wake_up_interruptible(&port
->port
.close_wait
);
597 void gs_set_termios (struct tty_struct
* tty
,
598 struct ktermios
* old_termios
)
600 struct gs_port
*port
;
601 int baudrate
, tmp
, rv
;
602 struct ktermios
*tiosp
;
606 port
= tty
->driver_data
;
609 if (!port
->port
.tty
) {
610 /* This seems to happen when this is called after gs_close. */
611 gs_dprintk (GS_DEBUG_TERMIOS
, "gs: Odd: port->port.tty is NULL\n");
612 port
->port
.tty
= tty
;
616 tiosp
= tty
->termios
;
618 if (gs_debug
& GS_DEBUG_TERMIOS
) {
619 gs_dprintk (GS_DEBUG_TERMIOS
, "termios structure (%p):\n", tiosp
);
622 if(old_termios
&& (gs_debug
& GS_DEBUG_TERMIOS
)) {
623 if(tiosp
->c_iflag
!= old_termios
->c_iflag
) printk("c_iflag changed\n");
624 if(tiosp
->c_oflag
!= old_termios
->c_oflag
) printk("c_oflag changed\n");
625 if(tiosp
->c_cflag
!= old_termios
->c_cflag
) printk("c_cflag changed\n");
626 if(tiosp
->c_lflag
!= old_termios
->c_lflag
) printk("c_lflag changed\n");
627 if(tiosp
->c_line
!= old_termios
->c_line
) printk("c_line changed\n");
628 if(!memcmp(tiosp
->c_cc
, old_termios
->c_cc
, NCC
)) printk("c_cc changed\n");
631 baudrate
= tty_get_baud_rate(tty
);
633 if ((tiosp
->c_cflag
& CBAUD
) == B38400
) {
634 if ( (port
->port
.flags
& ASYNC_SPD_MASK
) == ASYNC_SPD_HI
)
636 else if ((port
->port
.flags
& ASYNC_SPD_MASK
) == ASYNC_SPD_VHI
)
638 else if ((port
->port
.flags
& ASYNC_SPD_MASK
) == ASYNC_SPD_SHI
)
640 else if ((port
->port
.flags
& ASYNC_SPD_MASK
) == ASYNC_SPD_WARP
)
642 else if ((port
->port
.flags
& ASYNC_SPD_MASK
) == ASYNC_SPD_CUST
)
643 baudrate
= (port
->baud_base
/ port
->custom_divisor
);
646 /* I recommend using THIS instead of the mess in termios (and
647 duplicating the above code). Next we should create a clean
648 interface towards this variable. If your card supports arbitrary
649 baud rates, (e.g. CD1400 or 16550 based cards) then everything
650 will be very easy..... */
651 port
->baud
= baudrate
;
653 /* Two timer ticks seems enough to wakeup something like SLIP driver */
654 /* Baudrate/10 is cps. Divide by HZ to get chars per tick. */
655 tmp
= (baudrate
/ 10 / HZ
) * 2;
657 if (tmp
< 0) tmp
= 0;
658 if (tmp
>= SERIAL_XMIT_SIZE
) tmp
= SERIAL_XMIT_SIZE
-1;
660 port
->wakeup_chars
= tmp
;
662 /* We should really wait for the characters to be all sent before
663 changing the settings. -- CAL */
664 rv
= gs_wait_tx_flushed (port
, MAX_SCHEDULE_TIMEOUT
);
665 if (rv
< 0) return /* rv */;
667 rv
= port
->rd
->set_real_termios(port
);
668 if (rv
< 0) return /* rv */;
671 (old_termios
->c_cflag
& CRTSCTS
)) &&
672 !( tiosp
->c_cflag
& CRTSCTS
)) {
677 #ifdef tytso_patch_94Nov25_1726
678 /* This "makes sense", Why is it commented out? */
680 if (!(old_termios
->c_cflag
& CLOCAL
) &&
681 (tty
->termios
->c_cflag
& CLOCAL
))
682 wake_up_interruptible(&port
->gs
.open_wait
);
691 /* Must be called with interrupts enabled */
692 int gs_init_port(struct gs_port
*port
)
698 if (port
->port
.flags
& ASYNC_INITIALIZED
) {
702 if (!port
->xmit_buf
) {
703 /* We may sleep in get_zeroed_page() */
706 tmp
= get_zeroed_page(GFP_KERNEL
);
707 spin_lock_irqsave (&port
->driver_lock
, flags
);
711 port
->xmit_buf
= (unsigned char *) tmp
;
712 spin_unlock_irqrestore(&port
->driver_lock
, flags
);
713 if (!port
->xmit_buf
) {
719 spin_lock_irqsave (&port
->driver_lock
, flags
);
721 clear_bit(TTY_IO_ERROR
, &port
->port
.tty
->flags
);
722 mutex_init(&port
->port_write_mutex
);
723 port
->xmit_cnt
= port
->xmit_head
= port
->xmit_tail
= 0;
724 spin_unlock_irqrestore(&port
->driver_lock
, flags
);
725 gs_set_termios(port
->port
.tty
, NULL
);
726 spin_lock_irqsave (&port
->driver_lock
, flags
);
727 port
->port
.flags
|= ASYNC_INITIALIZED
;
728 port
->port
.flags
&= ~GS_TX_INTEN
;
730 spin_unlock_irqrestore(&port
->driver_lock
, flags
);
736 int gs_setserial(struct gs_port
*port
, struct serial_struct __user
*sp
)
738 struct serial_struct sio
;
740 if (copy_from_user(&sio
, sp
, sizeof(struct serial_struct
)))
743 if (!capable(CAP_SYS_ADMIN
)) {
744 if ((sio
.baud_base
!= port
->baud_base
) ||
745 (sio
.close_delay
!= port
->close_delay
) ||
746 ((sio
.flags
& ~ASYNC_USR_MASK
) !=
747 (port
->port
.flags
& ~ASYNC_USR_MASK
)))
751 port
->port
.flags
= (port
->port
.flags
& ~ASYNC_USR_MASK
) |
752 (sio
.flags
& ASYNC_USR_MASK
);
754 port
->baud_base
= sio
.baud_base
;
755 port
->close_delay
= sio
.close_delay
;
756 port
->closing_wait
= sio
.closing_wait
;
757 port
->custom_divisor
= sio
.custom_divisor
;
759 gs_set_termios (port
->port
.tty
, NULL
);
765 /*****************************************************************************/
768 * Generate the serial struct info.
771 int gs_getserial(struct gs_port
*port
, struct serial_struct __user
*sp
)
773 struct serial_struct sio
;
775 memset(&sio
, 0, sizeof(struct serial_struct
));
776 sio
.flags
= port
->port
.flags
;
777 sio
.baud_base
= port
->baud_base
;
778 sio
.close_delay
= port
->close_delay
;
779 sio
.closing_wait
= port
->closing_wait
;
780 sio
.custom_divisor
= port
->custom_divisor
;
783 /* If you want you can override these. */
784 sio
.type
= PORT_UNKNOWN
;
785 sio
.xmit_fifo_size
= -1;
790 if (port
->rd
->getserial
)
791 port
->rd
->getserial (port
, &sio
);
793 if (copy_to_user(sp
, &sio
, sizeof(struct serial_struct
)))
800 void gs_got_break(struct gs_port
*port
)
804 tty_insert_flip_char(port
->port
.tty
, 0, TTY_BREAK
);
805 tty_schedule_flip(port
->port
.tty
);
806 if (port
->port
.flags
& ASYNC_SAK
) {
807 do_SAK (port
->port
.tty
);
814 EXPORT_SYMBOL(gs_put_char
);
815 EXPORT_SYMBOL(gs_write
);
816 EXPORT_SYMBOL(gs_write_room
);
817 EXPORT_SYMBOL(gs_chars_in_buffer
);
818 EXPORT_SYMBOL(gs_flush_buffer
);
819 EXPORT_SYMBOL(gs_flush_chars
);
820 EXPORT_SYMBOL(gs_stop
);
821 EXPORT_SYMBOL(gs_start
);
822 EXPORT_SYMBOL(gs_hangup
);
823 EXPORT_SYMBOL(gs_block_til_ready
);
824 EXPORT_SYMBOL(gs_close
);
825 EXPORT_SYMBOL(gs_set_termios
);
826 EXPORT_SYMBOL(gs_init_port
);
827 EXPORT_SYMBOL(gs_setserial
);
828 EXPORT_SYMBOL(gs_getserial
);
829 EXPORT_SYMBOL(gs_got_break
);
831 MODULE_LICENSE("GPL");