Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
27f4a758
Commit
27f4a758
authored
May 18, 2007
by
Kevin Hilman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: DaVinci: Update for IDE API changes
Signed-off-by:
Kevin Hilman
<
khilman@mvista.com
>
parent
a26ea684
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/ide/davinci/palm_bk3710.c
drivers/ide/davinci/palm_bk3710.c
+3
-3
No files found.
drivers/ide/davinci/palm_bk3710.c
View file @
27f4a758
...
...
@@ -355,7 +355,7 @@ static int palm_bk3710_hostdma(ide_drive_t * drive, u8 xferspeed)
static
inline
int
palm_bk3710_drivedma
(
ide_drive_t
*
pDrive
)
{
u8
speed
=
ide_
dma_speed
(
pDrive
,
2
);
/* We have a 76.5 MHz clock hence only UDMA66 is possible */
u8
speed
=
ide_
rate_filter
(
pDrive
,
2
);
/* We have a 76.5 MHz clock hence only UDMA66 is possible */
/* If no DMA/single word DMA was available or the chipset has DMA bugs
then disable DMA and use PIO */
...
...
@@ -407,7 +407,7 @@ static int palm_bk3710_checkdma(ide_drive_t * drive)
fast_ata_pio:
no_dma_set:
hwif
->
tuneproc
(
drive
,
255
);
return
hwif
->
ide_
dma_off_quietly
(
drive
);
hwif
->
dma_off_quietly
(
drive
);
}
return
0
;
...
...
@@ -495,7 +495,7 @@ int palm_bk3710_init(void)
ide_ctlr_info
.
irq
=
IRQ_IDE
;
ide_ctlr_info
.
chipset
=
ide_palm3710
;
ide_ctlr_info
.
ack_intr
=
NULL
;
if
(
ide_register_hw
(
&
ide_ctlr_info
,
&
palm_bk3710_hwif
)
<
0
)
{
if
(
ide_register_hw
(
&
ide_ctlr_info
,
0
,
&
palm_bk3710_hwif
)
<
0
)
{
printk
(
"Palm Chip BK3710 IDE Register Fail
\n
"
);
return
-
1
;
}
...
...
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