Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martyn Welch
linux
Commits
912fb29a
Commit
912fb29a
authored
17 years ago
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Downloads
Patches
Plain Diff
opti621: always tune PIO
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
af1b3d5c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/ide/pci/opti621.c
+4
-4
4 additions, 4 deletions
drivers/ide/pci/opti621.c
with
4 additions
and
4 deletions
drivers/ide/pci/opti621.c
+
4
−
4
View file @
912fb29a
/*
/*
* linux/drivers/ide/pci/opti621.c Version 0.
7 Sept 10
, 200
2
* linux/drivers/ide/pci/opti621.c Version 0.
8 Aug 27
, 200
7
*
*
* Copyright (C) 1996-1998 Linus Torvalds & authors (see below)
* Copyright (C) 1996-1998 Linus Torvalds & authors (see below)
*/
*/
...
@@ -57,9 +57,6 @@
...
@@ -57,9 +57,6 @@
* There is a 25/33MHz switch in configuration
* There is a 25/33MHz switch in configuration
* register, but driver is written for use at any frequency which get
* register, but driver is written for use at any frequency which get
* (use idebus=xx to select PCI bus speed).
* (use idebus=xx to select PCI bus speed).
* Use hda=autotune and hdb=autotune for automatical tune of the PIO modes.
* If you get strange results, do not use this and set PIO manually
* by hdparm.
*
*
* Version 0.1, Nov 8, 1996
* Version 0.1, Nov 8, 1996
* by Jaromir Koutek, for 2.1.8.
* by Jaromir Koutek, for 2.1.8.
...
@@ -332,6 +329,9 @@ static void __devinit init_hwif_opti621 (ide_hwif_t *hwif)
...
@@ -332,6 +329,9 @@ static void __devinit init_hwif_opti621 (ide_hwif_t *hwif)
hwif
->
drives
[
1
].
drive_data
=
PIO_DONT_KNOW
;
hwif
->
drives
[
1
].
drive_data
=
PIO_DONT_KNOW
;
hwif
->
set_pio_mode
=
&
opti621_set_pio_mode
;
hwif
->
set_pio_mode
=
&
opti621_set_pio_mode
;
hwif
->
drives
[
0
].
autotune
=
1
;
hwif
->
drives
[
1
].
autotune
=
1
;
}
}
static
ide_pci_device_t
opti621_chipsets
[]
__devinitdata
=
{
static
ide_pci_device_t
opti621_chipsets
[]
__devinitdata
=
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment