[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bbc, envctrl and Sun Blade 2000



Le 4578 Septembre 1993, Daniel Dehennin a tapoté:
> Hello,
>
> I recently install a debian on a SunBlade 2000, using etch netinstall

[...]

> I try 2.6.15 from debian, 2.6.15.6 from kernel.org and 2.6.16-rc6 from
> kernel.org.

Ok, on the sparclinux mailing list, David Miller reply me that it's
normal, there is a test in bbc_i2c.c to exclude everything execpt
cheetah.

I change this test and now it works fine.

Following, the inlied patch, if it interess someone :-)
-- 
Daniel 'NebuchadnezzaR' Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x2A408F69
--- drivers/sbus/char/bbc_i2c.c.orig	2006-03-17 19:24:49.138423606 +0100
+++ drivers/sbus/char/bbc_i2c.c	2006-03-17 19:25:14.652914637 +0100
@@ -440,7 +440,7 @@
 	struct linux_ebus_device *edev = NULL;
 	int err, index = 0;
 
-	if (tlb_type != cheetah || !bbc_present())
+	if ((tlb_type != cheetah && tlb_type != cheetah_plus) || !bbc_present())
 		return -ENODEV;
 
 	for_each_ebus(ebus) {

Reply to: