if_casvar.h (194904) | if_casvar.h (213893) |
---|---|
1/*- 2 * Copyright (C) 2001 Eduardo Horvath. 3 * Copyright (c) 2008 Marius Strobl <marius@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: --- 13 unchanged lines hidden (view full) --- 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 * from: NetBSD: gemvar.h,v 1.8 2002/05/15 02:36:12 matt Exp 28 * from: FreeBSD: if_gemvar.h 177560 2008-03-24 17:23:53Z marius 29 * | 1/*- 2 * Copyright (C) 2001 Eduardo Horvath. 3 * Copyright (c) 2008 Marius Strobl <marius@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: --- 13 unchanged lines hidden (view full) --- 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 * from: NetBSD: gemvar.h,v 1.8 2002/05/15 02:36:12 matt Exp 28 * from: FreeBSD: if_gemvar.h 177560 2008-03-24 17:23:53Z marius 29 * |
30 * $FreeBSD: head/sys/dev/cas/if_casvar.h 194904 2009-06-24 20:56:06Z marius $ | 30 * $FreeBSD: head/sys/dev/cas/if_casvar.h 213893 2010-10-15 14:52:11Z marius $ |
31 */ 32 33#ifndef _IF_CASVAR_H 34#define _IF_CASVAR_H 35 36/* 37 * The page size is configurable, but needs to be at least 8k (the 38 * default) in order to also support jumbo buffers. --- 110 unchanged lines hidden (view full) --- 149#define CAS_RES_MEM 1 150 151 bus_dma_tag_t sc_pdmatag; /* parent bus DMA tag */ 152 bus_dma_tag_t sc_rdmatag; /* RX bus DMA tag */ 153 bus_dma_tag_t sc_tdmatag; /* TX bus DMA tag */ 154 bus_dma_tag_t sc_cdmatag; /* control data bus DMA tag */ 155 bus_dmamap_t sc_dmamap; /* bus DMA handle */ 156 | 31 */ 32 33#ifndef _IF_CASVAR_H 34#define _IF_CASVAR_H 35 36/* 37 * The page size is configurable, but needs to be at least 8k (the 38 * default) in order to also support jumbo buffers. --- 110 unchanged lines hidden (view full) --- 149#define CAS_RES_MEM 1 150 151 bus_dma_tag_t sc_pdmatag; /* parent bus DMA tag */ 152 bus_dma_tag_t sc_rdmatag; /* RX bus DMA tag */ 153 bus_dma_tag_t sc_tdmatag; /* TX bus DMA tag */ 154 bus_dma_tag_t sc_cdmatag; /* control data bus DMA tag */ 155 bus_dmamap_t sc_dmamap; /* bus DMA handle */ 156 |
157 u_int sc_phyad; /* PHY to use or -1 for any */ 158 | |
159 u_int sc_variant; 160#define CAS_UNKNOWN 0 /* don't know */ 161#define CAS_CAS 1 /* Sun Cassini */ 162#define CAS_CASPLUS 2 /* Sun Cassini+ */ 163#define CAS_SATURN 3 /* National Semiconductor Saturn */ 164 165 u_int sc_flags; 166#define CAS_INITED (1 << 0) /* reset persistent regs init'ed */ --- 97 unchanged lines hidden --- | 157 u_int sc_variant; 158#define CAS_UNKNOWN 0 /* don't know */ 159#define CAS_CAS 1 /* Sun Cassini */ 160#define CAS_CASPLUS 2 /* Sun Cassini+ */ 161#define CAS_SATURN 3 /* National Semiconductor Saturn */ 162 163 u_int sc_flags; 164#define CAS_INITED (1 << 0) /* reset persistent regs init'ed */ --- 97 unchanged lines hidden --- |