|
| enum | CSROffsets {
SCBStatus =0
, SCBCmd =2
, SCBPointer = 4
, CSRPort =8
,
CSRFlash =12
, CSREeprom = 14
, CSRCtrlMDI =16
, CSREarlyRx =20
} |
| enum | SCBCmdBits {
SCBMaskCmdDone =0x8000
, SCBMaskRxDone =0x4000
, SCBMaskCmdIdle =0x2000
, SCBMaskRxSuspend =0x1000
,
SCBMaskEarlyRx =0x0800
, SCBMaskFlowCtl =0x0400
, SCBTriggerIntr =0x0200
, SCBMaskAll =0x0100
,
CUStart =0x0010
, CUResume =0x0020
, CUStatsAddr =0x0040
, CUShowStats =0x0050
,
CUCmdBase =0x0060
, CUDumpStats =0x0070
, RUStart =0x0001
, RUResume =0x0002
,
RUAbort =0x0004
, RUAddrLoad =0x0006
, RUResumeNoResources =0x0007
} |
| enum | SCBPortCmds { PortReset =0
, PortSelfTest =1
, PortPartialReset =2
, PortDump =3
} |
| enum | ActionCommands {
CmdNOp = 0
, CmdIASetup = 1
, CmdConfigure = 2
, CmdMulticastList = 3
,
CmdTx = 4
, CmdTDR = 5
, CmdDump = 6
, CmdDiagnose = 7
,
CmdEndOfList = 0x8000
, CmdSuspend = 0x4000
, CmdIntr = 0x2000
, CmdTxFlex = 0x0008
} |
| enum | TCBBits { TCB_C =0x8000
, TCB_OK =0x2000
, TCB_U =0x1000
} |
| enum | RFDBits {
RFDRxCol =0x0001
, RFDIAMatch =0x0002
, RFDNoMatch =0x0004
, RFDReserved3 =0x0008
,
RFDRxErr =0x0010
, RFDEthType =0x0020
, RFDReserved6 =0x0040
, RFDShort =0x0080
,
RFDDMAOverrun =0x0100
, RFDNoBufs =0x0200
, RFDCRCAlign =0x0400
, RFDCRCError =0x0800
,
RFDReserved12 =0x1000
, RFD_OK =0x2000
, RFDComplete =0x8000
, RFDMaskCount =0x3FFF
} |
| enum | phy_chips {
NonSuchPhy =0
, I82553AB
, I82553C
, I82503
,
DP83840
, S80C240
, S80C24
, PhyUndefined
,
DP83840A =10
} |
|
| | FILE_LICENCE (GPL2_OR_LATER) |
| static int | ifec_pci_probe (struct pci_device *pci) |
| static void | ifec_pci_remove (struct pci_device *pci) |
| static void | ifec_net_close (struct net_device *) |
| static void | ifec_net_irq (struct net_device *, int enable) |
| static int | ifec_net_open (struct net_device *) |
| static void | ifec_net_poll (struct net_device *) |
| static int | ifec_net_transmit (struct net_device *, struct io_buffer *iobuf) |
| static void | ifec_init_eeprom (struct net_device *) |
| static int | ifec_mdio_read (struct net_device *, int phy, int location) |
| static void | ifec_mdio_setup (struct net_device *, int options) |
| static int | ifec_mdio_write (struct net_device *, int phy, int loc, int val) |
| static void | ifec_reset (struct net_device *) |
| static void | ifec_free (struct net_device *) |
| static void | ifec_rfd_init (struct ifec_rfd *rfd, s16 command, u32 link) |
| static void | ifec_rx_process (struct net_device *) |
| static void | ifec_reprime_ru (struct net_device *) |
| static void | ifec_check_ru_status (struct net_device *, unsigned short) |
| static int | ifec_get_rx_desc (struct net_device *, int, int, int) |
| static void | ifec_refill_rx_ring (struct net_device *) |
| static int | ifec_rx_setup (struct net_device *) |
| static int | ifec_scb_cmd (struct net_device *, u32 ptr, u8 cmd) |
| static int | ifec_scb_cmd_wait (struct net_device *) |
| static void | ifec_tx_process (struct net_device *) |
| static int | ifec_tx_setup (struct net_device *) |
| static void | ifec_tx_wake (struct net_device *) |
Definition at line 1073 of file eepro100.c.
1074{
1078
1079 DBGP (
"ifec_tx_wake\n" );
1080
1081
1082
1083 if (
priv->configured ) {
1084 priv->configured = 0;
1087 return;
1088 }
1089
1090
1092 case 0:
1093 DBG2 (
"ifec_tx_wake: tx idle!\n" );
1096 return;
1097 case 1:
1099 break;
1100 default:
1102 }
1106
1109}
static unsigned long ioaddr
static int ifec_scb_cmd_wait(struct net_device *netdev)
static int ifec_scb_cmd(struct net_device *netdev, u32 ptr, u8 cmd)
static struct net_device * netdev
#define outb(data, io_addr)
#define outl(data, io_addr)
static __always_inline unsigned long virt_to_bus(volatile const void *addr)
Convert virtual address to a bus address.
static struct tlan_private * priv
References CmdSuspend, CUResume, CUStart, DBG2, DBGP, ifec_scb_cmd(), ifec_scb_cmd_wait(), inw, ioaddr, netdev, outb, outl, priv, SCBCmd, SCBPointer, SCBStatus, and virt_to_bus().
Referenced by ifec_net_transmit().