if_fxpvar.h (74178) | if_fxpvar.h (74259) |
---|---|
1/* 2 * Copyright (c) 1995, David Greenman 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 * | 1/* 2 * Copyright (c) 1995, David Greenman 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/fxp/if_fxpvar.h 74178 2001-03-12 21:30:52Z jlemon $ | 27 * $FreeBSD: head/sys/dev/fxp/if_fxpvar.h 74259 2001-03-14 19:50:35Z jlemon $ |
28 */ 29 30/* 31 * Misc. defintions for the Intel EtherExpress Pro/100B PCI Fast 32 * Ethernet driver 33 */ 34 35/* --- 72 unchanged lines hidden (view full) --- 108 struct callout_handle stat_ch; /* Handle for canceling our stat timeout */ 109 struct fxp_cb_tx *cbl_base; /* base of TxCB list */ 110 struct fxp_cb_mcs *mcsp; /* Pointer to mcast setup descriptor */ 111 struct ifmedia sc_media; /* media information */ 112 device_t miibus; 113 device_t dev; 114 int eeprom_size; /* size of serial EEPROM */ 115 int suspended; /* 0 = normal 1 = suspended (APM) */ | 28 */ 29 30/* 31 * Misc. defintions for the Intel EtherExpress Pro/100B PCI Fast 32 * Ethernet driver 33 */ 34 35/* --- 72 unchanged lines hidden (view full) --- 108 struct callout_handle stat_ch; /* Handle for canceling our stat timeout */ 109 struct fxp_cb_tx *cbl_base; /* base of TxCB list */ 110 struct fxp_cb_mcs *mcsp; /* Pointer to mcast setup descriptor */ 111 struct ifmedia sc_media; /* media information */ 112 device_t miibus; 113 device_t dev; 114 int eeprom_size; /* size of serial EEPROM */ 115 int suspended; /* 0 = normal 1 = suspended (APM) */ |
116 int chip; |
|
116 int flags; 117 u_int32_t saved_maps[5]; /* pci data */ 118 u_int32_t saved_biosaddr; 119 u_int8_t saved_intline; 120 u_int8_t saved_cachelnsz; 121 u_int8_t saved_lattimer; 122}; 123 | 117 int flags; 118 u_int32_t saved_maps[5]; /* pci data */ 119 u_int32_t saved_biosaddr; 120 u_int8_t saved_intline; 121 u_int8_t saved_cachelnsz; 122 u_int8_t saved_lattimer; 123}; 124 |
125#define FXP_CHIP_82557 1 /* 82557 chip type */ 126 |
|
124#define FXP_FLAG_MWI_ENABLE 0x0001 /* MWI enable */ 125#define FXP_FLAG_READ_ALIGN 0x0002 /* align read access with cacheline */ 126#define FXP_FLAG_WRITE_ALIGN 0x0004 /* end write on cacheline */ 127#define FXP_FLAG_EXT_TXCB 0x0008 /* enable use of extended TXCB */ 128#define FXP_FLAG_SERIAL_MEDIA 0x0010 /* 10Mbps serial interface */ 129#define FXP_FLAG_LONG_PKT_EN 0x0020 /* enable long packet reception */ 130#define FXP_FLAG_ALL_MCAST 0x0040 /* accept all multicast frames */ 131 --- 17 unchanged lines hidden --- | 127#define FXP_FLAG_MWI_ENABLE 0x0001 /* MWI enable */ 128#define FXP_FLAG_READ_ALIGN 0x0002 /* align read access with cacheline */ 129#define FXP_FLAG_WRITE_ALIGN 0x0004 /* end write on cacheline */ 130#define FXP_FLAG_EXT_TXCB 0x0008 /* enable use of extended TXCB */ 131#define FXP_FLAG_SERIAL_MEDIA 0x0010 /* 10Mbps serial interface */ 132#define FXP_FLAG_LONG_PKT_EN 0x0020 /* enable long packet reception */ 133#define FXP_FLAG_ALL_MCAST 0x0040 /* accept all multicast frames */ 134 --- 17 unchanged lines hidden --- |