mpt2sas: Fix unsafe using smp_processor_id() in preemptible
[pandora-kernel.git] / drivers / scsi / NCR_D700.h
1 /* -*- mode: c; c-basic-offset: 8 -*- */
2
3 /* NCR Dual 700 MCA SCSI Driver
4  *
5  * Copyright (C) 2001 by James.Bottomley@HansenPartnership.com
6  */
7
8 #ifndef _NCR_D700_H
9 #define _NCR_D700_H
10
11 /* Don't turn on debugging messages */
12 #undef NCR_D700_DEBUG
13
14 /* The MCA identifier */
15 #define NCR_D700_MCA_ID         0x0092
16
17 /* Defines for the Board registers */
18 #define BOARD_RESET             0x80    /* board level reset */
19 #define ADD_PARENB              0x04    /* Address Parity Enabled */
20 #define DAT_PARENB              0x01    /* Data Parity Enabled */
21 #define SFBK_ENB                0x10    /* SFDBK Interrupt Enabled */
22 #define LED0GREEN               0x20    /* Led 0 (red 0; green 1) */
23 #define LED1GREEN               0x40    /* Led 1 (red 0; green 1) */
24 #define LED0RED                 0xDF    /* Led 0 (red 0; green 1) */
25 #define LED1RED                 0xBF    /* Led 1 (red 0; green 1) */
26
27 #define NCR_D700_CLOCK_MHZ      50
28
29 #endif