OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [scsi/] [lasi700.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/* -*- 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
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);
31
 
32
 
33
#define LASI700_SCSI {                          \
34
        name:           "LASI SCSI 53c700",     \
35
        proc_name:      "lasi700",              \
36
        detect:         lasi700_detect,         \
37
        release:        lasi700_release,        \
38
        this_id:        7,                      \
39
}
40
 
41
#define LASI_710_SVERSION       0x082
42
#define LASI_700_SVERSION       0x071
43
 
44
#define LASI700_ID_TABLE {                      \
45
        hw_type:        HPHW_FIO,               \
46
        sversion:       LASI_700_SVERSION,      \
47
        hversion:       HVERSION_ANY_ID,        \
48
        hversion_rev:   HVERSION_REV_ANY_ID,    \
49
}
50
 
51
#define LASI710_ID_TABLE {                      \
52
        hw_type:        HPHW_FIO,               \
53
        sversion:       LASI_710_SVERSION,      \
54
        hversion:       HVERSION_ANY_ID,        \
55
        hversion_rev:   HVERSION_REV_ANY_ID,    \
56
}
57
 
58
#define LASI700_DRIVER {                        \
59
        name:           "Lasi SCSI",            \
60
        id_table:       lasi700_scsi_tbl,       \
61
        probe:          lasi700_driver_callback,\
62
}
63
 
64
#define LASI700_CLOCK   25
65
#define LASI710_CLOCK   40
66
#define LASI_SCSI_CORE_OFFSET 0x100
67
 
68
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.