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
b515da89
Commit
b515da89
authored
Oct 20, 2007
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
serverworks: remove dead code from svwks_set_dma_mode()
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
746f312a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
drivers/ide/pci/serverworks.c
drivers/ide/pci/serverworks.c
+0
-7
No files found.
drivers/ide/pci/serverworks.c
View file @
b515da89
...
...
@@ -158,13 +158,6 @@ static void svwks_set_dma_mode(ide_drive_t *drive, const u8 speed)
u8
ultra_enable
=
0
,
ultra_timing
=
0
,
dma_timing
=
0
;
/* If we are about to put a disk into UDMA mode we screwed up.
Our code assumes we never _ever_ do this on an OSB4 */
if
(
dev
->
device
==
PCI_DEVICE_ID_SERVERWORKS_OSB4
&&
drive
->
media
==
ide_disk
&&
speed
>=
XFER_UDMA_0
)
BUG
();
pci_read_config_byte
(
dev
,
(
0x56
|
hwif
->
channel
),
&
ultra_timing
);
pci_read_config_byte
(
dev
,
0x54
,
&
ultra_enable
);
...
...
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