Linux-2.6.12-rc2
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / scsi / aic7xxx / aic79xx_pci.h
1 /*
2 * Adaptec AIC79xx device driver for Linux.
3 *
4 * Copyright (c) 2000-2001 Adaptec Inc.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions, and the following disclaimer,
12 * without modification.
13 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
14 * substantially similar to the "NO WARRANTY" disclaimer below
15 * ("Disclaimer") and any redistribution must be conditioned upon
16 * including a substantially similar Disclaimer requirement for further
17 * binary redistribution.
18 * 3. Neither the names of the above-listed copyright holders nor the names
19 * of any contributors may be used to endorse or promote products derived
20 * from this software without specific prior written permission.
21 *
22 * Alternatively, this software may be distributed under the terms of the
23 * GNU General Public License ("GPL") version 2 as published by the Free
24 * Software Foundation.
25 *
26 * NO WARRANTY
27 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
29 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
30 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
31 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
35 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
36 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37 * POSSIBILITY OF SUCH DAMAGES.
38 *
39 * $Id$
40 *
41 */
42 #ifndef _AIC79XX_PCI_H_
43 #define _AIC79XX_PCI_H_
44
45 #define ID_ALL_MASK 0xFFFFFFFFFFFFFFFFull
46 #define ID_ALL_IROC_MASK 0xFF7FFFFFFFFFFFFFull
47 #define ID_DEV_VENDOR_MASK 0xFFFFFFFF00000000ull
48 #define ID_9005_GENERIC_MASK 0xFFF0FFFF00000000ull
49 #define ID_9005_GENERIC_IROC_MASK 0xFF70FFFF00000000ull
50
51 #define ID_AIC7901 0x800F9005FFFF9005ull
52 #define ID_AHA_29320A 0x8000900500609005ull
53 #define ID_AHA_29320ALP 0x8017900500449005ull
54
55 #define ID_AIC7901A 0x801E9005FFFF9005ull
56 #define ID_AHA_29320 0x8012900500429005ull
57 #define ID_AHA_29320B 0x8013900500439005ull
58 #define ID_AHA_29320LP 0x8014900500449005ull
59
60 #define ID_AIC7902 0x801F9005FFFF9005ull
61 #define ID_AIC7902_B 0x801D9005FFFF9005ull
62 #define ID_AHA_39320 0x8010900500409005ull
63 #define ID_AHA_39320_B 0x8015900500409005ull
64 #define ID_AHA_39320A 0x8016900500409005ull
65 #define ID_AHA_39320D 0x8011900500419005ull
66 #define ID_AHA_39320D_B 0x801C900500419005ull
67 #define ID_AHA_39320D_HP 0x8011900500AC0E11ull
68 #define ID_AHA_39320D_B_HP 0x801C900500AC0E11ull
69
70 #endif /* _AIC79XX_PCI_H_ */