Deleted Added
full compact
readcis.h (15284) readcis.h (16466)
1/*
2 * Copyright (c) 1995 Andrew McRae. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

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

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

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 * $Id$
26 * $Id: readcis.h,v 1.3 1996/04/18 04:25:16 nate Exp $
27 */
28
27 */
28
29#define MAXSTR 20
29#define CIS_MAXSTR 20
30struct tuple {
31 struct tuple *next;
32 unsigned char code;
33 int length;
34 unsigned char *data;
35};
36
37struct tuple_list {

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

106/*
107 * Structure holding all data retrieved from the
108 * CIS block on the card.
109 * The default configuration contains interface defaults
110 * not listed in each separate configuration.
111 */
112struct cis {
113 struct tuple_list *tlist;
30struct tuple {
31 struct tuple *next;
32 unsigned char code;
33 int length;
34 unsigned char *data;
35};
36
37struct tuple_list {

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

106/*
107 * Structure holding all data retrieved from the
108 * CIS block on the card.
109 * The default configuration contains interface defaults
110 * not listed in each separate configuration.
111 */
112struct cis {
113 struct tuple_list *tlist;
114 char manuf[MAXSTR];
115 char vers[MAXSTR];
116 char add_info1[MAXSTR];
117 char add_info2[MAXSTR];
114 char manuf[CIS_MAXSTR];
115 char vers[CIS_MAXSTR];
116 char add_info1[CIS_MAXSTR];
117 char add_info2[CIS_MAXSTR];
118 unsigned char maj_v, min_v;
119 unsigned char last_config;
120 unsigned char ccrs;
121 unsigned long reg_addr;
122 struct dev_mem attr_mem;
123 struct dev_mem common_mem;
124 struct cis_config *def_config;
125 struct cis_config *conf;

--- 12 unchanged lines hidden ---
118 unsigned char maj_v, min_v;
119 unsigned char last_config;
120 unsigned char ccrs;
121 unsigned long reg_addr;
122 struct dev_mem attr_mem;
123 struct dev_mem common_mem;
124 struct cis_config *def_config;
125 struct cis_config *conf;

--- 12 unchanged lines hidden ---