Deleted Added
full compact
mfi_pci.c (186132) mfi_pci.c (204590)
1/*-
2 * Copyright (c) 2006 IronPort Systems
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

46 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
48 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
49 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
50 * SUCH DAMAGE.
51 */
52
53#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2006 IronPort Systems
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

46 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
48 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
49 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
50 * SUCH DAMAGE.
51 */
52
53#include <sys/cdefs.h>
54__FBSDID("$FreeBSD: head/sys/dev/mfi/mfi_pci.c 186132 2008-12-15 17:11:40Z ambrisko $");
54__FBSDID("$FreeBSD: head/sys/dev/mfi/mfi_pci.c 204590 2010-03-02 17:34:11Z kib $");
55
56/* PCI/PCI-X/PCIe bus interface for the LSI MegaSAS controllers */
57
58#include "opt_mfi.h"
59
60#include <sys/param.h>
61#include <sys/systm.h>
62#include <sys/kernel.h>

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

100static driver_t mfi_pci_driver = {
101 "mfi",
102 mfi_methods,
103 sizeof(struct mfi_softc)
104};
105
106static devclass_t mfi_devclass;
107DRIVER_MODULE(mfi, pci, mfi_pci_driver, mfi_devclass, 0, 0);
55
56/* PCI/PCI-X/PCIe bus interface for the LSI MegaSAS controllers */
57
58#include "opt_mfi.h"
59
60#include <sys/param.h>
61#include <sys/systm.h>
62#include <sys/kernel.h>

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

100static driver_t mfi_pci_driver = {
101 "mfi",
102 mfi_methods,
103 sizeof(struct mfi_softc)
104};
105
106static devclass_t mfi_devclass;
107DRIVER_MODULE(mfi, pci, mfi_pci_driver, mfi_devclass, 0, 0);
108MODULE_VERSION(mfi, 1);
108
109struct mfi_ident {
110 uint16_t vendor;
111 uint16_t device;
112 uint16_t subvendor;
113 uint16_t subdevice;
114 int flags;
115 const char *desc;

--- 183 unchanged lines hidden ---
109
110struct mfi_ident {
111 uint16_t vendor;
112 uint16_t device;
113 uint16_t subvendor;
114 uint16_t subdevice;
115 int flags;
116 const char *desc;

--- 183 unchanged lines hidden ---