1 /* -*- mode: c; c-basic-offset: 8 -*- */
3 /* NCR Dual 700 MCA SCSI Driver
5 * Copyright (C) 2001 by James.Bottomley@HansenPartnership.com
11 /* Don't turn on debugging messages */
14 /* The MCA identifier */
15 #define NCR_D700_MCA_ID 0x0092
17 static int D700_detect(Scsi_Host_Template *);
18 static int D700_release(struct Scsi_Host *host);
21 /* Host template. Note the name and proc_name are optional, all the
22 * remaining parameters shown below must be filled in. The 53c700
23 * routine NCR_700_detect will fill in all of the missing routines */
24 #define NCR_D700_SCSI { \
25 name: "NCR Dual 700 MCA", \
26 proc_name: "NCR_D700", \
27 detect: D700_detect, \
28 release: D700_release, \
33 /* Defines for the Board registers */
34 #define BOARD_RESET 0x80 /* board level reset */
35 #define ADD_PARENB 0x04 /* Address Parity Enabled */
36 #define DAT_PARENB 0x01 /* Data Parity Enabled */
37 #define SFBK_ENB 0x10 /* SFDBK Interrupt Enabled */
38 #define LED0GREEN 0x20 /* Led 0 (red 0; green 1) */
39 #define LED1GREEN 0x40 /* Led 1 (red 0; green 1) */
40 #define LED0RED 0xDF /* Led 0 (red 0; green 1) */
41 #define LED1RED 0xBF /* Led 1 (red 0; green 1) */
43 #define NCR_D700_CLOCK_MHZ 50