Deleted Added
full compact
upd7210.h (202898) upd7210.h (203360)
1/*-
2 * Copyright (c) 2005 Poul-Henning Kamp <phk@FreeBSD.org>
3 * Copyright (c) 2010 Joerg Wunsch <joerg@FreeBSD.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 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) 2005 Poul-Henning Kamp <phk@FreeBSD.org>
3 * Copyright (c) 2010 Joerg Wunsch <joerg@FreeBSD.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 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/ieee488/upd7210.h 202898 2010-01-23 21:33:33Z joerg $
27 * $FreeBSD: head/sys/dev/ieee488/upd7210.h 203360 2010-02-01 21:21:10Z joerg $
28 *
29 * Locating an actual �PD7210 data book has proven quite impossible for me.
30 * There are a fair number of newer chips which are supersets of the �PD7210
31 * but they are particular eager to comprehensively mark what the extensions
32 * are and what is in the base set. Some even give the registers and their
33 * bits new names.
34 *
35 * The following information is based on a description of the �PD7210 found

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

48typedef int upd7210_irq_t(struct upd7210 *, int);
49
50struct upd7210 {
51 struct resource *reg_res[8];
52 struct resource *irq_clear_res;
53 u_int reg_offset[8];
54 int dmachan;
55 int unit;
28 *
29 * Locating an actual �PD7210 data book has proven quite impossible for me.
30 * There are a fair number of newer chips which are supersets of the �PD7210
31 * but they are particular eager to comprehensively mark what the extensions
32 * are and what is in the base set. Some even give the registers and their
33 * bits new names.
34 *
35 * The following information is based on a description of the �PD7210 found

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

48typedef int upd7210_irq_t(struct upd7210 *, int);
49
50struct upd7210 {
51 struct resource *reg_res[8];
52 struct resource *irq_clear_res;
53 u_int reg_offset[8];
54 int dmachan;
55 int unit;
56 int use_fifo;
56
57 /* private stuff */
58 struct mtx mutex;
59 uint8_t rreg[8];
60 uint8_t wreg[8 + 8];
61
62 upd7210_irq_t *irq;
63

--- 173 unchanged lines hidden ---
57
58 /* private stuff */
59 struct mtx mutex;
60 uint8_t rreg[8];
61 uint8_t wreg[8 + 8];
62
63 upd7210_irq_t *irq;
64

--- 173 unchanged lines hidden ---