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
ba59777f
Commit
ba59777f
authored
Jan 10, 2003
by
Alan Cox
Committed by
Linus Torvalds
Jan 10, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix 64bit cleanness on hpt366, report overclocking error
parent
6825e808
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
drivers/ide/pci/hpt366.c
drivers/ide/pci/hpt366.c
+4
-1
No files found.
drivers/ide/pci/hpt366.c
View file @
ba59777f
...
@@ -659,7 +659,7 @@ static int hpt374_ide_dma_end (ide_drive_t *drive)
...
@@ -659,7 +659,7 @@ static int hpt374_ide_dma_end (ide_drive_t *drive)
static
void
hpt3xx_reset
(
ide_drive_t
*
drive
)
static
void
hpt3xx_reset
(
ide_drive_t
*
drive
)
{
{
#if 0
#if 0
u
32
high_16 = pci_resource_start(HWIF(drive)->pci_dev, 4);
u
nsigned long
high_16 = pci_resource_start(HWIF(drive)->pci_dev, 4);
u8 reset = (HWIF(drive)->channel) ? 0x80 : 0x40;
u8 reset = (HWIF(drive)->channel) ? 0x80 : 0x40;
u8 reg59h = 0;
u8 reg59h = 0;
...
@@ -818,7 +818,10 @@ static int __init init_hpt37x(struct pci_dev *dev)
...
@@ -818,7 +818,10 @@ static int __init init_hpt37x(struct pci_dev *dev)
}
else
{
}
else
{
pll
=
F_LOW_PCI_66
;
pll
=
F_LOW_PCI_66
;
if
(
hpt_minimum_revision
(
dev
,
8
))
if
(
hpt_minimum_revision
(
dev
,
8
))
{
printk
(
KERN_ERR
"HPT37x: 66MHz timings are not supported.
\n
"
);
return
-
EOPNOTSUPP
;
return
-
EOPNOTSUPP
;
}
else
if
(
hpt_minimum_revision
(
dev
,
5
))
else
if
(
hpt_minimum_revision
(
dev
,
5
))
pci_set_drvdata
(
dev
,
(
void
*
)
sixty_six_base_hpt372
);
pci_set_drvdata
(
dev
,
(
void
*
)
sixty_six_base_hpt372
);
else
if
(
hpt_minimum_revision
(
dev
,
4
))
else
if
(
hpt_minimum_revision
(
dev
,
4
))
...
...
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