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
eb7ac3cd
Commit
eb7ac3cd
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] update cy82c693 ide for new dma bits
parent
fdff4664
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
drivers/ide/pci/cy82c693.c
drivers/ide/pci/cy82c693.c
+1
-4
No files found.
drivers/ide/pci/cy82c693.c
View file @
eb7ac3cd
...
...
@@ -123,10 +123,10 @@ static void compute_clocks (u8 pio, pio_clocks_t *p_pclk)
p_pclk
->
time_8
=
(
u8
)
clk1
;
}
#ifdef CONFIG_BLK_DEV_IDEDMA
/*
* set DMA mode a specific channel for CY82C693
*/
static
void
cy82c693_dma_enable
(
ide_drive_t
*
drive
,
int
mode
,
int
single
)
{
u8
index
=
0
,
data
=
0
;
...
...
@@ -213,7 +213,6 @@ int cy82c693_ide_dma_on (ide_drive_t *drive)
}
return
__ide_dma_on
(
drive
);
}
#endif
/* CONFIG_BLK_DEV_IDEDMA */
/*
* tune ide drive - set PIO mode
...
...
@@ -405,13 +404,11 @@ void __init init_hwif_cy82c693(ide_hwif_t *hwif)
hwif
->
mwdma_mask
=
0x04
;
hwif
->
swdma_mask
=
0x04
;
#ifdef CONFIG_BLK_DEV_IDEDMA
hwif
->
ide_dma_on
=
&
cy82c693_ide_dma_on
;
if
(
!
noautodma
)
hwif
->
autodma
=
1
;
hwif
->
drives
[
0
].
autodma
=
hwif
->
autodma
;
hwif
->
drives
[
1
].
autodma
=
hwif
->
autodma
;
#endif
/* CONFIG_BLK_DEV_IDEDMA */
}
static
__initdata
ide_hwif_t
*
primary
;
...
...
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