Deleted Added
sdiff udiff text old ( 170163 ) new ( 188219 )
full compact
1/*-
2 * Copyright (c) 2005, 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

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

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: head/sys/dev/pccard/pccardvarp.h 170163 2007-05-31 19:29:20Z piso $
28 */
29
30#ifndef _PCCARD_PCCARDVARP_H
31#define _PCCARD_PCCARDVARP_H
32
33/* pccard itself */
34
35#define PCCARD_MEM_PAGE_SIZE 1024

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

70 u_long cardaddr;
71 u_long hostaddr;
72 } memspace[2]; /* XXX this could be as high as 8 */
73 int maxtwins;
74 STAILQ_ENTRY(pccard_config_entry) cfe_list;
75};
76
77struct pccard_funce_disk {
78 int pfd_interface;
79};
80
81struct pccard_funce_lan {
82 int pfl_nidlen;
83 uint8_t pfl_nid[8];
84};
85
86union pccard_funce {

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

114 int pf_flags;
115 driver_filter_t *intr_filter;
116 driver_intr_t *intr_handler;
117 void *intr_handler_arg;
118 void *intr_handler_cookie;
119
120 union pccard_funce pf_funce; /* CISTPL_FUNCE */
121#define pf_funce_disk_interface pf_funce.pfv_disk.pfd_interface
122#define pf_funce_lan_nid pf_funce.pfv_lan.pfl_nid
123#define pf_funce_lan_nidlen pf_funce.pfv_lan.pfl_nidlen
124};
125
126/* pf_flags */
127#define PFF_ENABLED 0x0001 /* function is enabled */
128
129struct pccard_card {

--- 64 unchanged lines hidden ---