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
6ea618a8
Commit
6ea618a8
authored
Oct 22, 2002
by
Doug Ledford
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile fixes needed due to host struct change
parent
c38ec0c8
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
32 deletions
+1
-32
drivers/scsi/3w-xxxx.h
drivers/scsi/3w-xxxx.h
+0
-11
drivers/scsi/aic7xxx/aic7xxx_linux_host.h
drivers/scsi/aic7xxx/aic7xxx_linux_host.h
+0
-8
drivers/scsi/atp870u.h
drivers/scsi/atp870u.h
+0
-5
drivers/scsi/ide-scsi.c
drivers/scsi/ide-scsi.c
+0
-2
drivers/scsi/nsp32.c
drivers/scsi/nsp32.c
+1
-6
No files found.
drivers/scsi/3w-xxxx.h
View file @
6ea618a8
...
...
@@ -468,25 +468,14 @@ void tw_unmask_command_interrupt(TW_Device_Extension *tw_dev);
/* Scsi_Host_Template Initializer */
#define TWXXXX { \
next : NULL, \
module : NULL, \
proc_name : "3w-xxxx", \
proc_info : tw_scsi_proc_info, \
name : "3ware Storage Controller", \
detect : tw_scsi_detect, \
release : tw_scsi_release, \
info : NULL, \
ioctl : NULL, \
command : NULL, \
queuecommand : tw_scsi_queue, \
eh_strategy_handler : NULL, \
eh_abort_handler : tw_scsi_eh_abort, \
eh_device_reset_handler : NULL, \
eh_bus_reset_handler : NULL, \
eh_host_reset_handler : tw_scsi_eh_reset, \
abort : NULL, \
reset : NULL, \
slave_attach : NULL, \
bios_param : tw_scsi_biosparam, \
can_queue : TW_Q_LENGTH-1, \
this_id: -1, \
...
...
drivers/scsi/aic7xxx/aic7xxx_linux_host.h
View file @
6ea618a8
...
...
@@ -63,22 +63,14 @@ int ahc_linux_abort(Scsi_Cmnd *);
* to do with card config are filled in after the card is detected.
*/
#define AIC7XXX { \
module: NULL, \
proc_dir: NULL, \
proc_info: ahc_linux_proc_info, \
name: NULL, \
detect: ahc_linux_detect, \
release: ahc_linux_release, \
info: ahc_linux_info, \
command: NULL, \
queuecommand: ahc_linux_queue, \
eh_strategy_handler: NULL, \
eh_abort_handler: ahc_linux_abort, \
eh_device_reset_handler: ahc_linux_dev_reset, \
eh_bus_reset_handler: ahc_linux_bus_reset, \
eh_host_reset_handler: NULL, \
abort: NULL, \
reset: NULL, \
slave_attach: ahc_linux_slave_attach, \
bios_param: AIC7XXX_BIOSPARAM, \
can_queue: 253,
/* max simultaneous cmds */
\
...
...
drivers/scsi/atp870u.h
View file @
6ea618a8
...
...
@@ -37,18 +37,13 @@ extern const char *atp870u_info(struct Scsi_Host *);
extern
int
atp870u_proc_info
(
char
*
,
char
**
,
off_t
,
int
,
int
,
int
);
#define ATP870U { \
next: NULL, \
module: NULL, \
proc_info: atp870u_proc_info, \
name: NULL, \
detect: atp870u_detect, \
release: atp870u_release, \
info: atp870u_info, \
command: atp870u_command, \
queuecommand: atp870u_queuecommand, \
eh_strategy_handler: NULL, \
eh_abort_handler: atp870u_abort, \
slave_attach: NULL, \
bios_param: atp870u_biosparam, \
can_queue: qcnt,
/* max simultaneous cmds */
\
this_id: 7,
/* scsi id of host adapter */
\
...
...
drivers/scsi/ide-scsi.c
View file @
6ea618a8
...
...
@@ -860,8 +860,6 @@ static Scsi_Host_Template idescsi_template = {
info:
idescsi_info
,
ioctl:
idescsi_ioctl
,
queuecommand:
idescsi_queue
,
abort:
idescsi_abort
,
reset:
idescsi_reset
,
bios_param:
idescsi_bios
,
can_queue:
10
,
this_id:
-
1
,
...
...
drivers/scsi/nsp32.c
View file @
6ea618a8
...
...
@@ -352,7 +352,6 @@ static Scsi_Host_Template driver_template = {
.
eh_device_reset_handler
=
NULL
,
.
eh_bus_reset_handler
=
nsp32_eh_bus_reset
,
.
eh_host_reset_handler
=
nsp32_eh_host_reset
,
.
reset
=
nsp32_reset
,
.
release
=
nsp32_release
,
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,2))
.
use_new_eh_code
=
1
,
...
...
@@ -1575,11 +1574,7 @@ static int nsp32_proc_info(char *buffer,
}
/* search this HBA host */
for
(
host
=
scsi_hostlist
;
host
;
host
=
host
->
next
)
{
if
(
host
->
host_no
==
hostno
)
{
break
;
}
}
host
=
scsi_host_hn_get
(
hostno
);
if
(
host
==
NULL
)
{
return
-
ESRCH
;
}
...
...
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