ie_softc
ie_gsc_attend(struct ie_softc *sc)
ie_gsc_run(struct ie_softc *sc)
ie_gsc_port(struct ie_softc *sc, u_int cmd)
ie_gsc_intrhook(struct ie_softc *sc, int where)
ie_gsc_read16(struct ie_softc *sc, int offset)
ie_gsc_write16(struct ie_softc *sc, int offset, u_int16_t v)
ie_gsc_write24(struct ie_softc *sc, int offset, int v)
ie_gsc_memcopyin(struct ie_softc *sc, void *p, int offset, size_t size)
ie_gsc_memcopyout(struct ie_softc *sc, const void *p, int offset, size_t size)
struct ie_softc *sc = (struct ie_softc *)self;
sizeof(struct ie_softc), ie_gsc_probe, ie_gsc_attach
void ie_gsc_reset(struct ie_softc *sc, int what);
void ie_gsc_attend(struct ie_softc *sc);
void ie_gsc_run(struct ie_softc *sc);
void ie_gsc_port(struct ie_softc *sc, u_int);
int ie_gsc_intrhook(struct ie_softc *sc, int what);
u_int16_t ie_gsc_read16(struct ie_softc *sc, int offset);
void ie_gsc_write16(struct ie_softc *sc, int offset, u_int16_t v);
void ie_gsc_write24(struct ie_softc *sc, int offset, int addr);
void ie_gsc_memcopyin(struct ie_softc *sc, void *p, int offset, size_t);
void ie_gsc_memcopyout(struct ie_softc *sc, const void *p, int, size_t);
ie_gsc_reset(struct ie_softc *sc, int what)
i82596_readframe(struct ie_softc *sc, int num)
i82596_xmit(struct ie_softc *sc)
struct ie_softc *sc = ifp->if_softc;
i82596_proberam(struct ie_softc *sc)
i82596_reset(struct ie_softc *sc, int hard)
i82596_simple_command(struct ie_softc *sc, int cmd, int cmdbuf)
ie_run_tdr(struct ie_softc *sc, int cmd)
i82596_setup_bufs(struct ie_softc *sc)
ie_cfg_setup(struct ie_softc *sc, int cmd, int promiscuous, int manchester)
ie_ia_setup(struct ie_softc *sc, int cmdbuf)
void i82596_reset(struct ie_softc *, int);
ie_mc_setup(struct ie_softc *sc, int cmdbuf)
int i82596_init(struct ie_softc *);
i82596_init(struct ie_softc *sc)
int i82596_rint(struct ie_softc *, int);
int i82596_tint(struct ie_softc *, int);
i82596_start_transceiver(struct ie_softc *sc)
int i82596_readframe(struct ie_softc *, int);
int i82596_get_rbd_list(struct ie_softc *,
i82596_stop(struct ie_softc *sc)
void i82596_release_rbd_list(struct ie_softc *, u_int16_t, u_int16_t);
struct ie_softc *sc = ifp->if_softc;
int i82596_drop_frames(struct ie_softc *);
int i82596_chk_rx_ring(struct ie_softc *);
void i82596_start_transceiver(struct ie_softc *);
void i82596_stop(struct ie_softc *);
void i82596_xmit(struct ie_softc *);
ie_mc_reset(struct ie_softc *sc)
void i82596_setup_bufs(struct ie_softc *);
void i82596_simple_command(struct ie_softc *, int, int);
int ie_cfg_setup(struct ie_softc *, int, int, int);
int ie_ia_setup(struct ie_softc *, int);
void ie_run_tdr(struct ie_softc *, int);
struct ie_softc *sc = ifp->if_softc;
int ie_mc_setup(struct ie_softc *, int);
struct ie_softc *sc = ifp->if_softc;
void ie_mc_reset(struct ie_softc *);
print_rbd(struct ie_softc *sc, int n)
int i82596_cmd_wait(struct ie_softc *);
void print_rbd(struct ie_softc *, int);
i82596_probe(struct ie_softc *sc)
i82596_attach(struct ie_softc *sc, const char *name, u_int8_t *etheraddr,
struct ie_softc *sc = ifp->if_softc;
i82596_cmd_wait(struct ie_softc *sc)
i82596_start_cmd(struct ie_softc *sc, int cmd, int iecmdbuf, int mask,
i82596_count_errors(struct ie_softc *sc)
i82596_rx_errors(struct ie_softc *sc, int fn, int status)
register struct ie_softc *sc = v;
i82596_rint(struct ie_softc *sc, int scbstatus)
i82596_tint(struct ie_softc *sc, int scbstatus)
i82596_get_rbd_list(struct ie_softc *sc, u_int16_t *start, u_int16_t *end,
i82596_release_rbd_list(struct ie_softc *sc, u_int16_t start, u_int16_t end)
i82596_drop_frames(struct ie_softc *sc)
i82596_chk_rx_ring(struct ie_softc *sc)
i82596_get(struct ie_softc *sc, int head, int totlen)
void (*hwreset)(struct ie_softc *, int);
void (*hwinit)(struct ie_softc *);
void (*chan_attn)(struct ie_softc *);
void (*port)(struct ie_softc *, u_int);
int (*intrhook)(struct ie_softc *, int where);
void (*memcopyin)(struct ie_softc *, void *, int, size_t);
void (*memcopyout)(struct ie_softc *, const void *,
u_int16_t (*ie_bus_read16)(struct ie_softc *, int offset);
void (*ie_bus_write16)(struct ie_softc *, int offset,
void (*ie_bus_write24)(struct ie_softc *, int offset,
int (*sc_mediachange)(struct ie_softc *);
void (*sc_mediastatus)(struct ie_softc *, struct ifmediareq *);
int i82596_probe(struct ie_softc *);
int i82596_proberam(struct ie_softc *);
void i82596_attach(struct ie_softc *, const char *, u_int8_t *,
int i82596_start_cmd(struct ie_softc *, int, int, int, int);
ie_ack(struct ie_softc *sc, u_int mask) /* in native byte-order */
ie_buflen(struct ie_softc *sc, int head)
ie_packet_len(struct ie_softc *sc)
iexmit(struct ie_softc *sc)
ieget(struct ie_softc *sc, struct ether_header *ehp)
ie_readframe(struct ie_softc *sc, int num) /* frame number to read */
ie_drop_packet_buffer(struct ie_softc *sc)
struct ie_softc *sc = ifp->if_softc;
check_ie_present(struct ie_softc *sc, caddr_t where, u_int size)
ie_find_mem_size(struct ie_softc *sc)
el_reset_586(struct ie_softc *sc)
sl_reset_586(struct ie_softc *sc)
ee16_reset_586(struct ie_softc *sc)
el_chan_attn(struct ie_softc *sc)
sl_chan_attn(struct ie_softc *sc)
ee16_chan_attn(struct ie_softc *sc)
ee16_read_eeprom(struct ie_softc *sc, int location)
ee16_eeprom_outbits(struct ie_softc *sc, int edata, int count)
ee16_eeprom_inbits(struct ie_softc *sc)
ee16_eeprom_clock(struct ie_softc *sc, int state)
ee16_interrupt_enable(struct ie_softc *sc)
slel_get_address(struct ie_softc *sc)
iereset(struct ie_softc *sc)
command_and_wait(struct ie_softc *sc, int cmd, volatile void *pcmd, int mask)
run_tdr(struct ie_softc *sc, struct ie_tdr_cmd *cmd)
iememinit(void *ptr, struct ie_softc *sc)
mc_setup(struct ie_softc *sc, void *ptr)
ieinit(struct ie_softc *sc)
iestop(struct ie_softc *sc)
struct ie_softc *sc = ifp->if_softc;
mc_reset(struct ie_softc *sc)
void (*reset_586)(struct ie_softc *);
void (*chan_attn)(struct ie_softc *);
void iestop(struct ie_softc *);
int ieinit(struct ie_softc *);
static void el_reset_586(struct ie_softc *);
static void sl_reset_586(struct ie_softc *);
static void el_chan_attn(struct ie_softc *);
static void sl_chan_attn(struct ie_softc *);
static void slel_get_address(struct ie_softc *);
static void ee16_reset_586(struct ie_softc *);
static void ee16_chan_attn(struct ie_softc *);
static void ee16_interrupt_enable(struct ie_softc *);
void ee16_eeprom_outbits(struct ie_softc *, int, int);
void ee16_eeprom_clock(struct ie_softc *, int);
u_short ee16_read_eeprom(struct ie_softc *, int);
int ee16_eeprom_inbits(struct ie_softc *);
void iereset(struct ie_softc *);
void ie_readframe(struct ie_softc *, int);
void ie_drop_packet_buffer(struct ie_softc *);
void ie_find_mem_size(struct ie_softc *);
static int command_and_wait(struct ie_softc *, int,
void ierint(struct ie_softc *);
void ietint(struct ie_softc *);
void iexmit(struct ie_softc *);
struct mbuf *ieget(struct ie_softc *, struct ether_header *);
void iememinit(void *, struct ie_softc *);
static int mc_setup(struct ie_softc *, void *);
static void mc_reset(struct ie_softc *);
int sl_probe(struct ie_softc *, struct isa_attach_args *);
int el_probe(struct ie_softc *, struct isa_attach_args *);
int ee16_probe(struct ie_softc *, struct isa_attach_args *);
int check_ie_present(struct ie_softc *, caddr_t, u_int);
static __inline void ie_ack(struct ie_softc *, u_int);
static __inline int check_eh(struct ie_softc *, struct ether_header *);
static __inline int ie_buflen(struct ie_softc *, int);
static __inline int ie_packet_len(struct ie_softc *);
static void run_tdr(struct ie_softc *, struct ie_tdr_cmd *);
sizeof(struct ie_softc), ieprobe, ieattach
ie_ack(struct ie_softc *sc, u_int mask)
struct ie_softc *sc = match;
sl_probe(struct ie_softc *sc, struct isa_attach_args *ia)
el_probe(struct ie_softc *sc, struct isa_attach_args *ia)
ee16_probe(struct ie_softc *sc, struct isa_attach_args *ia)
struct ie_softc *sc = (void *)self;
struct ie_softc *sc = ifp->if_softc;
struct ie_softc *sc = arg;
ierint(struct ie_softc *sc)
ietint(struct ie_softc *sc)
check_eh(struct ie_softc *sc, struct ether_header *eh)