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
f5187643
Commit
f5187643
authored
Mar 06, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
fd172807
7428eac4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
16 deletions
+15
-16
drivers/scsi/libata-core.c
drivers/scsi/libata-core.c
+6
-10
drivers/scsi/sata_nv.c
drivers/scsi/sata_nv.c
+4
-2
drivers/scsi/sata_sil.c
drivers/scsi/sata_sil.c
+1
-1
drivers/scsi/sata_svw.c
drivers/scsi/sata_svw.c
+2
-2
drivers/scsi/sata_vsc.c
drivers/scsi/sata_vsc.c
+2
-1
No files found.
drivers/scsi/libata-core.c
View file @
f5187643
...
@@ -3884,26 +3884,22 @@ void ata_pci_remove_one (struct pci_dev *pdev)
...
@@ -3884,26 +3884,22 @@ void ata_pci_remove_one (struct pci_dev *pdev)
ap
=
host_set
->
ports
[
i
];
ap
=
host_set
->
ports
[
i
];
ata_scsi_release
(
ap
->
host
);
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
)
{
if
((
ap
->
flags
&
ATA_FLAG_NO_LEGACY
)
==
0
)
{
struct
ata_ioports
*
ioaddr
=
&
ap
->
ioaddr
;
if
(
ioaddr
->
cmd_addr
==
0x1f0
)
if
(
ioaddr
->
cmd_addr
==
0x1f0
)
release_region
(
0x1f0
,
8
);
release_region
(
0x1f0
,
8
);
else
if
(
ioaddr
->
cmd_addr
==
0x170
)
else
if
(
ioaddr
->
cmd_addr
==
0x170
)
release_region
(
0x170
,
8
);
release_region
(
0x170
,
8
);
}
}
scsi_host_put
(
ap
->
host
);
}
}
kfree
(
host_set
);
kfree
(
host_set
);
pci_release_regions
(
pdev
);
pci_disable_device
(
pdev
);
pci_disable_device
(
pdev
);
dev_set_drvdata
(
dev
,
NULL
);
dev_set_drvdata
(
dev
,
NULL
);
}
}
...
...
drivers/scsi/sata_nv.c
View file @
f5187643
...
@@ -99,7 +99,8 @@
...
@@ -99,7 +99,8 @@
#define NV_MCP_SATA_CFG_20_SATA_SPACE_EN 0x04
#define NV_MCP_SATA_CFG_20_SATA_SPACE_EN 0x04
static
int
nv_init_one
(
struct
pci_dev
*
pdev
,
const
struct
pci_device_id
*
ent
);
static
int
nv_init_one
(
struct
pci_dev
*
pdev
,
const
struct
pci_device_id
*
ent
);
irqreturn_t
nv_interrupt
(
int
irq
,
void
*
dev_instance
,
struct
pt_regs
*
regs
);
static
irqreturn_t
nv_interrupt
(
int
irq
,
void
*
dev_instance
,
struct
pt_regs
*
regs
);
static
u32
nv_scr_read
(
struct
ata_port
*
ap
,
unsigned
int
sc_reg
);
static
u32
nv_scr_read
(
struct
ata_port
*
ap
,
unsigned
int
sc_reg
);
static
void
nv_scr_write
(
struct
ata_port
*
ap
,
unsigned
int
sc_reg
,
u32
val
);
static
void
nv_scr_write
(
struct
ata_port
*
ap
,
unsigned
int
sc_reg
,
u32
val
);
static
void
nv_host_stop
(
struct
ata_host_set
*
host_set
);
static
void
nv_host_stop
(
struct
ata_host_set
*
host_set
);
...
@@ -257,7 +258,8 @@ MODULE_LICENSE("GPL");
...
@@ -257,7 +258,8 @@ MODULE_LICENSE("GPL");
MODULE_DEVICE_TABLE
(
pci
,
nv_pci_tbl
);
MODULE_DEVICE_TABLE
(
pci
,
nv_pci_tbl
);
MODULE_VERSION
(
DRV_VERSION
);
MODULE_VERSION
(
DRV_VERSION
);
irqreturn_t
nv_interrupt
(
int
irq
,
void
*
dev_instance
,
struct
pt_regs
*
regs
)
static
irqreturn_t
nv_interrupt
(
int
irq
,
void
*
dev_instance
,
struct
pt_regs
*
regs
)
{
{
struct
ata_host_set
*
host_set
=
dev_instance
;
struct
ata_host_set
*
host_set
=
dev_instance
;
struct
nv_host
*
host
=
host_set
->
private_data
;
struct
nv_host
*
host
=
host_set
->
private_data
;
...
...
drivers/scsi/sata_sil.c
View file @
f5187643
...
@@ -78,7 +78,7 @@ static struct pci_device_id sil_pci_tbl[] = {
...
@@ -78,7 +78,7 @@ static struct pci_device_id sil_pci_tbl[] = {
/* TODO firmware versions should be added - eric */
/* TODO firmware versions should be added - eric */
struct
sil_drivelist
{
st
atic
const
st
ruct
sil_drivelist
{
const
char
*
product
;
const
char
*
product
;
unsigned
int
quirk
;
unsigned
int
quirk
;
}
sil_blacklist
[]
=
{
}
sil_blacklist
[]
=
{
...
...
drivers/scsi/sata_svw.c
View file @
f5187643
...
@@ -156,7 +156,7 @@ static void k2_sata_tf_read(struct ata_port *ap, struct ata_taskfile *tf)
...
@@ -156,7 +156,7 @@ static void k2_sata_tf_read(struct ata_port *ap, struct ata_taskfile *tf)
* spin_lock_irqsave(host_set lock)
* spin_lock_irqsave(host_set lock)
*/
*/
void
k2_bmdma_setup_mmio
(
struct
ata_queued_cmd
*
qc
)
static
void
k2_bmdma_setup_mmio
(
struct
ata_queued_cmd
*
qc
)
{
{
struct
ata_port
*
ap
=
qc
->
ap
;
struct
ata_port
*
ap
=
qc
->
ap
;
unsigned
int
rw
=
(
qc
->
tf
.
flags
&
ATA_TFLAG_WRITE
);
unsigned
int
rw
=
(
qc
->
tf
.
flags
&
ATA_TFLAG_WRITE
);
...
@@ -186,7 +186,7 @@ void k2_bmdma_setup_mmio (struct ata_queued_cmd *qc)
...
@@ -186,7 +186,7 @@ void k2_bmdma_setup_mmio (struct ata_queued_cmd *qc)
* spin_lock_irqsave(host_set lock)
* spin_lock_irqsave(host_set lock)
*/
*/
void
k2_bmdma_start_mmio
(
struct
ata_queued_cmd
*
qc
)
static
void
k2_bmdma_start_mmio
(
struct
ata_queued_cmd
*
qc
)
{
{
struct
ata_port
*
ap
=
qc
->
ap
;
struct
ata_port
*
ap
=
qc
->
ap
;
void
*
mmio
=
(
void
*
)
ap
->
ioaddr
.
bmdma_addr
;
void
*
mmio
=
(
void
*
)
ap
->
ioaddr
.
bmdma_addr
;
...
...
drivers/scsi/sata_vsc.c
View file @
f5187643
...
@@ -155,7 +155,8 @@ static void vsc_sata_tf_read(struct ata_port *ap, struct ata_taskfile *tf)
...
@@ -155,7 +155,8 @@ static void vsc_sata_tf_read(struct ata_port *ap, struct ata_taskfile *tf)
*
*
* Read the interrupt register and process for the devices that have them pending.
* Read the interrupt register and process for the devices that have them pending.
*/
*/
irqreturn_t
vsc_sata_interrupt
(
int
irq
,
void
*
dev_instance
,
struct
pt_regs
*
regs
)
static
irqreturn_t
vsc_sata_interrupt
(
int
irq
,
void
*
dev_instance
,
struct
pt_regs
*
regs
)
{
{
struct
ata_host_set
*
host_set
=
dev_instance
;
struct
ata_host_set
*
host_set
=
dev_instance
;
unsigned
int
i
;
unsigned
int
i
;
...
...
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