Deleted Added
full compact
cardbus_cis.c (92301) cardbus_cis.c (97613)
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.c 92301 2002-03-15 06:41:01Z imp $
28 * $FreeBSD: head/sys/dev/cardbus/cardbus_cis.c 97613 2002-05-30 17:38:00Z takawata $
29 */
30
31/*
32 * CIS Handling for the Cardbus Bus
33 */
34
35#include <sys/param.h>
36#include <sys/systm.h>

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

45#include <sys/pciio.h>
46#include <dev/pci/pcivar.h>
47#include <dev/pci/pcireg.h>
48
49#include <dev/cardbus/cardbusreg.h>
50#include <dev/cardbus/cardbusvar.h>
51#include <dev/cardbus/cardbus_cis.h>
52
29 */
30
31/*
32 * CIS Handling for the Cardbus Bus
33 */
34
35#include <sys/param.h>
36#include <sys/systm.h>

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

45#include <sys/pciio.h>
46#include <dev/pci/pcivar.h>
47#include <dev/pci/pcireg.h>
48
49#include <dev/cardbus/cardbusreg.h>
50#include <dev/cardbus/cardbusvar.h>
51#include <dev/cardbus/cardbus_cis.h>
52
53#include "card_if.h"
53#include <dev/pccard/pccardvar.h>
54
55extern int cardbus_cis_debug;
56
57#define DPRINTF(a) if (cardbus_cis_debug) printf a
58#define DEVPRINTF(x) if (cardbus_cis_debug) device_printf x
59
60#define DECODE_PARAMS \
61 (device_t cbdev, device_t child, int id, int len, \

--- 954 unchanged lines hidden ---
54
55extern int cardbus_cis_debug;
56
57#define DPRINTF(a) if (cardbus_cis_debug) printf a
58#define DEVPRINTF(x) if (cardbus_cis_debug) device_printf x
59
60#define DECODE_PARAMS \
61 (device_t cbdev, device_t child, int id, int len, \

--- 954 unchanged lines hidden ---