Deleted Added
full compact
card_if.m (139749) card_if.m (140692)
1#-
2# Copyright (c) 1999 M. Warner Losh.
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) 1999 M. Warner Losh.
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/pccard/card_if.m 139749 2005-01-06 01:43:34Z imp $
26# $FreeBSD: head/sys/dev/pccard/card_if.m 140692 2005-01-24 06:48:26Z imp $
27#
28
29#include <sys/bus.h>
30#include <machine/bus.h>
31#include <dev/pccard/pccardvar.h>
32
33INTERFACE card;
34

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

63#
64# Sets the memory offset of the pccard bridge's window into attribute
65# or common memory space.
66#
67METHOD int set_memory_offset {
68 device_t dev;
69 device_t child;
70 int rid;
27#
28
29#include <sys/bus.h>
30#include <machine/bus.h>
31#include <dev/pccard/pccardvar.h>
32
33INTERFACE card;
34

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

63#
64# Sets the memory offset of the pccard bridge's window into attribute
65# or common memory space.
66#
67METHOD int set_memory_offset {
68 device_t dev;
69 device_t child;
70 int rid;
71 u_int32_t cardaddr;
72 u_int32_t *deltap;
71 uint32_t cardaddr;
72 uint32_t *deltap;
73}
74
75METHOD int get_memory_offset {
76 device_t dev;
77 device_t child;
78 int rid;
73}
74
75METHOD int get_memory_offset {
76 device_t dev;
77 device_t child;
78 int rid;
79 u_int32_t *offset;
79 uint32_t *offset;
80}
81
82#
83# pccard bridges call this method to initate the attachment of a card
84#
85METHOD int attach_card {
86 device_t dev;
87}

--- 108 unchanged lines hidden ---
80}
81
82#
83# pccard bridges call this method to initate the attachment of a card
84#
85METHOD int attach_card {
86 device_t dev;
87}

--- 108 unchanged lines hidden ---