1/* 2 * HighPoint RR3xxx/4xxx RAID Driver for FreeBSD 3 * Copyright (C) 2007-2008 HighPoint Technologies, Inc. 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/hptiop/hptiop.c 236379 2012-06-01 04:34:49Z eadler $"); |
29 30#include <sys/param.h> 31#include <sys/types.h> 32#include <sys/cons.h> 33#if (__FreeBSD_version >= 500000) 34#include <sys/time.h> 35#include <sys/systm.h> 36#else --- 1226 unchanged lines hidden (view full) --- 1263 1264static driver_t hptiop_pci_driver = { 1265 driver_name, 1266 driver_methods, 1267 sizeof(struct hpt_iop_hba) 1268}; 1269 1270DRIVER_MODULE(hptiop, pci, hptiop_pci_driver, hptiop_devclass, 0, 0); |
1271MODULE_DEPEND(hptiop, cam, 1, 1, 1); |
1272 1273static int hptiop_probe(device_t dev) 1274{ 1275 struct hpt_iop_hba *hba; 1276 u_int32_t id; 1277 static char buf[256]; 1278 int sas = 0; 1279 struct hptiop_adapter_ops *ops; --- 935 unchanged lines hidden --- |