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
f566fd27
Commit
f566fd27
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 aec62xx
parent
e2abc58a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/ide/pci/aec62xx.c
drivers/ide/pci/aec62xx.c
+2
-2
No files found.
drivers/ide/pci/aec62xx.c
View file @
f566fd27
...
@@ -42,7 +42,7 @@ static int aec62xx_get_info (char *buffer, char **addr, off_t offset, int count)
...
@@ -42,7 +42,7 @@ static int aec62xx_get_info (char *buffer, char **addr, off_t offset, int count)
for
(
i
=
0
;
i
<
n_aec_devs
;
i
++
)
{
for
(
i
=
0
;
i
<
n_aec_devs
;
i
++
)
{
struct
pci_dev
*
dev
=
aec_devs
[
i
];
struct
pci_dev
*
dev
=
aec_devs
[
i
];
u
32
iobase
=
pci_resource_start
(
dev
,
4
);
u
nsigned
long
iobase
=
pci_resource_start
(
dev
,
4
);
u8
c0
=
0
,
c1
=
0
,
art
=
0
;
u8
c0
=
0
,
c1
=
0
,
art
=
0
;
#ifdef DEBUG_AEC_REGS
#ifdef DEBUG_AEC_REGS
u8
uart
=
0
;
u8
uart
=
0
;
...
@@ -493,7 +493,7 @@ static void __init init_setup_aec62xx (struct pci_dev *dev, ide_pci_device_t *d)
...
@@ -493,7 +493,7 @@ static void __init init_setup_aec62xx (struct pci_dev *dev, ide_pci_device_t *d)
static
void
__init
init_setup_aec6x80
(
struct
pci_dev
*
dev
,
ide_pci_device_t
*
d
)
static
void
__init
init_setup_aec6x80
(
struct
pci_dev
*
dev
,
ide_pci_device_t
*
d
)
{
{
u
32
bar4reg
=
pci_resource_start
(
dev
,
4
);
u
nsigned
long
bar4reg
=
pci_resource_start
(
dev
,
4
);
if
(
inb
(
bar4reg
+
2
)
&
0x10
)
{
if
(
inb
(
bar4reg
+
2
)
&
0x10
)
{
strcpy
(
d
->
name
,
"AEC6880"
);
strcpy
(
d
->
name
,
"AEC6880"
);
...
...
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