mfi_cam.c (172588) | mfi_cam.c (204590) |
---|---|
1/*- 2 * Copyright 2007 Scott Long 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 --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright 2007 Scott Long 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 --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/dev/mfi/mfi_cam.c 172588 2007-10-12 16:52:55Z scottl $"); | 28__FBSDID("$FreeBSD: head/sys/dev/mfi/mfi_cam.c 204590 2010-03-02 17:34:11Z kib $"); |
29 30#include "opt_mfi.h" 31 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/kernel.h> 35#include <sys/malloc.h> 36#include <sys/module.h> --- 53 unchanged lines hidden (view full) --- 90}; 91static driver_t mfip_driver = { 92 "mfip", 93 mfip_methods, 94 sizeof(struct mfip_softc) 95}; 96DRIVER_MODULE(mfip, mfi, mfip_driver, mfip_devclass, 0, 0); 97MODULE_DEPEND(mfip, cam, 1, 1, 1); | 29 30#include "opt_mfi.h" 31 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/kernel.h> 35#include <sys/malloc.h> 36#include <sys/module.h> --- 53 unchanged lines hidden (view full) --- 90}; 91static driver_t mfip_driver = { 92 "mfip", 93 mfip_methods, 94 sizeof(struct mfip_softc) 95}; 96DRIVER_MODULE(mfip, mfi, mfip_driver, mfip_devclass, 0, 0); 97MODULE_DEPEND(mfip, cam, 1, 1, 1); |
98MODULE_DEPEND(mfip, mfi, 1, 1, 1); |
|
98 99#define ccb_mfip_ptr sim_priv.entries[0].ptr 100 101static int 102mfip_probe(device_t dev) 103{ 104 105 device_set_desc(dev, "SCSI Passthrough Bus"); --- 281 unchanged lines hidden --- | 99 100#define ccb_mfip_ptr sim_priv.entries[0].ptr 101 102static int 103mfip_probe(device_t dev) 104{ 105 106 device_set_desc(dev, "SCSI Passthrough Bus"); --- 281 unchanged lines hidden --- |