Deleted Added
full compact
cardbus_cis.h (82375) cardbus_cis.h (82378)
1/*
2 * Copyright (c) 2000,2001 Jonathan Chen.
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

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

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

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

20 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $FreeBSD: head/sys/dev/cardbus/cardbus_cis.h 82375 2001-08-26 23:55:34Z jon $
28 * $FreeBSD: head/sys/dev/cardbus/cardbus_cis.h 82378 2001-08-27 00:09:42Z jon $
29 */
30
31/*
32 * Cardbus CIS definitions
33 */
34
35struct cis_tupleinfo;
36

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

83#define CISTPL_CUSTOMSTART 0x80
84#define CISTPL_END 0xFF
85
86#define CISTPL_GENERIC -1 /* catchall */
87
88/* BAR */
89#define TPL_BAR_REG_ASI_MASK 0x07
90#define TPL_BAR_REG_AS 0x10
29 */
30
31/*
32 * Cardbus CIS definitions
33 */
34
35struct cis_tupleinfo;
36

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

83#define CISTPL_CUSTOMSTART 0x80
84#define CISTPL_END 0xFF
85
86#define CISTPL_GENERIC -1 /* catchall */
87
88/* BAR */
89#define TPL_BAR_REG_ASI_MASK 0x07
90#define TPL_BAR_REG_AS 0x10
91#define TPL_BAR_REG_PREFETCHABLE_ONLY 0x20
92#define TPL_BAR_REG_PREFETCHABLE_CACHEABLE 0x40
93#define TPL_BAR_REG_PREFETCHABLE 0x60
94#define TPL_BAR_REG_BELOW1MB 0x80
91
92/* CISTPL_FUNC */
93#define TPL_FUNC_MF 0 /* multi function tuple */
94#define TPL_FUNC_MEM 1 /* memory */
95#define TPL_FUNC_SERIAL 2 /* serial, including modem and fax */
96#define TPL_FUNC_PARALLEL 3 /* parallel, including printer and SCSI */
97#define TPL_FUNC_DISK 4 /* Disk */
98#define TPL_FUNC_VIDEO 5 /* Video Adaptor */
99#define TPL_FUNC_LAN 6 /* LAN Adaptor */
100#define TPL_FUNC_AIMS 7 /* Auto Inclement Mass Strages */
101
102/* TPL_FUNC_LAN */
103#define TPL_FUNCE_LAN_TECH 1 /* technology */
104#define TPL_FUNCE_LAN_SPEED 2 /* speed */
105#define TPL_FUNCE_LAN_MEDIA 2 /* which media do you use? */
106#define TPL_FUNCE_LAN_NID 4 /* node id (address) */
107#define TPL_FUNCE_LAN_CONN 5 /* connector type (shape) */
95
96/* CISTPL_FUNC */
97#define TPL_FUNC_MF 0 /* multi function tuple */
98#define TPL_FUNC_MEM 1 /* memory */
99#define TPL_FUNC_SERIAL 2 /* serial, including modem and fax */
100#define TPL_FUNC_PARALLEL 3 /* parallel, including printer and SCSI */
101#define TPL_FUNC_DISK 4 /* Disk */
102#define TPL_FUNC_VIDEO 5 /* Video Adaptor */
103#define TPL_FUNC_LAN 6 /* LAN Adaptor */
104#define TPL_FUNC_AIMS 7 /* Auto Inclement Mass Strages */
105
106/* TPL_FUNC_LAN */
107#define TPL_FUNCE_LAN_TECH 1 /* technology */
108#define TPL_FUNCE_LAN_SPEED 2 /* speed */
109#define TPL_FUNCE_LAN_MEDIA 2 /* which media do you use? */
110#define TPL_FUNCE_LAN_NID 4 /* node id (address) */
111#define TPL_FUNCE_LAN_CONN 5 /* connector type (shape) */