17 * Ethernet status, per interface.
21 void (*ie_reset_586) (struct ie_softc *);
22 void (*ie_chan_attn) (struct ie_softc *);
23 enum ie_hardware hard_type;
30 struct resource * io_res;
32 bus_space_tag_t io_bt;
33 bus_space_handle_t io_bh;
35 struct resource * irq_res;
39 struct resource * mem_res;
41 bus_space_tag_t mem_bt;
42 bus_space_handle_t mem_bh;
44 u_int port; /* i/o base address for this interface */
45 caddr_t iomem; /* memory size */
46 caddr_t iomembot; /* memory base address */
48 int bus_use; /* 0 means 16bit, 1 means 8 bit adapter */
55 volatile struct ie_int_sys_conf_ptr *iscp;
56 volatile struct ie_sys_ctl_block *scb;
57 volatile struct ie_recv_frame_desc **rframes; /* nframes worth */
58 volatile struct ie_recv_buf_desc **rbuffs; /* nrxbufs worth */
59 volatile u_char **cbuffs; /* nrxbufs worth */
60 int rfhead, rftail, rbhead, rbtail;
62 volatile struct ie_xmit_cmd **xmit_cmds; /* ntxbufs worth */
63 volatile struct ie_xmit_buf **xmit_buffs; /* ntxbufs worth */
64 volatile u_char **xmit_cbuffs; /* ntxbufs worth */
67 struct ie_en_addr mcast_addrs[MAXMCAST + 1];
70 u_short irq_encoded; /* encoded interrupt on IEE16 */
72 #define PORT(sc) sc->port
73 #define MEM(sc) sc->iomem
75 void ie_intr (void *);
76 int ie_alloc_resources (device_t);
77 void ie_release_resources (device_t);
78 int ie_attach (device_t);
79 int ie_detach (device_t);
81 void el_reset_586 (struct ie_softc *);
82 void el_chan_attn (struct ie_softc *);
84 void sl_reset_586 (struct ie_softc *);
85 void sl_chan_attn (struct ie_softc *);
87 void ee16_reset_586 (struct ie_softc *);
88 void ee16_chan_attn (struct ie_softc *);
90 void sl_read_ether (struct ie_softc *, unsigned char *);
91 int check_ie_present (struct ie_softc *);