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
75cfaefc
Commit
75cfaefc
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] opti621: kill dummy init_dma_opti621()
parent
4b8bc789
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
drivers/ide/pci/opti621.c
drivers/ide/pci/opti621.c
+0
-5
drivers/ide/pci/opti621.h
drivers/ide/pci/opti621.h
+0
-3
No files found.
drivers/ide/pci/opti621.c
View file @
75cfaefc
...
@@ -348,11 +348,6 @@ static void __init init_hwif_opti621 (ide_hwif_t *hwif)
...
@@ -348,11 +348,6 @@ static void __init init_hwif_opti621 (ide_hwif_t *hwif)
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
}
}
static
void
__init
init_dma_opti621
(
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
*
);
extern
void
ide_setup_pci_device
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
void
__init
init_setup_opti621
(
struct
pci_dev
*
dev
,
ide_pci_device_t
*
d
)
static
void
__init
init_setup_opti621
(
struct
pci_dev
*
dev
,
ide_pci_device_t
*
d
)
...
...
drivers/ide/pci/opti621.h
View file @
75cfaefc
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
static
void
init_setup_opti621
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
void
init_setup_opti621
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
void
init_hwif_opti621
(
ide_hwif_t
*
);
static
void
init_hwif_opti621
(
ide_hwif_t
*
);
static
void
init_dma_opti621
(
ide_hwif_t
*
,
unsigned
long
);
static
ide_pci_device_t
opti621_chipsets
[]
__devinitdata
=
{
static
ide_pci_device_t
opti621_chipsets
[]
__devinitdata
=
{
{
/* 0 */
{
/* 0 */
...
@@ -18,7 +17,6 @@ static ide_pci_device_t opti621_chipsets[] __devinitdata = {
...
@@ -18,7 +17,6 @@ static ide_pci_device_t opti621_chipsets[] __devinitdata = {
.
init_chipset
=
NULL
,
.
init_chipset
=
NULL
,
.
init_iops
=
NULL
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_opti621
,
.
init_hwif
=
init_hwif_opti621
,
.
init_dma
=
init_dma_opti621
,
.
channels
=
2
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x45
,
0x80
,
0x00
},
{
0x40
,
0x08
,
0x00
}},
.
enablebits
=
{{
0x45
,
0x80
,
0x00
},
{
0x40
,
0x08
,
0x00
}},
...
@@ -32,7 +30,6 @@ static ide_pci_device_t opti621_chipsets[] __devinitdata = {
...
@@ -32,7 +30,6 @@ static ide_pci_device_t opti621_chipsets[] __devinitdata = {
.
init_chipset
=
NULL
,
.
init_chipset
=
NULL
,
.
init_iops
=
NULL
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_opti621
,
.
init_hwif
=
init_hwif_opti621
,
.
init_dma
=
init_dma_opti621
,
.
channels
=
2
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x45
,
0x80
,
0x00
},
{
0x40
,
0x08
,
0x00
}},
.
enablebits
=
{{
0x45
,
0x80
,
0x00
},
{
0x40
,
0x08
,
0x00
}},
...
...
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