ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / drivers / scsi / lasi700.h
1 /* -*- mode: c; c-basic-offset: 8 -*- */
2
3 /* PARISC LASI driver for the 53c700 chip
4  *
5  * Copyright (C) 2001 by James.Bottomley@HansenPartnership.com
6 **-----------------------------------------------------------------------------
7 **  
8 **  This program is free software; you can redistribute it and/or modify
9 **  it under the terms of the GNU General Public License as published by
10 **  the Free Software Foundation; either version 2 of the License, or
11 **  (at your option) any later version.
12 **
13 **  This program is distributed in the hope that it will be useful,
14 **  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 **  GNU General Public License for more details.
17 **
18 **  You should have received a copy of the GNU General Public License
19 **  along with this program; if not, write to the Free Software
20 **  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 **
22 **-----------------------------------------------------------------------------
23  */
24
25 #ifndef _LASI700_H
26 #define _LASI700_H
27
28 #define LASI_710_SVERSION       0x082
29 #define LASI_700_SVERSION       0x071
30
31 #define LASI700_ID_TABLE {                      \
32         .hw_type        = HPHW_FIO,             \
33         .sversion       = LASI_700_SVERSION,    \
34         .hversion       = HVERSION_ANY_ID,      \
35         .hversion_rev   = HVERSION_REV_ANY_ID,  \
36 }
37
38 #define LASI710_ID_TABLE {                      \
39         .hw_type        = HPHW_FIO,             \
40         .sversion       = LASI_710_SVERSION,    \
41         .hversion       = HVERSION_ANY_ID,      \
42         .hversion_rev   = HVERSION_REV_ANY_ID,  \
43 }
44
45 #define LASI700_CLOCK   25
46 #define LASI710_CLOCK   40
47 #define LASI_SCSI_CORE_OFFSET 0x100
48
49 #endif