xref: /linux/drivers/scsi/aic7xxx/aic79xx_pci.h (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
11da177e4SLinus Torvalds /*
21da177e4SLinus Torvalds  * Adaptec AIC79xx device driver for Linux.
31da177e4SLinus Torvalds  *
41da177e4SLinus Torvalds  * Copyright (c) 2000-2001 Adaptec Inc.
51da177e4SLinus Torvalds  * All rights reserved.
61da177e4SLinus Torvalds  *
71da177e4SLinus Torvalds  * Redistribution and use in source and binary forms, with or without
81da177e4SLinus Torvalds  * modification, are permitted provided that the following conditions
91da177e4SLinus Torvalds  * are met:
101da177e4SLinus Torvalds  * 1. Redistributions of source code must retain the above copyright
111da177e4SLinus Torvalds  *    notice, this list of conditions, and the following disclaimer,
121da177e4SLinus Torvalds  *    without modification.
131da177e4SLinus Torvalds  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
141da177e4SLinus Torvalds  *    substantially similar to the "NO WARRANTY" disclaimer below
151da177e4SLinus Torvalds  *    ("Disclaimer") and any redistribution must be conditioned upon
161da177e4SLinus Torvalds  *    including a substantially similar Disclaimer requirement for further
171da177e4SLinus Torvalds  *    binary redistribution.
181da177e4SLinus Torvalds  * 3. Neither the names of the above-listed copyright holders nor the names
191da177e4SLinus Torvalds  *    of any contributors may be used to endorse or promote products derived
201da177e4SLinus Torvalds  *    from this software without specific prior written permission.
211da177e4SLinus Torvalds  *
221da177e4SLinus Torvalds  * Alternatively, this software may be distributed under the terms of the
231da177e4SLinus Torvalds  * GNU General Public License ("GPL") version 2 as published by the Free
241da177e4SLinus Torvalds  * Software Foundation.
251da177e4SLinus Torvalds  *
261da177e4SLinus Torvalds  * NO WARRANTY
271da177e4SLinus Torvalds  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
281da177e4SLinus Torvalds  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
291da177e4SLinus Torvalds  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
301da177e4SLinus Torvalds  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
311da177e4SLinus Torvalds  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
321da177e4SLinus Torvalds  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
331da177e4SLinus Torvalds  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
341da177e4SLinus Torvalds  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
351da177e4SLinus Torvalds  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
361da177e4SLinus Torvalds  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
371da177e4SLinus Torvalds  * POSSIBILITY OF SUCH DAMAGES.
381da177e4SLinus Torvalds  *
391da177e4SLinus Torvalds  * $Id$
401da177e4SLinus Torvalds  *
411da177e4SLinus Torvalds  */
421da177e4SLinus Torvalds #ifndef _AIC79XX_PCI_H_
431da177e4SLinus Torvalds #define _AIC79XX_PCI_H_
441da177e4SLinus Torvalds 
451da177e4SLinus Torvalds #define ID_ALL_MASK			0xFFFFFFFFFFFFFFFFull
461da177e4SLinus Torvalds #define ID_ALL_IROC_MASK		0xFF7FFFFFFFFFFFFFull
471da177e4SLinus Torvalds #define ID_DEV_VENDOR_MASK		0xFFFFFFFF00000000ull
481da177e4SLinus Torvalds #define ID_9005_GENERIC_MASK		0xFFF0FFFF00000000ull
491da177e4SLinus Torvalds #define ID_9005_GENERIC_IROC_MASK	0xFF70FFFF00000000ull
501da177e4SLinus Torvalds 
511da177e4SLinus Torvalds #define ID_AIC7901			0x800F9005FFFF9005ull
521da177e4SLinus Torvalds #define ID_AHA_29320A			0x8000900500609005ull
531da177e4SLinus Torvalds #define ID_AHA_29320ALP			0x8017900500449005ull
54*d32adcb8SSalyzyn, Mark #define ID_AHA_29320LPE			0x8017900500459005ull
551da177e4SLinus Torvalds 
561da177e4SLinus Torvalds #define ID_AIC7901A			0x801E9005FFFF9005ull
571da177e4SLinus Torvalds #define ID_AHA_29320LP			0x8014900500449005ull
581da177e4SLinus Torvalds 
591da177e4SLinus Torvalds #define ID_AIC7902			0x801F9005FFFF9005ull
601da177e4SLinus Torvalds #define ID_AIC7902_B			0x801D9005FFFF9005ull
611da177e4SLinus Torvalds #define ID_AHA_39320			0x8010900500409005ull
625e46631bSHannes Reinecke #define ID_AHA_29320			0x8012900500429005ull
635e46631bSHannes Reinecke #define ID_AHA_29320B			0x8013900500439005ull
641da177e4SLinus Torvalds #define ID_AHA_39320_B			0x8015900500409005ull
655e46631bSHannes Reinecke #define ID_AHA_39320_B_DELL		0x8015900501681028ull
661da177e4SLinus Torvalds #define ID_AHA_39320A			0x8016900500409005ull
671da177e4SLinus Torvalds #define ID_AHA_39320D			0x8011900500419005ull
681da177e4SLinus Torvalds #define ID_AHA_39320D_B			0x801C900500419005ull
691da177e4SLinus Torvalds #define ID_AHA_39320D_HP		0x8011900500AC0E11ull
701da177e4SLinus Torvalds #define ID_AHA_39320D_B_HP		0x801C900500AC0E11ull
711da177e4SLinus Torvalds 
721da177e4SLinus Torvalds #endif /* _AIC79XX_PCI_H_ */
73