patch-2.3.36 linux/drivers/pcmcia/cistpl.c
Next file: linux/drivers/pcmcia/cs.c
Previous file: linux/drivers/pcmcia/cardbus.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Jan 1 22:11:30 2000
- Orig file:
v2.3.35/linux/drivers/pcmcia/cistpl.c
- Orig date:
Wed Dec 29 13:13:17 1999
diff -u --recursive --new-file v2.3.35/linux/drivers/pcmcia/cistpl.c linux/drivers/pcmcia/cistpl.c
@@ -367,7 +367,7 @@
#ifdef CONFIG_CARDBUS
if (s->state & SOCKET_CARDBUS) {
u_int ptr;
- pcibios_read_config_dword(s->cap.cardbus, 0, 0x28, &ptr);
+ pcibios_read_config_dword(s->cap.cb_dev->subordinate->number, 0, 0x28, &ptr);
tuple->CISOffset = ptr & ~7;
SPACE(tuple->Flags) = (ptr & 7);
} else
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])