Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c7a4e6c2
Commit
c7a4e6c2
authored
Oct 27, 2002
by
Alan Cox
Committed by
Linus Torvalds
Oct 27, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] resurrect the NCR53c406a
parent
ec765df5
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
777 additions
and
806 deletions
+777
-806
drivers/scsi/NCR53c406a.c
drivers/scsi/NCR53c406a.c
+750
-763
drivers/scsi/NCR53c406a.h
drivers/scsi/NCR53c406a.h
+27
-43
No files found.
drivers/scsi/NCR53c406a.c
View file @
c7a4e6c2
This diff is collapsed.
Click to expand it.
drivers/scsi/NCR53c406a.h
View file @
c7a4e6c2
...
...
@@ -26,50 +26,34 @@
* Use SG_NONE if DMA mode is enabled!
*/
#define NCR53c406a { \
proc_name: "NCR53c406a"
/* proc_name */
, \
name: "NCR53c406a"
/* name */
, \
detect: NCR53c406a_detect
/* detect */
, \
info: NCR53c406a_info
/* info */
, \
command: NCR53c406a_command
/* command */
, \
queuecommand: NCR53c406a_queue
/* queuecommand */
, \
abort: NCR53c406a_abort
/* abort */
, \
reset: NCR53c406a_reset
/* reset */
, \
bios_param: NCR53c406a_biosparm
/* biosparm */
, \
can_queue: 1
/* can_queue */
, \
this_id: 7
/* SCSI ID of the chip */
, \
sg_tablesize: 32
/*SG_ALL*/
/*SG_NONE*/
, \
cmd_per_lun: 1
/* commands per lun */
, \
unchecked_isa_dma: 1
/* unchecked_isa_dma */
, \
use_clustering: ENABLE_CLUSTERING \
proc_name: "NCR53c406a"
/* proc_name */
, \
name: "NCR53c406a"
/* name */
, \
detect: NCR53c406a_detect
/* detect */
, \
info: NCR53c406a_info
/* info */
, \
command: NCR53c406a_command
/* command */
, \
queuecommand: NCR53c406a_queue
/* queuecommand */
, \
eh_abort_handler: NCR53c406a_abort
/* abort */
, \
eh_bus_reset_handler: NCR53c406a_bus_reset
/* reset */
, \
eh_device_reset_handler: NCR53c406a_device_reset
/* reset */
, \
eh_host_reset_handler: NCR53c406a_host_reset
/* reset */
, \
bios_param: NCR53c406a_biosparm
/* biosparm */
, \
can_queue: 1
/* can_queue */
, \
this_id: 7
/* SCSI ID of the chip */
, \
sg_tablesize: 32
/*SG_ALL*/
/*SG_NONE*/
, \
cmd_per_lun: 1
/* commands per lun */
, \
unchecked_isa_dma: 1
/* unchecked_isa_dma */
, \
use_clustering: ENABLE_CLUSTERING \
}
int
NCR53c406a_detect
(
Scsi_Host_Template
*
);
const
char
*
NCR53c406a_info
(
struct
Scsi_Host
*
);
static
int
NCR53c406a_detect
(
Scsi_Host_Template
*
);
static
const
char
*
NCR53c406a_info
(
struct
Scsi_Host
*
);
int
NCR53c406a_command
(
Scsi_Cmnd
*
);
int
NCR53c406a_queue
(
Scsi_Cmnd
*
,
void
(
*
done
)(
Scsi_Cmnd
*
));
int
NCR53c406a_abort
(
Scsi_Cmnd
*
);
int
NCR53c406a_reset
(
Scsi_Cmnd
*
,
unsigned
int
);
int
NCR53c406a_biosparm
(
Disk
*
,
struct
block_device
*
,
int
[]);
#endif
/* _NCR53C406A_H */
/*
* Overrides for Emacs so that we get a uniform tabbing style.
* Emacs will notice this stuff at the end of the file and automatically
* adjust the settings for this buffer only. This must remain at the end
* of the file.
* ---------------------------------------------------------------------------
* Local variables:
* c-indent-level: 4
* c-brace-imaginary-offset: 0
* c-brace-offset: -4
* c-argdecl-indent: 4
* c-label-offset: -4
* c-continued-statement-offset: 4
* c-continued-brace-offset: 0
* indent-tabs-mode: nil
* tab-width: 8
* End:
*/
static
int
NCR53c406a_command
(
Scsi_Cmnd
*
);
static
int
NCR53c406a_queue
(
Scsi_Cmnd
*
,
void
(
*
done
)
(
Scsi_Cmnd
*
));
static
int
NCR53c406a_abort
(
Scsi_Cmnd
*
);
static
int
NCR53c406a_bus_reset
(
Scsi_Cmnd
*
);
static
int
NCR53c406a_device_reset
(
Scsi_Cmnd
*
);
static
int
NCR53c406a_host_reset
(
Scsi_Cmnd
*
);
static
int
NCR53c406a_biosparm
(
Disk
*
,
struct
block_device
*
,
int
[]);
#endif
/* _NCR53C406A_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment