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
ae27105f
Commit
ae27105f
authored
Mar 10, 2004
by
Aristeu Sergio Rozanski Filho
Committed by
James Bottomley
Mar 10, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] qlogic_cs: use a static string as name
parent
330a38ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
drivers/scsi/pcmcia/qlogic_stub.c
drivers/scsi/pcmcia/qlogic_stub.c
+6
-2
No files found.
drivers/scsi/pcmcia/qlogic_stub.c
View file @
ae27105f
...
...
@@ -60,6 +60,8 @@ extern void qlogicfas_preset(int port, int irq);
extern
struct
Scsi_Host
*
__qlogicfas_detect
(
Scsi_Host_Template
*
);
extern
int
qlogicfas_bus_reset
(
Scsi_Cmnd
*
);
static
char
*
qlogic_name
=
"qlogic_cs"
;
#ifdef PCMCIA_DEBUG
static
int
pc_debug
=
PCMCIA_DEBUG
;
MODULE_PARM
(
pc_debug
,
"i"
);
...
...
@@ -244,9 +246,11 @@ static void qlogic_config(dev_link_t * link)
else
qlogicfas_preset
(
link
->
io
.
BasePort1
,
link
->
irq
.
AssignedIRQ
);
qlogicfas_driver_template
.
name
=
qlogic_name
;
qlogicfas_driver_template
.
proc_name
=
qlogic_name
;
host
=
__qlogicfas_detect
(
&
qlogicfas_driver_template
);
if
(
!
host
)
{
printk
(
KERN_INFO
"
qlogic_cs: no SCSI devices found
\n
"
);
printk
(
KERN_INFO
"
%s: no SCSI devices found
\n
"
,
qlogic_name
);
goto
out
;
}
...
...
@@ -337,7 +341,7 @@ static int qlogic_event(event_t event, int priority, event_callback_args_t * arg
static
struct
pcmcia_driver
qlogic_cs_driver
=
{
.
owner
=
THIS_MODULE
,
.
drv
=
{
.
name
=
"qlogic_cs"
,
.
name
=
"qlogic_cs"
,
},
.
attach
=
qlogic_attach
,
.
detach
=
qlogic_detach
,
...
...
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