Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
39b07ce6
Commit
39b07ce6
authored
Jun 11, 2006
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libata: more verbose request_irq() failure
Suggested by Jarek P.
parent
233277ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
drivers/scsi/libata-core.c
drivers/scsi/libata-core.c
+7
-2
No files found.
drivers/scsi/libata-core.c
View file @
39b07ce6
...
@@ -5293,6 +5293,7 @@ int ata_device_add(const struct ata_probe_ent *ent)
...
@@ -5293,6 +5293,7 @@ int ata_device_add(const struct ata_probe_ent *ent)
unsigned
int
count
=
0
,
i
;
unsigned
int
count
=
0
,
i
;
struct
device
*
dev
=
ent
->
dev
;
struct
device
*
dev
=
ent
->
dev
;
struct
ata_host_set
*
host_set
;
struct
ata_host_set
*
host_set
;
int
rc
;
DPRINTK
(
"ENTER
\n
"
);
DPRINTK
(
"ENTER
\n
"
);
/* alloc a container for our list of ATA ports (buses) */
/* alloc a container for our list of ATA ports (buses) */
...
@@ -5344,9 +5345,13 @@ int ata_device_add(const struct ata_probe_ent *ent)
...
@@ -5344,9 +5345,13 @@ int ata_device_add(const struct ata_probe_ent *ent)
goto
err_free_ret
;
goto
err_free_ret
;
/* obtain irq, that is shared between channels */
/* obtain irq, that is shared between channels */
if
(
request_irq
(
ent
->
irq
,
ent
->
port_ops
->
irq_handler
,
ent
->
irq_flags
,
rc
=
request_irq
(
ent
->
irq
,
ent
->
port_ops
->
irq_handler
,
ent
->
irq_flags
,
DRV_NAME
,
host_set
))
DRV_NAME
,
host_set
);
if
(
rc
)
{
dev_printk
(
KERN_ERR
,
dev
,
"irq %lu request failed: %d
\n
"
,
ent
->
irq
,
rc
);
goto
err_out
;
goto
err_out
;
}
/* perform each probe synchronously */
/* perform each probe synchronously */
DPRINTK
(
"probe begin
\n
"
);
DPRINTK
(
"probe begin
\n
"
);
...
...
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