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
dec50b82
Commit
dec50b82
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 trm290 for new ifdef style
parent
31814f4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
drivers/ide/pci/trm290.c
drivers/ide/pci/trm290.c
+0
-4
No files found.
drivers/ide/pci/trm290.c
View file @
dec50b82
...
...
@@ -176,7 +176,6 @@ static void trm290_selectproc (ide_drive_t *drive)
trm290_prepare_drive
(
drive
,
drive
->
using_dma
);
}
#ifdef CONFIG_BLK_DEV_IDEDMA
static
int
trm290_ide_dma_write
(
ide_drive_t
*
drive
/*, struct request *rq */
)
{
ide_hwif_t
*
hwif
=
HWIF
(
drive
);
...
...
@@ -297,7 +296,6 @@ static int trm290_ide_dma_test_irq (ide_drive_t *drive)
status
=
hwif
->
INW
(
hwif
->
dma_status
);
return
(
status
==
0x00ff
);
}
#endif
/* CONFIG_BLK_DEV_IDEDMA */
/*
* Invoked from ide-dma.c at boot time.
...
...
@@ -344,13 +342,11 @@ void __init init_hwif_trm290 (ide_hwif_t *hwif)
ide_setup_dma
(
hwif
,
(
hwif
->
config_data
+
4
)
^
(
hwif
->
channel
?
0x0080
:
0x0000
),
3
);
#ifdef CONFIG_BLK_DEV_IDEDMA
hwif
->
ide_dma_write
=
&
trm290_ide_dma_write
;
hwif
->
ide_dma_read
=
&
trm290_ide_dma_read
;
hwif
->
ide_dma_begin
=
&
trm290_ide_dma_begin
;
hwif
->
ide_dma_end
=
&
trm290_ide_dma_end
;
hwif
->
ide_dma_test_irq
=
&
trm290_ide_dma_test_irq
;
#endif
/* CONFIG_BLK_DEV_IDEDMA */
hwif
->
selectproc
=
&
trm290_selectproc
;
hwif
->
autodma
=
0
;
/* play it safe for now */
...
...
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