fb: One more I2C-enabled device in savagefb

Started by Jean Delvare on Oct 22, 2005

DORMANTno replies

open the first message on its own page

Message details and related content
Hi Antonino, all,

The I2C bus of the S3 Savage2000 is supposed to work the same way the
Savage4 does. At least, the legacy i2c-savage4 driver handled both
devices the same way.

I do not have the hardware to test this, so testers are welcome.

Signed-off-by: Jean Delvare <redacted>
CC: Antonino A. Daplas <redacted>

---
 drivers/video/savage/savagefb-i2c.c |    1 +
 1 file changed, 1 insertion(+)
--- linux-2.6.14-rc4.orig/drivers/video/savage/savagefb-i2c.c	2005-10-22 16:42:00.000000000 +0200
+++ linux-2.6.14-rc4/drivers/video/savage/savagefb-i2c.c	2005-10-22 16:43:12.000000000 +0200
@@ -193,6 +193,7 @@
 		par->chan.algo.getscl = prosavage_gpio_getscl;
 		break;
 	case FB_ACCEL_SAVAGE4:
+	case FB_ACCEL_SAVAGE2000:
 		par->chan.reg         = 0xff20;
 		par->chan.ioaddr      = par->mmio.vbase;
 		par->chan.algo.setsda = savage4_gpio_setsda;
-- 
Jean Delvare


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help