NCR5380.h (cdd38c5f1ce4398ec58fec95904b75824daab7b5) | NCR5380.h (cd614642e1a24e501633d5aea79c1bafb10d9f36) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * NCR 5380 defines 4 * 5 * Copyright 1993, Drew Eckhardt 6 * Visionary Computing 7 * (Unix consulting and custom programming) 8 * drew@colorado.edu --- 216 unchanged lines hidden (view full) --- 225 unsigned long region_size; /* Size of address/port range */ 226 char info[168]; /* Host banner message */ 227}; 228 229struct NCR5380_cmd { 230 struct list_head list; 231}; 232 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * NCR 5380 defines 4 * 5 * Copyright 1993, Drew Eckhardt 6 * Visionary Computing 7 * (Unix consulting and custom programming) 8 * drew@colorado.edu --- 216 unchanged lines hidden (view full) --- 225 unsigned long region_size; /* Size of address/port range */ 226 char info[168]; /* Host banner message */ 227}; 228 229struct NCR5380_cmd { 230 struct list_head list; 231}; 232 |
233#define NCR5380_CMD_SIZE (sizeof(struct NCR5380_cmd)) 234 | |
235#define NCR5380_PIO_CHUNK_SIZE 256 236 237/* Time limit (ms) to poll registers when IRQs are disabled, e.g. during PDMA */ 238#define NCR5380_REG_POLL_TIME 10 239 240static inline struct scsi_cmnd *NCR5380_to_scmd(struct NCR5380_cmd *ncmd_ptr) 241{ 242 return ((struct scsi_cmnd *)ncmd_ptr) - 1; --- 80 unchanged lines hidden --- | 233#define NCR5380_PIO_CHUNK_SIZE 256 234 235/* Time limit (ms) to poll registers when IRQs are disabled, e.g. during PDMA */ 236#define NCR5380_REG_POLL_TIME 10 237 238static inline struct scsi_cmnd *NCR5380_to_scmd(struct NCR5380_cmd *ncmd_ptr) 239{ 240 return ((struct scsi_cmnd *)ncmd_ptr) - 1; --- 80 unchanged lines hidden --- |