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
nexedi
linux
Commits
16454445
Commit
16454445
authored
Jan 09, 2007
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[libata] sata_vsc: build fix after PCI MSI feature addition
Signed-off-by:
Jeff Garzik
<
jeff@garzik.org
>
parent
7cbaa86b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/ata/sata_vsc.c
drivers/ata/sata_vsc.c
+4
-4
No files found.
drivers/ata/sata_vsc.c
View file @
16454445
...
@@ -124,17 +124,17 @@ static void vsc_sata_scr_write (struct ata_port *ap, unsigned int sc_reg,
...
@@ -124,17 +124,17 @@ static void vsc_sata_scr_write (struct ata_port *ap, unsigned int sc_reg,
}
}
static
void
vsc_sata_host_stop
(
struct
ata_host
_set
*
host_se
t
)
static
void
vsc_sata_host_stop
(
struct
ata_host
*
hos
t
)
{
{
struct
vsc_sata_host_priv
*
hpriv
=
host
_set
->
private_data
;
struct
vsc_sata_host_priv
*
hpriv
=
host
->
private_data
;
struct
pci_dev
*
pdev
=
to_pci_dev
(
host
_set
->
dev
);
struct
pci_dev
*
pdev
=
to_pci_dev
(
host
->
dev
);
if
(
hpriv
->
hp_flags
&
VSC_SATA_HP_FLAG_MSI
)
if
(
hpriv
->
hp_flags
&
VSC_SATA_HP_FLAG_MSI
)
pci_disable_msi
(
pdev
);
pci_disable_msi
(
pdev
);
else
else
pci_intx
(
pdev
,
0
);
pci_intx
(
pdev
,
0
);
kfree
(
hpriv
);
kfree
(
hpriv
);
ata_pci_host_stop
(
host
_set
);
ata_pci_host_stop
(
host
);
}
}
...
...
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