if_fxpreg.h (185269) | if_fxpreg.h (185330) |
---|---|
1/*- 2 * Copyright (c) 1995, David Greenman 3 * Copyright (c) 2001 Jonathan Lemon <jlemon@freebsd.org> 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: --- 11 unchanged lines hidden (view full) --- 20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * | 1/*- 2 * Copyright (c) 1995, David Greenman 3 * Copyright (c) 2001 Jonathan Lemon <jlemon@freebsd.org> 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: --- 11 unchanged lines hidden (view full) --- 20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * |
28 * $FreeBSD: head/sys/dev/fxp/if_fxpreg.h 185269 2008-11-25 00:48:05Z yongari $ | 28 * $FreeBSD: head/sys/dev/fxp/if_fxpreg.h 185330 2008-11-26 07:36:17Z yongari $ |
29 */ 30 31#define FXP_VENDORID_INTEL 0x8086 32 33#define FXP_PCI_MMBA 0x10 34#define FXP_PCI_IOBA 0x14 35 36/* --- 250 unchanged lines hidden (view full) --- 287 /* 288 * The following structure isn't actually part of the TxCB, 289 * unless the extended TxCB feature is being used. In this 290 * case, the first two elements of the structure below are 291 * fetched along with the TxCB. 292 */ 293 union { 294 struct fxp_ipcb ipcb; | 29 */ 30 31#define FXP_VENDORID_INTEL 0x8086 32 33#define FXP_PCI_MMBA 0x10 34#define FXP_PCI_IOBA 0x14 35 36/* --- 250 unchanged lines hidden (view full) --- 287 /* 288 * The following structure isn't actually part of the TxCB, 289 * unless the extended TxCB feature is being used. In this 290 * case, the first two elements of the structure below are 291 * fetched along with the TxCB. 292 */ 293 union { 294 struct fxp_ipcb ipcb; |
295 struct fxp_tbd tbd[FXP_NTXSEG]; | 295 struct fxp_tbd tbd[FXP_NTXSEG + 1]; |
296 } tx_cb_u; 297}; 298 299#define tbd tx_cb_u.tbd 300#define ipcb_schedule_low tx_cb_u.ipcb.ipcb_schedule_low 301#define ipcb_ip_schedule tx_cb_u.ipcb.ipcb_ip_schedule 302#define ipcb_ip_activation_high tx_cb_u.ipcb.ipcb_ip_activation_high 303#define ipcb_vlan_id tx_cb_u.ipcb.ipcb_vlan_id --- 170 unchanged lines hidden --- | 296 } tx_cb_u; 297}; 298 299#define tbd tx_cb_u.tbd 300#define ipcb_schedule_low tx_cb_u.ipcb.ipcb_schedule_low 301#define ipcb_ip_schedule tx_cb_u.ipcb.ipcb_ip_schedule 302#define ipcb_ip_activation_high tx_cb_u.ipcb.ipcb_ip_activation_high 303#define ipcb_vlan_id tx_cb_u.ipcb.ipcb_vlan_id --- 170 unchanged lines hidden --- |