ti_softc
ti_free_tx_ring(struct ti_softc *sc)
ti_init_tx_ring(struct ti_softc *sc)
ti_add_mcast(struct ti_softc *sc, struct ether_addr *addr)
ti_del_mcast(struct ti_softc *sc, struct ether_addr *addr)
ti_setmulti(struct ti_softc *sc)
ti_64bitslot_war(struct ti_softc *sc)
ti_chipinit(struct ti_softc *sc)
ti_gibinit(struct ti_softc *sc)
static void ti_txeof_tigon1(struct ti_softc *);
static void ti_txeof_tigon2(struct ti_softc *);
static void ti_rxeof(struct ti_softc *);
static void ti_stats_update(struct ti_softc *);
static int ti_encap_tigon1(struct ti_softc *, struct mbuf *, uint32_t *);
static int ti_encap_tigon2(struct ti_softc *, struct mbuf *, uint32_t *);
struct ti_softc *sc;
static void ti_init2(struct ti_softc *);
static void ti_stop(struct ti_softc *);
static uint32_t ti_eeprom_putbyte(struct ti_softc *, int);
static uint8_t ti_eeprom_getbyte(struct ti_softc *, int, uint8_t *);
static int ti_read_eeprom(struct ti_softc *, void *, int, int);
static void ti_add_mcast(struct ti_softc *, struct ether_addr *);
static void ti_del_mcast(struct ti_softc *, struct ether_addr *);
static void ti_setmulti(struct ti_softc *);
static void ti_mem(struct ti_softc *, uint32_t, uint32_t, const void *);
static void ti_loadfw(struct ti_softc *);
static void ti_cmd(struct ti_softc *, struct ti_cmd_desc *);
static void ti_cmd_ext(struct ti_softc *, struct ti_cmd_desc *, void *, int);
static void ti_handle_events(struct ti_softc *);
static int ti_alloc_jumbo_mem(struct ti_softc *);
static void *ti_jalloc(struct ti_softc *);
static int ti_newbuf_std(struct ti_softc *, int, struct mbuf *, bus_dmamap_t);
static int ti_newbuf_mini(struct ti_softc *, int, struct mbuf *, bus_dmamap_t);
static int ti_newbuf_jumbo(struct ti_softc *, int, struct mbuf *);
static int ti_init_rx_ring_std(struct ti_softc *);
static void ti_free_rx_ring_std(struct ti_softc *);
ti_rxeof(struct ti_softc *sc)
static int ti_init_rx_ring_jumbo(struct ti_softc *);
static void ti_free_rx_ring_jumbo(struct ti_softc *);
static int ti_init_rx_ring_mini(struct ti_softc *);
static void ti_free_rx_ring_mini(struct ti_softc *);
static void ti_free_tx_ring(struct ti_softc *);
static int ti_init_tx_ring(struct ti_softc *);
static int ti_64bitslot_war(struct ti_softc *);
static int ti_chipinit(struct ti_softc *);
static int ti_gibinit(struct ti_softc *);
CFATTACH_DECL_NEW(ti, sizeof(struct ti_softc),
ti_txeof_tigon1(struct ti_softc *sc)
ti_txeof_tigon2(struct ti_softc *sc)
ti_eeprom_putbyte(struct ti_softc *sc, int byte)
struct ti_softc *sc;
ti_stats_update(struct ti_softc *sc)
ti_encap_tigon1(struct ti_softc *sc, struct mbuf *m_head, uint32_t *txidx)
ti_encap_tigon2(struct ti_softc *sc, struct mbuf *m_head, uint32_t *txidx)
struct ti_softc *sc;
struct ti_softc *sc = xsc;
ti_init2(struct ti_softc *sc)
ti_eeprom_getbyte(struct ti_softc *sc, int addr, uint8_t *dest)
struct ti_softc *sc;
struct ti_softc *sc;
struct ti_softc *sc = ifp->if_softc;
struct ti_softc *sc = ifp->if_softc;
struct ti_softc *sc;
ti_stop(struct ti_softc *sc)
struct ti_softc *sc;
ti_read_eeprom(struct ti_softc *sc, void *destv, int off, int cnt)
ti_mem(struct ti_softc *sc, uint32_t addr, uint32_t len, const void *xbuf)
ti_loadfw(struct ti_softc *sc)
ti_cmd(struct ti_softc *sc, struct ti_cmd_desc *cmd)
ti_cmd_ext(struct ti_softc *sc, struct ti_cmd_desc *cmd, void *argv, int len)
ti_handle_events(struct ti_softc *sc)
ti_alloc_jumbo_mem(struct ti_softc *sc)
ti_jalloc(struct ti_softc *sc)
struct ti_softc *sc;
sc = (struct ti_softc *)arg;
ti_newbuf_std(struct ti_softc *sc, int i, struct mbuf *m, bus_dmamap_t dmamap)
ti_newbuf_mini(struct ti_softc *sc, int i, struct mbuf *m, bus_dmamap_t dmamap)
ti_newbuf_jumbo(struct ti_softc *sc, int i, struct mbuf *m)
ti_init_rx_ring_std(struct ti_softc *sc)
ti_free_rx_ring_std(struct ti_softc *sc)
ti_init_rx_ring_jumbo(struct ti_softc *sc)
ti_free_rx_ring_jumbo(struct ti_softc *sc)
ti_init_rx_ring_mini(struct ti_softc *sc)
ti_free_rx_ring_mini(struct ti_softc *sc)
int (*sc_tx_encap)(struct ti_softc *,
void (*sc_tx_eof)(struct ti_softc *);