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
6a891249
Commit
6a891249
authored
Aug 15, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SCSI]: Use pci_name() in eata_pio.c
parent
acf154f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/scsi/eata_pio.c
drivers/scsi/eata_pio.c
+2
-2
No files found.
drivers/scsi/eata_pio.c
View file @
6a891249
...
@@ -873,13 +873,13 @@ static void find_pio_PCI(struct get_conf *buf, Scsi_Host_Template * tpnt)
...
@@ -873,13 +873,13 @@ static void find_pio_PCI(struct get_conf *buf, Scsi_Host_Template * tpnt)
u32
base
,
x
;
u32
base
,
x
;
while
((
dev
=
pci_find_device
(
PCI_VENDOR_ID_DPT
,
PCI_DEVICE_ID_DPT
,
dev
))
!=
NULL
)
{
while
((
dev
=
pci_find_device
(
PCI_VENDOR_ID_DPT
,
PCI_DEVICE_ID_DPT
,
dev
))
!=
NULL
)
{
DBG
(
DBG_PROBE
&&
DBG_PCI
,
printk
(
"eata_pio: find_PCI, HBA at %s
\n
"
,
dev
->
dev
.
name
));
DBG
(
DBG_PROBE
&&
DBG_PCI
,
printk
(
"eata_pio: find_PCI, HBA at %s
\n
"
,
pci_name
(
dev
)
));
if
(
pci_enable_device
(
dev
))
if
(
pci_enable_device
(
dev
))
continue
;
continue
;
pci_set_master
(
dev
);
pci_set_master
(
dev
);
base
=
pci_resource_flags
(
dev
,
0
);
base
=
pci_resource_flags
(
dev
,
0
);
if
(
base
&
IORESOURCE_MEM
)
{
if
(
base
&
IORESOURCE_MEM
)
{
printk
(
"eata_pio: invalid base address of device %s
\n
"
,
dev
->
dev
.
name
);
printk
(
"eata_pio: invalid base address of device %s
\n
"
,
pci_name
(
dev
)
);
continue
;
continue
;
}
}
base
=
pci_resource_start
(
dev
,
0
);
base
=
pci_resource_start
(
dev
,
0
);
...
...
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