hptiop.c (209340) | hptiop.c (224583) |
---|---|
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> | 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 209340 2010-06-19 13:41:17Z mav $"); | 28__FBSDID("$FreeBSD: head/sys/dev/hptiop/hptiop.c 224583 2011-08-01 21:12:41Z delphij $"); |
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 --- 1227 unchanged lines hidden (view full) --- 1264 struct hptiop_adapter_ops *ops; 1265 1266 if (pci_get_vendor(dev) != 0x1103) 1267 return (ENXIO); 1268 1269 id = pci_get_device(dev); 1270 1271 switch (id) { | 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 --- 1227 unchanged lines hidden (view full) --- 1264 struct hptiop_adapter_ops *ops; 1265 1266 if (pci_get_vendor(dev) != 0x1103) 1267 return (ENXIO); 1268 1269 id = pci_get_device(dev); 1270 1271 switch (id) { |
1272 case 0x4322: 1273 case 0x4321: |
|
1272 case 0x4320: 1273 sas = 1; 1274 case 0x3220: 1275 case 0x3320: 1276 case 0x3410: 1277 case 0x3520: 1278 case 0x3510: 1279 case 0x3511: --- 914 unchanged lines hidden --- | 1274 case 0x4320: 1275 sas = 1; 1276 case 0x3220: 1277 case 0x3320: 1278 case 0x3410: 1279 case 0x3520: 1280 case 0x3510: 1281 case 0x3511: --- 914 unchanged lines hidden --- |