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
b60781ff
Commit
b60781ff
authored
Feb 03, 2005
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ide] fix it8172 build for real
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
f011f97a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/ide/pci/it8172.c
drivers/ide/pci/it8172.c
+2
-2
No files found.
drivers/ide/pci/it8172.c
View file @
b60781ff
...
...
@@ -56,7 +56,7 @@ static void it8172_tune_drive (ide_drive_t *drive, u8 pio)
{
ide_hwif_t
*
hwif
=
HWIF
(
drive
);
struct
pci_dev
*
dev
=
hwif
->
pci_dev
;
int
is_slave
=
(
hwif
->
drives
[
1
]
==
drive
);
int
is_slave
=
(
&
hwif
->
drives
[
1
]
==
drive
);
unsigned
long
flags
;
u16
drive_enables
;
u32
drive_timing
;
...
...
@@ -94,7 +94,7 @@ static void it8172_tune_drive (ide_drive_t *drive, u8 pio)
}
pci_write_config_word
(
dev
,
0x40
,
drive_enables
);
spin_unlock_irqrestore
(
&
ide_lock
,
flags
)
spin_unlock_irqrestore
(
&
ide_lock
,
flags
)
;
}
static
u8
it8172_dma_2_pio
(
u8
xfer_rate
)
...
...
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