Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pcmcia/yenta: guide users in case of problems with O2-bridges

Some cards need the speedups on, some need them off. As we can't detect
this reliably, at least give the users a hint how to tweak the system.

Reported-by: David Bluecame <david.bluecame@gmail.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>

authored by

Wolfram Sang and committed by
Dominik Brodowski
a5360df9 3c7d2b76

+2 -2
+2 -2
drivers/pcmcia/o2micro.h
··· 153 153 154 154 if (use_speedup) { 155 155 dev_info(&socket->dev->dev, 156 - "O2: enabling read prefetch/write burst\n"); 156 + "O2: enabling read prefetch/write burst. If you experience problems or performance issues, use the yenta_socket parameter 'o2_speedup=off'\n"); 157 157 config_writeb(socket, O2_RESERVED1, 158 158 a | O2_RES_READ_PREFETCH | O2_RES_WRITE_BURST); 159 159 config_writeb(socket, O2_RESERVED2, 160 160 b | O2_RES_READ_PREFETCH | O2_RES_WRITE_BURST); 161 161 } else { 162 162 dev_info(&socket->dev->dev, 163 - "O2: disabling read prefetch/write burst\n"); 163 + "O2: disabling read prefetch/write burst. If you experience problems or performance issues, use the yenta_socket parameter 'o2_speedup=on'\n"); 164 164 config_writeb(socket, O2_RESERVED1, 165 165 a & ~(O2_RES_READ_PREFETCH | O2_RES_WRITE_BURST)); 166 166 config_writeb(socket, O2_RESERVED2,