if_fatmvar.h (139749) | if_fatmvar.h (147256) |
---|---|
1/*- 2 * Copyright (c) 2001-2003 3 * Fraunhofer Institute for Open Communication Systems (FhG Fokus). 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 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 * Author: Hartmut Brandt <harti@freebsd.org> 28 * | 1/*- 2 * Copyright (c) 2001-2003 3 * Fraunhofer Institute for Open Communication Systems (FhG Fokus). 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 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 * Author: Hartmut Brandt <harti@freebsd.org> 28 * |
29 * $FreeBSD: head/sys/dev/fatm/if_fatmvar.h 139749 2005-01-06 01:43:34Z imp $ | 29 * $FreeBSD: head/sys/dev/fatm/if_fatmvar.h 147256 2005-06-10 16:49:24Z brooks $ |
30 * 31 * Fore PCA200E driver definitions. 32 */ 33/* 34 * Debug statistics of the PCA200 driver 35 */ 36struct istats { 37 uint32_t cmd_queue_full; --- 142 unchanged lines hidden (view full) --- 180#define FATM_VCC_TRY_CLOSE 0x00040000 /* is currently closing */ 181#define FATM_VCC_BUSY 0x00070000 /* one of the above */ 182#define FATM_VCC_REOPEN 0x00080000 /* reopening during init */ 183 184/* 185 * Finally the softc structure 186 */ 187struct fatm_softc { | 30 * 31 * Fore PCA200E driver definitions. 32 */ 33/* 34 * Debug statistics of the PCA200 driver 35 */ 36struct istats { 37 uint32_t cmd_queue_full; --- 142 unchanged lines hidden (view full) --- 180#define FATM_VCC_TRY_CLOSE 0x00040000 /* is currently closing */ 181#define FATM_VCC_BUSY 0x00070000 /* one of the above */ 182#define FATM_VCC_REOPEN 0x00080000 /* reopening during init */ 183 184/* 185 * Finally the softc structure 186 */ 187struct fatm_softc { |
188 struct ifatm ifatm; /* common part */ | 188 struct ifnet *ifp; /* common part */ |
189 struct mtx mtx; /* lock this structure */ 190 struct ifmedia media; /* media */ 191 192 int init_state; /* initialisation step */ 193 int memid; /* resource id for card memory */ 194 struct resource *memres; /* resource for card memory */ 195 bus_space_handle_t memh; /* handle for card memory */ 196 bus_space_tag_t memt; /* tag for card memory */ --- 198 unchanged lines hidden --- | 189 struct mtx mtx; /* lock this structure */ 190 struct ifmedia media; /* media */ 191 192 int init_state; /* initialisation step */ 193 int memid; /* resource id for card memory */ 194 struct resource *memres; /* resource for card memory */ 195 bus_space_handle_t memh; /* handle for card memory */ 196 bus_space_tag_t memt; /* tag for card memory */ --- 198 unchanged lines hidden --- |