Commit 36aed6eb authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia

into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents c74dbc6c 7b89a607
......@@ -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 */
......
......@@ -688,7 +688,7 @@ enum {
* Different cardbus controllers have slightly different
* initialization sequences etc details. List them here..
*/
struct cardbus_type cardbus_type[] = {
static struct 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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment