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 **-----------------------------------------------------------------------------
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 **-----------------------------------------------------------------------------
28 static int lasi700_detect(Scsi_Host_Template *);
29 static int lasi700_driver_callback(struct parisc_device *dev);
30 static int lasi700_release(struct Scsi_Host *host);
33 #define LASI700_SCSI { \
34 name: "LASI SCSI 53c700", \
35 proc_name: "lasi700", \
36 detect: lasi700_detect, \
37 release: lasi700_release, \
41 #define LASI_710_SVERSION 0x082
42 #define LASI_700_SVERSION 0x071
44 #define LASI700_ID_TABLE { \
46 sversion: LASI_700_SVERSION, \
47 hversion: HVERSION_ANY_ID, \
48 hversion_rev: HVERSION_REV_ANY_ID, \
51 #define LASI710_ID_TABLE { \
53 sversion: LASI_710_SVERSION, \
54 hversion: HVERSION_ANY_ID, \
55 hversion_rev: HVERSION_REV_ANY_ID, \
58 #define LASI700_DRIVER { \
60 id_table: lasi700_scsi_tbl, \
61 probe: lasi700_driver_callback,\
64 #define LASI700_CLOCK 25
65 #define LASI710_CLOCK 40
66 #define LASI_SCSI_CORE_OFFSET 0x100