zoom_video is necessary?
Komuro
komurojun at mbn.nifty.com
Fri Aug 13 20:39:15 EDT 2004
RL5C4XX_MISC_CONTROL is a exca_register.
But ricoh.h in 2.6.x uses config_read/config_write
for RL5C4XX_MISC_CONTROL.
Please see the following patch.
By the way, no client driver in kernel uses "zoom_video".
I wonder zoom_video is necessary?
Best Regards
Komuro
--- ricoh.h.orig 2004-08-13 21:17:28.528450528 +0900
+++ ricoh.h 2004-08-13 21:20:56.758794704 +0900
@@ -132,14 +132,14 @@
u8 reg;
struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket
);
- reg = config_readb(socket, RL5C4XX_MISC_CONTROL);
+ reg = exca_readb(socket, RL5C4XX_MISC_CONTROL);
if (onoff)
/* Zoom zoom, we will all go together, zoom zoom, zoom zoom *
/
reg |= RL5C4XX_ZV_ENABLE;
else
reg &= ~RL5C4XX_ZV_ENABLE;
- config_writeb(socket, RL5C4XX_MISC_CONTROL, reg);
+ exca_writeb(socket, RL5C4XX_MISC_CONTROL, reg);
}
static void ricoh_set_zv(struct yenta_socket *socket)
More information about the linux-pcmcia
mailing list