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
36aed6eb
Commit
36aed6eb
authored
Nov 20, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
c74dbc6c
7b89a607
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
drivers/pcmcia/ds.c
drivers/pcmcia/ds.c
+0
-2
drivers/pcmcia/yenta_socket.c
drivers/pcmcia/yenta_socket.c
+9
-4
No files found.
drivers/pcmcia/ds.c
View file @
36aed6eb
...
...
@@ -134,8 +134,6 @@ static dev_info_t dev_info = "Driver Services";
static
int
major_dev
=
-
1
;
static
struct
proc_dir_entry
*
proc_pccard
;
/*====================================================================*/
/* code which was in cs.c before */
...
...
drivers/pcmcia/yenta_socket.c
View file @
36aed6eb
...
...
@@ -688,7 +688,7 @@ enum {
* Different cardbus controllers have slightly different
* initialization sequences etc details. List them here..
*/
struct
cardbus_type
cardbus_type
[]
=
{
st
atic
st
ruct
cardbus_type
cardbus_type
[]
=
{
[
CARDBUS_TYPE_TI
]
=
{
.
override
=
ti_override
,
.
save_state
=
ti_save_state
,
...
...
@@ -827,8 +827,7 @@ static int yenta_probe_cb_irq(struct yenta_socket *socket)
cb_writel
(
socket
,
CB_SOCKET_MASK
,
CB_CSTSMASK
);
cb_writel
(
socket
,
CB_SOCKET_FORCE
,
CB_FCARDSTS
);
set_current_state
(
TASK_UNINTERRUPTIBLE
);
schedule_timeout
(
HZ
/
10
);
msleep
(
100
);
/* disable interrupts */
cb_writel
(
socket
,
CB_SOCKET_MASK
,
0
);
...
...
@@ -1026,7 +1025,13 @@ static int yenta_dev_suspend (struct pci_dev *dev, u32 state)
pci_save_state
(
dev
);
pci_read_config_dword
(
dev
,
16
*
4
,
&
socket
->
saved_state
[
0
]);
pci_read_config_dword
(
dev
,
17
*
4
,
&
socket
->
saved_state
[
1
]);
pci_set_power_state
(
dev
,
3
);
/*
* Some laptops (IBM T22) do not like us putting the Cardbus
* bridge into D3. At a guess, some other laptop will
* probably require this, so leave it commented out for now.
*/
/* pci_set_power_state(dev, 3); */
}
return
ret
;
...
...
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