patch-2.4.19 linux-2.4.19/drivers/pcmcia/cs.c
Next file: linux-2.4.19/drivers/pcmcia/m8xx_pcmcia.c
Previous file: linux-2.4.19/drivers/pcmcia/au1000_pb1000.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Aug 2 17:39:44 2002
- Orig file:
linux-2.4.18/drivers/pcmcia/cs.c
- Orig date:
Fri Dec 21 09:41:55 2001
diff -urN linux-2.4.18/drivers/pcmcia/cs.c linux-2.4.19/drivers/pcmcia/cs.c
@@ -1268,7 +1268,7 @@
} else
c = CONFIG(handle);
if ((c != NULL) && (c->state & CONFIG_LOCKED) &&
- (c->IntType & INT_MEMORY_AND_IO)) {
+ (c->IntType & (INT_MEMORY_AND_IO|INT_ZOOMED_VIDEO))) {
u_char reg;
if (c->Present & PRESENT_PIN_REPLACE) {
read_cis_mem(s, 1, (c->ConfigBase+CISREG_PRR)>>1, 1, ®);
@@ -1696,6 +1696,8 @@
c->Attributes = req->Attributes;
if (req->IntType & INT_MEMORY_AND_IO)
s->socket.flags |= SS_IOCARD;
+ if (req->IntType & INT_ZOOMED_VIDEO)
+ s->socket.flags |= SS_ZVCARD|SS_IOCARD;
if (req->Attributes & CONF_ENABLE_DMA)
s->socket.flags |= SS_DMA_MODE;
if (req->Attributes & CONF_ENABLE_SPKR)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)