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
58558795
Commit
58558795
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 via dma for new ifdef stuff
parent
fdd51140
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
drivers/ide/pci/via82cxxx.c
drivers/ide/pci/via82cxxx.c
+0
-6
No files found.
drivers/ide/pci/via82cxxx.c
View file @
58558795
...
...
@@ -383,8 +383,6 @@ static void via82cxxx_tune_drive(ide_drive_t *drive, u8 pio)
via_set_drive
(
drive
,
XFER_PIO_0
+
MIN
(
pio
,
5
));
}
#ifdef CONFIG_BLK_DEV_IDEDMA
/**
* via82cxxx_ide_dma_check - set up for DMA if possible
* @drive: IDE drive to set up
...
...
@@ -411,8 +409,6 @@ static int via82cxxx_ide_dma_check (ide_drive_t *drive)
return
HWIF
(
drive
)
->
ide_dma_off_quietly
(
drive
);
}
#endif
/* CONFIG_BLK_DEV_IDEDMA */
/**
* init_chipset_via82cxxx - initialization handler
* @dev: PCI device
...
...
@@ -608,7 +604,6 @@ static void __init init_hwif_via82cxxx(ide_hwif_t *hwif)
hwif
->
mwdma_mask
=
0x07
;
hwif
->
swdma_mask
=
0x07
;
#ifdef CONFIG_BLK_DEV_IDEDMA
if
(
!
(
hwif
->
udma_four
))
hwif
->
udma_four
=
((
via_enabled
&
via_80w
)
>>
hwif
->
channel
)
&
1
;
hwif
->
ide_dma_check
=
&
via82cxxx_ide_dma_check
;
...
...
@@ -616,7 +611,6 @@ static void __init init_hwif_via82cxxx(ide_hwif_t *hwif)
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