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
5de9cf60
Commit
5de9cf60
authored
Mar 06, 2005
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge pobox.com:/garz/repo/linux-2.6
into pobox.com:/garz/repo/libata-dev/remove-one-fix
parents
d121ff24
e16d7fc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
drivers/scsi/libata-core.c
drivers/scsi/libata-core.c
+6
-10
No files found.
drivers/scsi/libata-core.c
View file @
5de9cf60
...
...
@@ -3884,26 +3884,22 @@ void ata_pci_remove_one (struct pci_dev *pdev)
ap
=
host_set
->
ports
[
i
];
ata_scsi_release
(
ap
->
host
);
scsi_host_put
(
ap
->
host
);
}
pci_release_regions
(
pdev
);
for
(
i
=
0
;
i
<
host_set
->
n_ports
;
i
++
)
{
struct
ata_ioports
*
ioaddr
;
ap
=
host_set
->
ports
[
i
];
ioaddr
=
&
ap
->
ioaddr
;
if
((
ap
->
flags
&
ATA_FLAG_NO_LEGACY
)
==
0
)
{
struct
ata_ioports
*
ioaddr
=
&
ap
->
ioaddr
;
if
(
ioaddr
->
cmd_addr
==
0x1f0
)
release_region
(
0x1f0
,
8
);
else
if
(
ioaddr
->
cmd_addr
==
0x170
)
release_region
(
0x170
,
8
);
}
scsi_host_put
(
ap
->
host
);
}
kfree
(
host_set
);
pci_release_regions
(
pdev
);
pci_disable_device
(
pdev
);
dev_set_drvdata
(
dev
,
NULL
);
}
...
...
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