Adapter type

Adapter type parameter for add_adapter()

#define ETH8900   1 /* CS8900 */
 
#define ETH91C111   2 /* SMSC91C111 */
 
#define ETHEMAC   3 /* DM642,DM648,L137,C6657 */
 
#define ETHAX88783   4 /* AX88783 */
 
#define ETHDM9010B   5 /* DM9010B */
 
#define ETHKSZ8851   6 /* KSZ8851 */
 
#define ETHDM9016   7 /* DM9016 */
 

Operation Mode

Operation mode parameter for d91c111_ext_init() or DM2_EmacInit()

#define FULL_DUPLEX   0x01
 
#define HALF_DUPLEX   0x00
 
#define SPEED_10   0x00
 
#define SPEED_100   0x04
 
#define AUTO_NEG   0x08
 
#define SPEED_1000   0x20
 
#define FDX_100   (FULL_DUPLEX | SPEED_100 )
 
#define FDX_10   (FULL_DUPLEX | SPEED_10 )
 
#define HDX_100   (HALF_DUPLEX | SPEED_100 )
 
#define HDX_10   (HALF_DUPLEX | SPEED_10 )
 
#define FDX_1000   (FULL_DUPLEX | SPEED_1000)
 
#define FIBER_MODE   0x10
 

Detailed Description

Macro Definition Documentation

#define ETH8900   1 /* CS8900 */
#define ETH91C111   2 /* SMSC91C111 */
#define ETHEMAC   3 /* DM642,DM648,L137,C6657 */
#define ETHAX88783   4 /* AX88783 */
#define ETHDM9010B   5 /* DM9010B */
#define ETHKSZ8851   6 /* KSZ8851 */
#define ETHDM9016   7 /* DM9016 */
#define FULL_DUPLEX   0x01

Operation mode parameter for cs8900_init() to select full duplex

Examples:
Blocksend.c, and BoardSpecific.c.
#define HALF_DUPLEX   0x00

Operation mode parameter for cs8900_init() to select half duplex

#define SPEED_10   0x00

Operation mode parameter for d91c111_ext_init() or DM2_EmacInit() to select 10 MBit

#define SPEED_100   0x04

Operation mode parameter for d91c111_ext_init() or DM2_EmacInit() to select 100 MBit

Examples:
Blocksend.c, and BoardSpecific.c.
#define AUTO_NEG   0x08

Operation mode parameter for d91c111_ext_init() or DM2_EmacInit() to select Autonegotiation

#define SPEED_1000   0x20

Operation mode parameter for d91c111_ext_init() or DM2_EmacInit() to select 1000 MBit

Examples:
BoardSpecific.c.
#define FDX_100   (FULL_DUPLEX | SPEED_100 )

Operation mode parameter for d91c111_ext_init() or DM2_EmacInit() to select 100 MBit full duplex

#define FDX_10   (FULL_DUPLEX | SPEED_10 )

Operation mode parameter for d91c111_ext_init() or DM2_EmacInit() to select 10 MBit full duplex

#define HDX_100   (HALF_DUPLEX | SPEED_100 )

Operation mode parameter for d91c111_ext_init() or DM2_EmacInit() to select 100 MBit half duplex

#define HDX_10   (HALF_DUPLEX | SPEED_10 )

Operation mode parameter for d91c111_ext_init() or DM2_EmacInit() to select 10 MBit half duplex

#define FDX_1000   (FULL_DUPLEX | SPEED_1000)

Operation mode parameter for d91c111_ext_init() or DM2_EmacInit() to select 1000 MBit full duplex

#define FIBER_MODE   0x10

Operation mode, parameter for d91c111_ext_init() and Intel PHY with fiber optic