Deleted Added
full compact
card_if.m (66058) card_if.m (69308)
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 66058 2000-09-19 04:39:20Z imp $
26# $FreeBSD: head/sys/dev/pccard/card_if.m 69308 2000-11-28 15:50:13Z jon $
27#
28
29#include <sys/bus.h>
30
31INTERFACE card;
32
33#
34# Companion interface for pccard. We need to set attributes for memory

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

83#
84# pccard bridges call this to detach a card.
85#
86METHOD int detach_card {
87 device_t dev;
88 int flags;
89}
90
27#
28
29#include <sys/bus.h>
30
31INTERFACE card;
32
33#
34# Companion interface for pccard. We need to set attributes for memory

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

83#
84# pccard bridges call this to detach a card.
85#
86METHOD int detach_card {
87 device_t dev;
88 int flags;
89}
90
91HEADER {
92 #define DETACH_FORCE 0x01
93}
94
91#
92# Returns the type of card this is. Maybe we don't need this.
93#
94METHOD int get_type {
95 device_t dev;
96 int *type;
97}
98

--- 63 unchanged lines hidden ---
95#
96# Returns the type of card this is. Maybe we don't need this.
97#
98METHOD int get_type {
99 device_t dev;
100 int *type;
101}
102

--- 63 unchanged lines hidden ---