Deleted Added
full compact
card_if.m (150533) card_if.m (188180)
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 150533 2005-09-25 01:39:04Z imp $
26# $FreeBSD: head/sys/dev/pccard/card_if.m 188180 2009-02-05 19:39:07Z imp $
27#
28
29#include <sys/bus.h>
30#include <machine/bus.h>
31#include <dev/pccard/pccardvar.h>
32
33INTERFACE card;
34

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

88#
89METHOD int detach_card {
90 device_t dev;
91}
92
93#
94# Find "dev" in the passed table of devices. Return it or NULL.
95#
27#
28
29#include <sys/bus.h>
30#include <machine/bus.h>
31#include <dev/pccard/pccardvar.h>
32
33INTERFACE card;
34

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

88#
89METHOD int detach_card {
90 device_t dev;
91}
92
93#
94# Find "dev" in the passed table of devices. Return it or NULL.
95#
96METHOD struct pccard_product * do_product_lookup {
96METHOD const struct pccard_product * do_product_lookup {
97 device_t bus;
98 device_t dev;
99 const struct pccard_product *tab;
100 size_t ent_size;
101 pccard_product_match_fn matchfn;
102}
103
104#

--- 57 unchanged lines hidden ---
97 device_t bus;
98 device_t dev;
99 const struct pccard_product *tab;
100 size_t ent_size;
101 pccard_product_match_fn matchfn;
102}
103
104#

--- 57 unchanged lines hidden ---