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
44a61fa4
Commit
44a61fa4
authored
Nov 19, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PCMCIA: remove usage of pcibios_read_config_dword
parent
2fb1225e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
drivers/pcmcia/cistpl.c
drivers/pcmcia/cistpl.c
+4
-1
No files found.
drivers/pcmcia/cistpl.c
View file @
44a61fa4
...
...
@@ -430,7 +430,10 @@ int pcmcia_get_first_tuple(client_handle_t handle, tuple_t *tuple)
#ifdef CONFIG_CARDBUS
if
(
s
->
state
&
SOCKET_CARDBUS
)
{
u_int
ptr
;
pcibios_read_config_dword
(
s
->
cap
.
cb_dev
->
subordinate
->
number
,
0
,
0x28
,
&
ptr
);
struct
pci_dev
*
dev
=
pci_find_slot
(
s
->
cap
.
cb_dev
->
subordinate
->
number
,
0
);
if
(
!
dev
)
return
CS_BAD_HANDLE
;
pci_read_config_dword
(
dev
,
0x28
,
&
ptr
);
tuple
->
CISOffset
=
ptr
&
~
7
;
SPACE
(
tuple
->
Flags
)
=
(
ptr
&
7
);
}
else
...
...
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