Deleted Added
full compact
if_edvar.h (149558) if_edvar.h (149832)
1/*-
2 * Copyright (c) 1995, David Greenman
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 10 unchanged lines hidden (view full) ---

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
1/*-
2 * Copyright (c) 1995, David Greenman
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 10 unchanged lines hidden (view full) ---

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: head/sys/dev/ed/if_edvar.h 149558 2005-08-28 23:56:25Z imp $
27 * $FreeBSD: head/sys/dev/ed/if_edvar.h 149832 2005-09-06 22:44:26Z imp $
28 */
29
30#ifndef SYS_DEV_ED_IF_EDVAR_H
31#define SYS_DEV_ED_IF_EDVAR_H
32/*
33 * ed_softc: per line info and status
34 */
35struct ed_softc {

--- 19 unchanged lines hidden (view full) ---

55 int mem_rid; /* resource id for memory range */
56 int mem_used; /* nonzero if memory used */
57 struct resource* mem_res; /* resource for memory range */
58 bus_space_tag_t mem_bst;
59 bus_space_handle_t mem_bsh;
60 int irq_rid; /* resource id for irq */
61 struct resource* irq_res; /* resource for irq */
62 void* irq_handle; /* handle for irq handler */
28 */
29
30#ifndef SYS_DEV_ED_IF_EDVAR_H
31#define SYS_DEV_ED_IF_EDVAR_H
32/*
33 * ed_softc: per line info and status
34 */
35struct ed_softc {

--- 19 unchanged lines hidden (view full) ---

55 int mem_rid; /* resource id for memory range */
56 int mem_used; /* nonzero if memory used */
57 struct resource* mem_res; /* resource for memory range */
58 bus_space_tag_t mem_bst;
59 bus_space_handle_t mem_bsh;
60 int irq_rid; /* resource id for irq */
61 struct resource* irq_res; /* resource for irq */
62 void* irq_handle; /* handle for irq handler */
63 int modem_rid; /* resource ID for modem part of device */
63 device_t miibus; /* MII bus for cards with MII. */
64 void (*mii_writebits)(struct ed_softc *, u_int, int);
65 u_int (*mii_readbits)(struct ed_softc *, int);
66 struct callout tick_ch;
67 void (*readmem)(struct ed_softc *sc, bus_size_t src, uint8_t *dst,
68 uint16_t amount);
69
70 int nic_offset; /* NIC (DS8390) I/O bus address offset */

--- 221 unchanged lines hidden ---
64 device_t miibus; /* MII bus for cards with MII. */
65 void (*mii_writebits)(struct ed_softc *, u_int, int);
66 u_int (*mii_readbits)(struct ed_softc *, int);
67 struct callout tick_ch;
68 void (*readmem)(struct ed_softc *sc, bus_size_t src, uint8_t *dst,
69 uint16_t amount);
70
71 int nic_offset; /* NIC (DS8390) I/O bus address offset */

--- 221 unchanged lines hidden ---