Lines Matching defs:stge_softc
526 struct stge_softc { struct
527 struct device sc_dev; /* generic device information */
528 bus_space_tag_t sc_st; /* bus space tag */
529 bus_space_handle_t sc_sh; /* bus space handle */
530 bus_dma_tag_t sc_dmat; /* bus DMA tag */
531 struct arpcom sc_arpcom; /* ethernet common data */
532 int sc_rev; /* silicon revision */
533 void *sc_ih; /* interrupt cookie */
535 struct mii_data sc_mii; /* MII/media information */
537 struct timeout sc_timeout; /* tick timeout */
539 bus_dmamap_t sc_cddmamap; /* control data DMA map */
545 struct stge_descsoft sc_txsoft[STGE_NTXDESC];
546 struct stge_descsoft sc_rxsoft[STGE_NRXDESC];
551 struct stge_control_data *sc_control_data;
555 int sc_txpending; /* number of Tx requests pending */
556 int sc_txdirty; /* first dirty Tx descriptor */
557 int sc_txlast; /* last used Tx descriptor */
559 int sc_rxptr; /* next ready Rx descriptor/descsoft */
560 int sc_rxdiscard;
561 int sc_rxlen;
562 struct mbuf *sc_rxhead;
563 struct mbuf *sc_rxtail;
564 struct mbuf **sc_rxtailp;
566 int sc_txthresh; /* Tx threshold */
567 uint32_t sc_usefiber:1; /* if we're fiber */
568 uint32_t sc_stge1023:1; /* are we a 1023 */
569 uint32_t sc_DMACtrl; /* prototype DMACtrl register */
570 uint32_t sc_MACCtrl; /* prototype MacCtrl register */
571 uint16_t sc_IntEnable; /* prototype IntEnable register */
572 uint16_t sc_ReceiveMode; /* prototype ReceiveMode register */
573 uint8_t sc_PhyCtrl; /* prototype PhyCtrl register */