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
2db3dae5
Commit
2db3dae5
authored
Dec 03, 2009
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alim15x3: remove obsolete and dangerous wdc_udma parameter
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
22763c5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
drivers/ide/alim15x3.c
drivers/ide/alim15x3.c
+1
-11
No files found.
drivers/ide/alim15x3.c
View file @
2db3dae5
...
...
@@ -39,16 +39,6 @@
#define DRV_NAME "alim15x3"
/*
* Allow UDMA on M1543C-E chipset for WDC disks that ignore CRC checking
* (this is DANGEROUS and could result in data corruption).
*/
static
int
wdc_udma
;
module_param
(
wdc_udma
,
bool
,
0
);
MODULE_PARM_DESC
(
wdc_udma
,
"allow UDMA on M1543C-E chipset for WDC disks (DANGEROUS)"
);
/*
* ALi devices are not plug in. Otherwise these static values would
* need to go. They ought to go away anyway
...
...
@@ -132,7 +122,7 @@ static u8 ali_udma_filter(ide_drive_t *drive)
if
(
m5229_revision
>
0x20
&&
m5229_revision
<
0xC2
)
{
if
(
drive
->
media
!=
ide_disk
)
return
0
;
if
(
wdc_udma
==
0
&&
chip_is_1543c_e
&&
if
(
chip_is_1543c_e
&&
strstr
((
char
*
)
&
drive
->
id
[
ATA_ID_PROD
],
"WDC "
))
return
0
;
}
...
...
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