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
df9aff6b
Commit
df9aff6b
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 cs5530 driver DMA ifdef
parent
e48c7911
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
drivers/ide/pci/cs5530.c
drivers/ide/pci/cs5530.c
+0
-5
No files found.
drivers/ide/pci/cs5530.c
View file @
df9aff6b
...
...
@@ -135,8 +135,6 @@ static void cs5530_tuneproc (ide_drive_t *drive, u8 pio) /* pio=255 means "autot
}
}
#ifdef CONFIG_BLK_DEV_IDEDMA
/**
* cs5530_config_dma - select/set DMA and UDMA modes
* @drive: drive to tune
...
...
@@ -256,7 +254,6 @@ static int cs5530_config_dma (ide_drive_t *drive)
*/
return
hwif
->
ide_dma_on
(
drive
);
/* success */
}
#endif
/* CONFIG_BLK_DEV_IDEDMA */
/**
* init_chipset_5530 - set up 5530 bridge
...
...
@@ -396,13 +393,11 @@ static void __init init_hwif_cs5530 (ide_hwif_t *hwif)
hwif
->
ultra_mask
=
0x07
;
hwif
->
mwdma_mask
=
0x07
;
#ifdef CONFIG_BLK_DEV_IDEDMA
hwif
->
ide_dma_check
=
&
cs5530_config_dma
;
if
(
!
noautodma
)
hwif
->
autodma
=
1
;
hwif
->
drives
[
0
].
autodma
=
hwif
->
autodma
;
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
#endif
/* CONFIG_BLK_DEV_IDEDMA */
}
/**
...
...
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