twe_compat.h (129879) | twe_compat.h (130585) |
---|---|
1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2003 Paul Saab 4 * Copyright (c) 2003 Vinod Kashyap 5 * Copyright (c) 2000 BSDi 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2003 Paul Saab 4 * Copyright (c) 2003 Vinod Kashyap 5 * Copyright (c) 2000 BSDi 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $FreeBSD: head/sys/dev/twe/twe_compat.h 129879 2004-05-30 20:08:47Z phk $ | 29 * $FreeBSD: head/sys/dev/twe/twe_compat.h 130585 2004-06-16 09:47:26Z phk $ |
30 */ 31/* 32 * Portability and compatibility interfaces. 33 */ 34 35#ifdef __FreeBSD__ 36/****************************************************************************** 37 * FreeBSD --- 35 unchanged lines hidden (view full) --- 73 74/* 75 * FreeBSD-specific softc elements 76 */ 77#define TWE_PLATFORM_SOFTC \ 78 bus_dmamap_t twe_cmdmap; /* DMA map for command */ \ 79 u_int32_t twe_cmdphys; /* address of command in controller space */ \ 80 device_t twe_dev; /* bus device */ \ | 30 */ 31/* 32 * Portability and compatibility interfaces. 33 */ 34 35#ifdef __FreeBSD__ 36/****************************************************************************** 37 * FreeBSD --- 35 unchanged lines hidden (view full) --- 73 74/* 75 * FreeBSD-specific softc elements 76 */ 77#define TWE_PLATFORM_SOFTC \ 78 bus_dmamap_t twe_cmdmap; /* DMA map for command */ \ 79 u_int32_t twe_cmdphys; /* address of command in controller space */ \ 80 device_t twe_dev; /* bus device */ \ |
81 dev_t twe_dev_t; /* control device */ \ | 81 struct cdev *twe_dev_t; /* control device */ \ |
82 struct resource *twe_io; /* register interface window */ \ 83 bus_space_handle_t twe_bhandle; /* bus space handle */ \ 84 bus_space_tag_t twe_btag; /* bus space tag */ \ 85 bus_dma_tag_t twe_parent_dmat; /* parent DMA tag */ \ 86 bus_dma_tag_t twe_buffer_dmat; /* data buffer DMA tag */ \ 87 bus_dma_tag_t twe_cmd_dmat; /* command buffer DMA tag */ \ 88 bus_dma_tag_t twe_immediate_dmat; /* command buffer DMA tag */ \ 89 struct resource *twe_irq; /* interrupt */ \ --- 73 unchanged lines hidden --- | 82 struct resource *twe_io; /* register interface window */ \ 83 bus_space_handle_t twe_bhandle; /* bus space handle */ \ 84 bus_space_tag_t twe_btag; /* bus space tag */ \ 85 bus_dma_tag_t twe_parent_dmat; /* parent DMA tag */ \ 86 bus_dma_tag_t twe_buffer_dmat; /* data buffer DMA tag */ \ 87 bus_dma_tag_t twe_cmd_dmat; /* command buffer DMA tag */ \ 88 bus_dma_tag_t twe_immediate_dmat; /* command buffer DMA tag */ \ 89 struct resource *twe_irq; /* interrupt */ \ --- 73 unchanged lines hidden --- |