SN_SAL_SWITCH_TO_INTERRUPTS

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

sn_sal_switch_to_interrupts - Switch to interrupt driven mode  

SYNOPSIS

"SYNOPSIS"

void __init sn_sal_switch_to_interrupts (struct sn_cons_port * port);  

ARGUMENTS

port
Our sn_cons_port (which contains the uart port)
 

DESCRIPTION

In sn_sal_module_init, after we're registered with serial core and the port is added, this function is called to switch us to interrupt mode. We were previously in asynch/polling mode (using init_timer).

We attempt to switch to interrupt mode here by calling sn_sal_connect_interrupt. If that works out, we enable receive interrupts.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:49 GMT, October 09, 2005