if_hatmvar.h (121797) | if_hatmvar.h (122112) |
---|---|
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/hatm/if_hatmvar.h 121797 2003-10-31 13:35:22Z harti $ | 29 * $FreeBSD: head/sys/dev/hatm/if_hatmvar.h 122112 2003-11-05 11:43:06Z harti $ |
30 * 31 * Fore HE driver for NATM 32 */ 33 34/* 35 * Debug statistics of the HE driver 36 */ 37struct istats { --- 418 unchanged lines hidden (view full) --- 456 struct sysctl_oid *sysctl_tree; 457 458 /* internal statistics */ 459 struct istats istats; 460 461#ifdef HATM_DEBUG 462 /* debugging */ 463 u_int debug; | 30 * 31 * Fore HE driver for NATM 32 */ 33 34/* 35 * Debug statistics of the HE driver 36 */ 37struct istats { --- 418 unchanged lines hidden (view full) --- 456 struct sysctl_oid *sysctl_tree; 457 458 /* internal statistics */ 459 struct istats istats; 460 461#ifdef HATM_DEBUG 462 /* debugging */ 463 u_int debug; |
464 465 /* transmit mbuf count */ 466 int txmbuf; |
|
464#endif 465}; 466 467#define READ4(SC,OFF) bus_space_read_4(SC->memt, SC->memh, (OFF)) 468#define READ2(SC,OFF) bus_space_read_2(SC->memt, SC->memh, (OFF)) 469#define READ1(SC,OFF) bus_space_read_1(SC->memt, SC->memh, (OFF)) 470 471#define WRITE4(SC,OFF,VAL) bus_space_write_4(SC->memt, SC->memh, (OFF), (VAL)) --- 164 unchanged lines hidden --- | 467#endif 468}; 469 470#define READ4(SC,OFF) bus_space_read_4(SC->memt, SC->memh, (OFF)) 471#define READ2(SC,OFF) bus_space_read_2(SC->memt, SC->memh, (OFF)) 472#define READ1(SC,OFF) bus_space_read_1(SC->memt, SC->memh, (OFF)) 473 474#define WRITE4(SC,OFF,VAL) bus_space_write_4(SC->memt, SC->memh, (OFF), (VAL)) --- 164 unchanged lines hidden --- |