Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
drvfbi.c File Reference
#include "h/types.h"
#include "h/fddi.h"
#include "h/smc.h"
#include "h/supern_2.h"
#include "h/skfbiinc.h"
#include <linux/bitrev.h>

Go to the source code of this file.

Macros

#define PC8_ACTIVE   8
 
#define LED_Y_ON   0x11 /* Used for ring up/down indication */
 
#define LED_Y_OFF   0x10
 
#define MS2BCLK(x)   ((x)*12500L)
 
#define ID_BYTE0   8
 
#define OEMID(smc, i)   oem_id[ID_BYTE0 + i]
 
#define STATION_LABEL_CONNECTOR_OFFSET   5
 
#define STATION_LABEL_PMD_OFFSET   6
 
#define STATION_LABEL_PORT_OFFSET   7
 

Functions

void card_stop (struct s_smc *smc)
 
void mac1_irq (struct s_smc *smc, u_short stu, u_short stl)
 
void plc1_irq (struct s_smc *smc)
 
void plc2_irq (struct s_smc *smc)
 
void timer_irq (struct s_smc *smc)
 
int pcm_get_s_port (struct s_smc *smc)
 
void read_address (struct s_smc *smc, u_char *mac_addr)
 
void init_board (struct s_smc *smc, u_char *mac_addr)
 
void sm_pm_bypass_req (struct s_smc *smc, int mode)
 
int sm_pm_bypass_present (struct s_smc *smc)
 
void plc_clear_irq (struct s_smc *smc, int p)
 
void pcm_state_change (struct s_smc *smc, int plc, int p_state)
 
void rmt_indication (struct s_smc *smc, int i)
 
void llc_recover_tx (struct s_smc *smc)
 
void driver_get_bia (struct s_smc *smc, struct fddi_addr *bia_addr)
 
void smt_start_watchdog (struct s_smc *smc)
 

Variables

const u_char oem_id [] = "xPOS_ID:xxxx"
 

Macro Definition Documentation

#define ID_BYTE0   8

Definition at line 66 of file drvfbi.c.

#define LED_Y_OFF   0x10

Definition at line 38 of file drvfbi.c.

#define LED_Y_ON   0x11 /* Used for ring up/down indication */

Definition at line 37 of file drvfbi.c.

#define MS2BCLK (   x)    ((x)*12500L)

Definition at line 41 of file drvfbi.c.

#define OEMID (   smc,
  i 
)    oem_id[ID_BYTE0 + i]

Definition at line 67 of file drvfbi.c.

#define PC8_ACTIVE   8

Definition at line 35 of file drvfbi.c.

#define STATION_LABEL_CONNECTOR_OFFSET   5

Definition at line 280 of file drvfbi.c.

#define STATION_LABEL_PMD_OFFSET   6

Definition at line 281 of file drvfbi.c.

#define STATION_LABEL_PORT_OFFSET   7

Definition at line 282 of file drvfbi.c.

Function Documentation

void card_stop ( struct s_smc smc)

Definition at line 163 of file drvfbi.c.

void driver_get_bia ( struct s_smc smc,
struct fddi_addr bia_addr 
)

Definition at line 540 of file drvfbi.c.

void init_board ( struct s_smc smc,
u_char mac_addr 
)

Definition at line 323 of file drvfbi.c.

void llc_recover_tx ( struct s_smc smc)

Definition at line 465 of file drvfbi.c.

void mac1_irq ( struct s_smc smc,
u_short  stu,
u_short  stl 
)

Definition at line 186 of file drvfbi.c.

int pcm_get_s_port ( struct s_smc smc)

Definition at line 267 of file drvfbi.c.

void pcm_state_change ( struct s_smc smc,
int  plc,
int  p_state 
)

Definition at line 440 of file drvfbi.c.

void plc1_irq ( struct s_smc smc)

Definition at line 235 of file drvfbi.c.

void plc2_irq ( struct s_smc smc)

Definition at line 246 of file drvfbi.c.

void plc_clear_irq ( struct s_smc smc,
int  p 
)

Definition at line 372 of file drvfbi.c.

void read_address ( struct s_smc smc,
u_char mac_addr 
)

Definition at line 284 of file drvfbi.c.

void rmt_indication ( struct s_smc smc,
int  i 
)

Definition at line 453 of file drvfbi.c.

int sm_pm_bypass_present ( struct s_smc smc)

Definition at line 367 of file drvfbi.c.

void sm_pm_bypass_req ( struct s_smc smc,
int  mode 
)

Definition at line 344 of file drvfbi.c.

void smt_start_watchdog ( struct s_smc smc)

Definition at line 548 of file drvfbi.c.

void timer_irq ( struct s_smc smc)

Definition at line 257 of file drvfbi.c.

Variable Documentation

const u_char oem_id[] = "xPOS_ID:xxxx"

Definition at line 62 of file drvfbi.c.