Deleted Added
full compact
ad1816.h (166427) ad1816.h (172568)
1/*-
2 * Copyright (c) 1997 Luigi Rizzo
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

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 1997 Luigi Rizzo
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

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/dev/sound/isa/ad1816.h 166427 2007-02-02 13:44:09Z joel $
26 * $FreeBSD: head/sys/dev/sound/isa/ad1816.h 172568 2007-10-12 06:03:46Z kevlo $
27 */
28
29/*
30 * This file contains information and macro definitions for
31 * the ad1816 chip
32 */
33
34/* AD1816 register macros */
35
36#define AD1816_ALE 0 /* indirect reg access */
27 */
28
29/*
30 * This file contains information and macro definitions for
31 * the ad1816 chip
32 */
33
34/* AD1816 register macros */
35
36#define AD1816_ALE 0 /* indirect reg access */
37#define AD1816_INT 1 /* interupt status */
37#define AD1816_INT 1 /* interrupt status */
38#define AD1816_LOW 2 /* indirect low byte */
39#define AD1816_HIGH 3 /* indirect high byte */
40
41#if 0
42#define ad1816_pioD(d) ((d)->io_base+4) /* PIO debug */
43#define ad1816_pios(d) ((d)->io_base+5) /* PIO status */
44#define ad1816_piod(d) ((d)->io_base+6) /* PIO data */
45#endif

--- 50 unchanged lines hidden ---
38#define AD1816_LOW 2 /* indirect low byte */
39#define AD1816_HIGH 3 /* indirect high byte */
40
41#if 0
42#define ad1816_pioD(d) ((d)->io_base+4) /* PIO debug */
43#define ad1816_pios(d) ((d)->io_base+5) /* PIO status */
44#define ad1816_piod(d) ((d)->io_base+6) /* PIO data */
45#endif

--- 50 unchanged lines hidden ---