Merge with Linux 2.5.74.
[linux-2.6/linux-mips.git] / drivers / scsi / lasi700.h
blob1e92b9a8c610abc315f7daefbcca90dfe41610b3
1 /* -*- mode: c; c-basic-offset: 8 -*- */
3 /* PARISC LASI driver for the 53c700 chip
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.
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.
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.
22 **-----------------------------------------------------------------------------
25 #ifndef _LASI700_H
26 #define _LASI700_H
28 static int lasi700_driver_callback(struct parisc_device *dev);
29 static int lasi700_driver_remove(struct parisc_device *dev);
31 #define LASI_710_SVERSION 0x082
32 #define LASI_700_SVERSION 0x071
34 #define LASI700_ID_TABLE { \
35 .hw_type = HPHW_FIO, \
36 .sversion = LASI_700_SVERSION, \
37 .hversion = HVERSION_ANY_ID, \
38 .hversion_rev = HVERSION_REV_ANY_ID, \
41 #define LASI710_ID_TABLE { \
42 .hw_type = HPHW_FIO, \
43 .sversion = LASI_710_SVERSION, \
44 .hversion = HVERSION_ANY_ID, \
45 .hversion_rev = HVERSION_REV_ANY_ID, \
48 #define LASI700_CLOCK 25
49 #define LASI710_CLOCK 40
50 #define LASI_SCSI_CORE_OFFSET 0x100
52 #endif