Deleted Added
sdiff udiff text old ( 70355 ) new ( 73374 )
full compact
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 70355 2000-12-26 06:38:04Z 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 {

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

44 int port_used; /* nonzero if ports used */
45 struct resource* port_res; /* resource for port range */
46 int mem_rid; /* resource id for memory range */
47 int mem_used; /* nonzero if memory used */
48 struct resource* mem_res; /* resource for memory range */
49 int irq_rid; /* resource id for irq */
50 struct resource* irq_res; /* resource for irq */
51 void* irq_handle; /* handle for irq handler */
52
53 int nic_offset; /* NIC (DS8390) I/O bus address offset */
54 int asic_offset; /* ASIC I/O bus address offset */
55
56/*
57 * The following 'proto' variable is part of a work-around for 8013EBT asics
58 * being write-only. It's sort of a prototype/shadow of the real thing.
59 */

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

200int ed_probe_HP_pclanp __P((device_t, int, int));
201
202int ed_attach __P((struct ed_softc *, int, int));
203void ed_stop __P((struct ed_softc *));
204void ed_pio_readmem __P((struct ed_softc *, int, unsigned char *,
205 unsigned short));
206void ed_pio_writemem __P((struct ed_softc *, char *,
207 unsigned short, unsigned short));
208
209driver_intr_t edintr;
210
211extern devclass_t ed_devclass;
212#endif /* SYS_DEV_ED_IF_EDVAR_H */