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
c574597e
Commit
c574597e
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 serverworks ide
parent
1bf78ea9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/ide/pci/serverworks.c
drivers/ide/pci/serverworks.c
+3
-3
No files found.
drivers/ide/pci/serverworks.c
View file @
c574597e
...
@@ -61,7 +61,7 @@ static int svwks_get_info (char *buffer, char **addr, off_t offset, int count)
...
@@ -61,7 +61,7 @@ static int svwks_get_info (char *buffer, char **addr, off_t offset, int count)
for
(
i
=
0
;
i
<
n_svwks_devs
;
i
++
)
{
for
(
i
=
0
;
i
<
n_svwks_devs
;
i
++
)
{
struct
pci_dev
*
dev
=
svwks_devs
[
i
];
struct
pci_dev
*
dev
=
svwks_devs
[
i
];
u
32
bibma
=
pci_resource_start
(
dev
,
4
);
u
nsigned
long
bibma
=
pci_resource_start
(
dev
,
4
);
u32
reg40
,
reg44
;
u32
reg40
,
reg44
;
u16
reg48
,
reg56
;
u16
reg48
,
reg56
;
u8
reg54
,
c0
=
0
,
c1
=
0
;
u8
reg54
,
c0
=
0
,
c1
=
0
;
...
@@ -76,8 +76,8 @@ static int svwks_get_info (char *buffer, char **addr, off_t offset, int count)
...
@@ -76,8 +76,8 @@ static int svwks_get_info (char *buffer, char **addr, off_t offset, int count)
* at that point bibma+0x2 et bibma+0xa are byte registers
* at that point bibma+0x2 et bibma+0xa are byte registers
* to investigate:
* to investigate:
*/
*/
c0
=
inb_p
(
(
unsigned
short
)
bibma
+
0x02
);
c0
=
inb_p
(
bibma
+
0x02
);
c1
=
inb_p
(
(
unsigned
short
)
bibma
+
0x0a
);
c1
=
inb_p
(
bibma
+
0x0a
);
p
+=
sprintf
(
p
,
"
\n
ServerWorks "
);
p
+=
sprintf
(
p
,
"
\n
ServerWorks "
);
switch
(
dev
->
device
)
{
switch
(
dev
->
device
)
{
...
...
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