Deleted Added
full compact
mrsas.h (272735) mrsas.h (272737)
1/*
2 * Copyright (c) 2014, LSI Corp.
3 * All rights reserved.
4 * Authors: Marian Choy
5 * Support: freebsdraid@lsi.com
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

37 *
38 * Send feedback to: <megaraidfbsd@lsi.com>
39 * Mail to: LSI Corporation, 1621 Barber Lane, Milpitas, CA 95035
40 * ATTN: MegaRaid FreeBSD
41 *
42 */
43
44#include <sys/cdefs.h>
1/*
2 * Copyright (c) 2014, LSI Corp.
3 * All rights reserved.
4 * Authors: Marian Choy
5 * Support: freebsdraid@lsi.com
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

37 *
38 * Send feedback to: <megaraidfbsd@lsi.com>
39 * Mail to: LSI Corporation, 1621 Barber Lane, Milpitas, CA 95035
40 * ATTN: MegaRaid FreeBSD
41 *
42 */
43
44#include <sys/cdefs.h>
45__FBSDID("$FreeBSD: head/sys/dev/mrsas/mrsas.h 272735 2014-10-08 08:48:18Z kadesai $");
45__FBSDID("$FreeBSD: head/sys/dev/mrsas/mrsas.h 272737 2014-10-08 09:19:35Z kadesai $");
46
47#ifndef MRSAS_H
48#define MRSAS_H
49
50#include <sys/param.h> /* defines used in kernel.h */
51#include <sys/module.h>
52#include <sys/systm.h>
53#include <sys/proc.h>

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

2414 u_int32_t w[24];
2415 u_int64_t d[12];
2416 } args;
2417
2418 char description[128];
2419
2420} __packed;
2421
46
47#ifndef MRSAS_H
48#define MRSAS_H
49
50#include <sys/param.h> /* defines used in kernel.h */
51#include <sys/module.h>
52#include <sys/systm.h>
53#include <sys/proc.h>

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

2414 u_int32_t w[24];
2415 u_int64_t d[12];
2416 } args;
2417
2418 char description[128];
2419
2420} __packed;
2421
2422/* Controller management info added to support Linux Emulator */
2423#define MAX_MGMT_ADAPTERS 1024
2422
2424
2425struct mrsas_mgmt_info {
2426 u_int16_t count;
2427 struct mrsas_softc *sc_ptr[MAX_MGMT_ADAPTERS];
2428 int max_index;
2429};
2430
2423/*******************************************************************
2424 * per-instance data
2425 ********************************************************************/
2426struct mrsas_softc {
2427 device_t mrsas_dev; // bus device
2428 struct cdev *mrsas_cdev; // controller device
2429 uint16_t device_id; // pci device
2430 struct resource *reg_res; // register interface window

--- 166 unchanged lines hidden ---
2431/*******************************************************************
2432 * per-instance data
2433 ********************************************************************/
2434struct mrsas_softc {
2435 device_t mrsas_dev; // bus device
2436 struct cdev *mrsas_cdev; // controller device
2437 uint16_t device_id; // pci device
2438 struct resource *reg_res; // register interface window

--- 166 unchanged lines hidden ---