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
cb27af80
Commit
cb27af80
authored
Oct 28, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into home.osdl.org:/home/torvalds/v2.5/linux
parents
c1963af1
1f01a053
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
drivers/pcmcia/yenta_socket.c
drivers/pcmcia/yenta_socket.c
+5
-1
No files found.
drivers/pcmcia/yenta_socket.c
View file @
cb27af80
...
...
@@ -461,6 +461,7 @@ static void yenta_clear_maps(struct yenta_socket *socket)
static
int
yenta_sock_init
(
struct
pcmcia_socket
*
sock
)
{
struct
yenta_socket
*
socket
=
container_of
(
sock
,
struct
yenta_socket
,
socket
);
u32
state
;
u16
bridge
;
bridge
=
config_readw
(
socket
,
CB_BRIDGE_CONTROL
)
&
~
CB_BRIDGE_INTR
;
...
...
@@ -472,7 +473,10 @@ static int yenta_sock_init(struct pcmcia_socket *sock)
exca_writeb
(
socket
,
I365_GENCTL
,
0x00
);
/* Redo card voltage interrogation */
cb_writel
(
socket
,
CB_SOCKET_FORCE
,
CB_CVSTEST
);
state
=
cb_readl
(
socket
,
CB_SOCKET_STATE
);
if
(
!
(
state
&
(
CB_CDETECT1
|
CB_CDETECT2
|
CB_5VCARD
|
CB_3VCARD
|
CB_XVCARD
|
CB_YVCARD
)))
cb_writel
(
socket
,
CB_SOCKET_FORCE
,
CB_CVSTEST
);
yenta_clear_maps
(
socket
);
...
...
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