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
3e0552ee
Commit
3e0552ee
authored
Mar 31, 2013
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdth: switch to ->show_info()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
408bb25b
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
170 deletions
+52
-170
drivers/scsi/gdth.c
drivers/scsi/gdth.c
+2
-1
drivers/scsi/gdth.h
drivers/scsi/gdth.h
+2
-1
drivers/scsi/gdth_proc.c
drivers/scsi/gdth_proc.c
+48
-163
drivers/scsi/gdth_proc.h
drivers/scsi/gdth_proc.h
+0
-5
No files found.
drivers/scsi/gdth.c
View file @
3e0552ee
...
@@ -4676,7 +4676,8 @@ static struct scsi_host_template gdth_template = {
...
@@ -4676,7 +4676,8 @@ static struct scsi_host_template gdth_template = {
.
eh_bus_reset_handler
=
gdth_eh_bus_reset
,
.
eh_bus_reset_handler
=
gdth_eh_bus_reset
,
.
slave_configure
=
gdth_slave_configure
,
.
slave_configure
=
gdth_slave_configure
,
.
bios_param
=
gdth_bios_param
,
.
bios_param
=
gdth_bios_param
,
.
proc_info
=
gdth_proc_info
,
.
show_info
=
gdth_show_info
,
.
write_info
=
gdth_set_info
,
.
eh_timed_out
=
gdth_timed_out
,
.
eh_timed_out
=
gdth_timed_out
,
.
proc_name
=
"gdth"
,
.
proc_name
=
"gdth"
,
.
can_queue
=
GDTH_MAXCMDS
,
.
can_queue
=
GDTH_MAXCMDS
,
...
...
drivers/scsi/gdth.h
View file @
3e0552ee
...
@@ -1007,6 +1007,7 @@ typedef struct {
...
@@ -1007,6 +1007,7 @@ typedef struct {
/* function prototyping */
/* function prototyping */
int
gdth_proc_info
(
struct
Scsi_Host
*
,
char
*
,
char
**
,
off_t
,
int
,
int
);
int
gdth_show_info
(
struct
seq_file
*
,
struct
Scsi_Host
*
);
int
gdth_set_info
(
struct
Scsi_Host
*
,
char
*
,
int
);
#endif
#endif
drivers/scsi/gdth_proc.c
View file @
3e0552ee
This diff is collapsed.
Click to expand it.
drivers/scsi/gdth_proc.h
View file @
3e0552ee
...
@@ -8,11 +8,6 @@
...
@@ -8,11 +8,6 @@
int
gdth_execute
(
struct
Scsi_Host
*
shost
,
gdth_cmd_str
*
gdtcmd
,
char
*
cmnd
,
int
gdth_execute
(
struct
Scsi_Host
*
shost
,
gdth_cmd_str
*
gdtcmd
,
char
*
cmnd
,
int
timeout
,
u32
*
info
);
int
timeout
,
u32
*
info
);
static
int
gdth_set_info
(
char
*
buffer
,
int
length
,
struct
Scsi_Host
*
host
,
gdth_ha_str
*
ha
);
static
int
gdth_get_info
(
char
*
buffer
,
char
**
start
,
off_t
offset
,
int
length
,
struct
Scsi_Host
*
host
,
gdth_ha_str
*
ha
);
static
int
gdth_set_asc_info
(
struct
Scsi_Host
*
host
,
char
*
buffer
,
static
int
gdth_set_asc_info
(
struct
Scsi_Host
*
host
,
char
*
buffer
,
int
length
,
gdth_ha_str
*
ha
);
int
length
,
gdth_ha_str
*
ha
);
...
...
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