START_NIC

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

 

NAME

start_nic - Turns the device on  

SYNOPSIS

"SYNOPSIS"

int start_nic (struct s2io_nic * nic);  

ARGUMENTS

nic
device private variable.
 

DESCRIPTION

This function actually turns the device on. Before this function is called,all Registers are configured from their reset states and shared memory is allocated but the NIC is still quiescent. On calling this function, the device interrupts are cleared and the NIC is literally switched on by writing into the adapter control register.  

RETURN VALUE

SUCCESS on success and -1 on failure.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURN VALUE

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