Deleted Added
full compact
amrvar.h (153409) amrvar.h (155222)
1/*-
2 * Copyright (c) 1999,2000 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:

--- 39 unchanged lines hidden (view full) ---

48 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
49 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
50 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
51 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
52 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
53 * SUCH DAMAGE.
54 *
55 *
1/*-
2 * Copyright (c) 1999,2000 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:

--- 39 unchanged lines hidden (view full) ---

48 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
49 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
50 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
51 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
52 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
53 * SUCH DAMAGE.
54 *
55 *
56 * $FreeBSD: head/sys/dev/amr/amrvar.h 153409 2005-12-14 03:26:49Z scottl $
56 * $FreeBSD: head/sys/dev/amr/amrvar.h 155222 2006-02-02 17:50:59Z ps $
57 */
58
59#include <geom/geom_disk.h>
60#include <sys/lock.h>
61#include <sys/mutex.h>
62
63#define LSI_DESC_PCI "LSILogic MegaRAID 1.53"
64

--- 161 unchanged lines hidden (view full) ---

226 /* controller type-specific support */
227 int amr_type;
228#define AMR_TYPE_QUARTZ (1<<0)
229#define AMR_IS_QUARTZ(sc) ((sc)->amr_type & AMR_TYPE_QUARTZ)
230#define AMR_TYPE_40LD (1<<1)
231#define AMR_IS_40LD(sc) ((sc)->amr_type & AMR_TYPE_40LD)
232#define AMR_TYPE_SG64 (1<<2)
233#define AMR_IS_SG64(sc) ((sc)->amr_type & AMR_TYPE_SG64)
57 */
58
59#include <geom/geom_disk.h>
60#include <sys/lock.h>
61#include <sys/mutex.h>
62
63#define LSI_DESC_PCI "LSILogic MegaRAID 1.53"
64

--- 161 unchanged lines hidden (view full) ---

226 /* controller type-specific support */
227 int amr_type;
228#define AMR_TYPE_QUARTZ (1<<0)
229#define AMR_IS_QUARTZ(sc) ((sc)->amr_type & AMR_TYPE_QUARTZ)
230#define AMR_TYPE_40LD (1<<1)
231#define AMR_IS_40LD(sc) ((sc)->amr_type & AMR_TYPE_40LD)
232#define AMR_TYPE_SG64 (1<<2)
233#define AMR_IS_SG64(sc) ((sc)->amr_type & AMR_TYPE_SG64)
234 int (* amr_submit_command)(struct amr_softc *sc);
234 int (* amr_submit_command)(struct amr_command *ac);
235 int (* amr_get_work)(struct amr_softc *sc, struct amr_mailbox *mbsave);
236 int (*amr_poll_command)(struct amr_command *ac);
237 int (*amr_poll_command1)(struct amr_softc *sc, struct amr_command *ac);
238 int support_ext_cdb; /* greater than 10 byte cdb support */
239
240 /* misc glue */
241 struct intr_config_hook amr_ich; /* wait-for-interrupts probe hook */
242 struct callout_handle amr_timeout; /* periodic status check */

--- 126 unchanged lines hidden ---
235 int (* amr_get_work)(struct amr_softc *sc, struct amr_mailbox *mbsave);
236 int (*amr_poll_command)(struct amr_command *ac);
237 int (*amr_poll_command1)(struct amr_softc *sc, struct amr_command *ac);
238 int support_ext_cdb; /* greater than 10 byte cdb support */
239
240 /* misc glue */
241 struct intr_config_hook amr_ich; /* wait-for-interrupts probe hook */
242 struct callout_handle amr_timeout; /* periodic status check */

--- 126 unchanged lines hidden ---