mlyvar.h (110479) | mlyvar.h (130585) |
---|---|
1/*- 2 * Copyright (c) 2000, 2001 Michael Smith 3 * Copyright (c) 2000 BSDi 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: --- 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) 2000, 2001 Michael Smith 3 * Copyright (c) 2000 BSDi 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: --- 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/mly/mlyvar.h 110479 2003-02-06 23:46:32Z scottl $ | 27 * $FreeBSD: head/sys/dev/mly/mlyvar.h 130585 2004-06-16 09:47:26Z phk $ |
28 */ 29 30/******************************************************************************** 31 ******************************************************************************** 32 Driver Parameter Definitions 33 ******************************************************************************** 34 ********************************************************************************/ 35 --- 124 unchanged lines hidden (view full) --- 160#define MLY_SLOT_MAX (MLY_SLOT_START + MLY_MAX_COMMANDS) 161 162/* 163 * Per-controller structure. 164 */ 165struct mly_softc { 166 /* bus connections */ 167 device_t mly_dev; | 28 */ 29 30/******************************************************************************** 31 ******************************************************************************** 32 Driver Parameter Definitions 33 ******************************************************************************** 34 ********************************************************************************/ 35 --- 124 unchanged lines hidden (view full) --- 160#define MLY_SLOT_MAX (MLY_SLOT_START + MLY_MAX_COMMANDS) 161 162/* 163 * Per-controller structure. 164 */ 165struct mly_softc { 166 /* bus connections */ 167 device_t mly_dev; |
168 dev_t mly_dev_t; | 168 struct cdev *mly_dev_t; |
169 struct resource *mly_regs_resource; /* register interface window */ 170 int mly_regs_rid; /* resource ID */ 171 bus_space_handle_t mly_bhandle; /* bus space handle */ 172 bus_space_tag_t mly_btag; /* bus space tag */ 173 bus_dma_tag_t mly_parent_dmat; /* parent DMA tag */ 174 bus_dma_tag_t mly_buffer_dmat; /* data buffer/command DMA tag */ 175 struct resource *mly_irq; /* interrupt */ 176 int mly_irq_rid; --- 211 unchanged lines hidden --- | 169 struct resource *mly_regs_resource; /* register interface window */ 170 int mly_regs_rid; /* resource ID */ 171 bus_space_handle_t mly_bhandle; /* bus space handle */ 172 bus_space_tag_t mly_btag; /* bus space tag */ 173 bus_dma_tag_t mly_parent_dmat; /* parent DMA tag */ 174 bus_dma_tag_t mly_buffer_dmat; /* data buffer/command DMA tag */ 175 struct resource *mly_irq; /* interrupt */ 176 int mly_irq_rid; --- 211 unchanged lines hidden --- |