loop_close, 
     loop_xmit, 
     NULLP_FUNC,
     NULLP_FUNC, 
     loop_statistics, 
     NULLP_FUNC, 
	 LOOP_DEVICE, 
	 "LOOPBACK", 
	 MINOR_0, 
	 LOOP_IFACE, 
 	 SNMP_DEVICE_INFO(CFG_OID_LOOP, CFG_SPEED_LOOP)
	 CFG_ETHER_MAX_MTU, 
	 CFG_ETHER_MAX_MSS, 
	 CFG_ETHER_MAX_WIN_IN, 
	 CFG_ETHER_MAX_WIN_OUT, 
	 IOADD(0), 
	 EN(0), 
	 EN(0)
};

}   /* extern "C" */


/* ********************************************************************
   EXTERNS
   ********************************************************************     */
   
/* Pointer to the interface structure. We 
   look at this inside the xmit routine 
 */
extern PIFACE        RTP_FAR loop_pi;
Esempio n. 2
0
    {0,},                      /* 0 terminated list. */
};

#if (!defined (RTKBCPP) )
byte KS_HUGE r8139rxbuf[CFG_R8139_RX_BUFLEN + 16]; /* add 16 for alignment */
#endif

EDEVTABLE KS_FAR r8139_device =
{
    r8139_open, r8139_close, r8139_xmit, r8139_xmit_done,
    NULLP_FUNC, r8139_statistics, r8139_setmcast,
    R8139_DEVICE, "Realtek8139", MINOR_0, ETHER_IFACE,
    SNMP_DEVICE_INFO(CFG_OID_R8139, CFG_SPEED_R8139)
    CFG_ETHER_MAX_MTU, CFG_ETHER_MAX_MSS,
    CFG_ETHER_MAX_WIN_IN, CFG_ETHER_MAX_WIN_OUT,
    IOADD(0x300), EN(0), EN(5)
};

#endif  /* DECLARING_DATA|| BUILD_NEW_BINARY */

#if (!DECLARING_DATA)   /* exclude rest of file */
/* ********************************************************************   */
/* EXTERNS                                                                */
/* ********************************************************************   */
#if (!BUILD_NEW_BINARY)
extern EDEVTABLE KS_FAR r8139_device;
extern PR8139_SOFTC r8139softc[CFG_NUM_R8139];
extern unsigned long param[4][4];
extern struct pci_id_info_r8139 KS_FAR pci_tab_r8139[];

#if (!defined (RTKBCPP) )