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
d32abb8b
Commit
d32abb8b
authored
Oct 04, 2003
by
Bartlomiej Zolnierkiewicz
Committed by
Linus Torvalds
Oct 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] piix: kill dummy init_dma_piix()
parent
a1f59d16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
36 deletions
+0
-36
drivers/ide/pci/piix.c
drivers/ide/pci/piix.c
+0
-15
drivers/ide/pci/piix.h
drivers/ide/pci/piix.h
+0
-21
No files found.
drivers/ide/pci/piix.c
View file @
d32abb8b
...
...
@@ -709,21 +709,6 @@ static void __init init_hwif_piix (ide_hwif_t *hwif)
hwif
->
drives
[
0
].
autodma
=
hwif
->
autodma
;
}
/**
* init_dma_piix - set up the PIIX DMA
* @hwif: IDE interface
* @dmabase: DMA PCI base
*
* Set up the DMA on the PIIX controller, providing a DMA base is
* available. The PIIX follows the normal specs so we do nothing
* magical here.
*/
static
void
__init
init_dma_piix
(
ide_hwif_t
*
hwif
,
unsigned
long
dmabase
)
{
ide_setup_dma
(
hwif
,
dmabase
,
8
);
}
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
/**
...
...
drivers/ide/pci/piix.h
View file @
d32abb8b
...
...
@@ -30,8 +30,6 @@ static ide_pci_host_proc_t piix_procs[] __devinitdata = {
static
void
init_setup_piix
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
unsigned
int
__devinit
init_chipset_piix
(
struct
pci_dev
*
,
const
char
*
);
static
void
init_hwif_piix
(
ide_hwif_t
*
);
static
void
init_dma_piix
(
ide_hwif_t
*
,
unsigned
long
);
/*
* Table of the various PIIX capability blocks
...
...
@@ -47,7 +45,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -61,7 +58,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -75,7 +71,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
NULL
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
NULL
,
.
channels
=
2
,
.
autodma
=
NODMA
,
.
enablebits
=
{{
0x6D
,
0x80
,
0x80
},
{
0x6F
,
0x80
,
0x80
}},
...
...
@@ -89,7 +84,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -103,7 +97,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -117,7 +110,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -131,7 +123,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -145,7 +136,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -159,7 +149,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -173,7 +162,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
NOAUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -187,7 +175,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -201,7 +188,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -215,7 +201,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -229,7 +214,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -243,7 +227,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -257,7 +240,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -271,7 +253,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -285,7 +266,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
@@ -299,7 +279,6 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
...
...
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