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
727943eb
Commit
727943eb
authored
Nov 25, 2002
by
Alan Cox
Committed by
Linus Torvalds
Nov 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] clean up natsemi IDE for new ifdef stuff
parent
4729a80c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
drivers/ide/pci/ns87415.c
drivers/ide/pci/ns87415.c
+0
-4
No files found.
drivers/ide/pci/ns87415.c
View file @
727943eb
...
...
@@ -83,7 +83,6 @@ static void ns87415_selectproc (ide_drive_t *drive)
ns87415_prepare_drive
(
drive
,
drive
->
using_dma
);
}
#ifdef CONFIG_BLK_DEV_IDEDMA
static
int
ns87415_ide_dma_end
(
ide_drive_t
*
drive
)
{
ide_hwif_t
*
hwif
=
HWIF
(
drive
);
...
...
@@ -132,7 +131,6 @@ static int ns87415_ide_dma_check (ide_drive_t *drive)
return
HWIF
(
drive
)
->
ide_dma_off_quietly
(
drive
);
return
__ide_dma_check
(
drive
);
}
#endif
/* CONFIG_BLK_DEV_IDEDMA */
static
void
__init
init_hwif_ns87415
(
ide_hwif_t
*
hwif
)
{
...
...
@@ -209,7 +207,6 @@ static void __init init_hwif_ns87415 (ide_hwif_t *hwif)
if
(
!
hwif
->
dma_base
)
return
;
#ifdef CONFIG_BLK_DEV_IDEDMA
hwif
->
OUTB
(
0x60
,
hwif
->
dma_status
);
hwif
->
ide_dma_read
=
&
ns87415_ide_dma_read
;
hwif
->
ide_dma_write
=
&
ns87415_ide_dma_write
;
...
...
@@ -220,7 +217,6 @@ static void __init init_hwif_ns87415 (ide_hwif_t *hwif)
hwif
->
autodma
=
1
;
hwif
->
drives
[
0
].
autodma
=
hwif
->
autodma
;
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
#endif
/* CONFIG_BLK_DEV_IDEDMA */
}
static
void
__init
init_dma_ns87415
(
ide_hwif_t
*
hwif
,
unsigned
long
dmabase
)
...
...
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