GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

71 versions of Linux.

ProgramAgeSizeByWWWSummary
Linux 4.13.2-r1 920  88794 Luca...
The Linux Kernel.
Linux 4.9.16-r3 1091  100651 Luca...
The Linux Kernel.
Linux 4.9.4-r5 1147  99374 Luca...
The Linux Kernel.
Linux 4.8.2-r2 1213  89394 Luca...
The Linux Kernel.
Linux 4.7.4-r1 1283  82767 Luca...
The Linux Kernel.
Linux 4.7.0-r4 1338  82585 Luca...
The Linux Kernel.
Linux 3.13.3-r1 2218  252629 Luca...
The Linux Kernel.
Linux 3.12.6-r1 2278  238949 Luca...
The Linux Kernel.
Linux 3.9.4-r2 2473  70048 Luca...
The Linux Kernel.
Linux 3.7.1-r2 2646  67579 Luca...
The Linux Kernel.
Linux 3.5.0-r1 2797  124391 Luca...
The Linux Kernel.
Linux 3.4.4-r1 2797  124348 Luca...
The Linux Kernel.
Linux 3.3.6-r1 2797  124410 Luca...
The Linux Kernel.
Linux 3.2.12-r2 2925  124345 Luca...
The Linux Kernel.
Linux 3.2.7-r1 2955  123550 Mich...
The Linux Kernel.
Linux 3.1.1-r1 3060  122907 Mich...
The Linux Kernel.
Linux 3.0.4-r4 3121  122754 Luca...
The Linux Kernel.
Linux 2.6.36.3-r1 3344  116087 Diog...
The Linux Kernel.
Linux 2.6.32.3-r1 3722  117990 Luca...
The Linux Kernel.
Linux 2.6.32-r1 3763  117751 Luca...
The Linux Kernel.
Linux 2.6.31.6-r3 3768  126499 Luca...
The Linux Kernel.
Linux 2.6.30.5-r1 3847  166102 Jona...
The Linux Kernel.
Linux 2.6.29.1-r1 3990  117500 Luca...
The Linux Kernel.
Linux 2.6.28.7-r1 4046  115518 Giam...
The Linux Kernel.
Linux 2.6.28.1-r1 4046  115487 Giam...
The Linux Kernel.
Linux 2.6.28-r1 4046  116681 Mich...
The Linux Kernel.
Linux 2.6.27.8-r1 4046  134160 Giam...
The Linux Kernel.
view entry at GitHub | download recipe.bz2 file
01-gobohide.patch
02-unionfs-2.5_for_2.6.27-rc6.patch
04-thinkpad-acpi-0.21-20081019_v2.6.27.2.patch
05-applesmc-accel-create-check.patch
06-appletouch.patch
07-applesmc-retry-when-accessing-keys.patch
08-applesmc-remove-debugging-messages.patch
09-applesmc_int.patch
10-decrypt_failed_as_debug.patch
Recipe
Resources/BuildInformation
Resources/Dependencies
Resources/Description
cell/01-copy4k-cell.patch
cell/02-memcpy-cell.patch
cell/Recipe
cell/dot-config
i686/01-acpi-dsdt-initrd-v0.9c-2.6.26.patch
i686/Recipe
i686/dot-config
ppc/Recipe
ppc/dot-config
x86_64/Recipe
x86_64/dot-config
commit d6a5b9228b0d64168f88bb8d906a2040daca74f5

From: Nicolas Boichat <nicolas@boichat.ch>

Remove debugging messages.
---

 drivers/hwmon/applesmc.c |   24 ++++++++++--------------
 1 files changed, 10 insertions(+), 14 deletions(-)


diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
index 3c8b112..fa40ab9 100644
--- a/drivers/hwmon/applesmc.c
+++ b/drivers/hwmon/applesmc.c
@@ -138,7 +138,8 @@ struct dmi_match_data {
 	int temperature_set;
 };
 
-static const int debug;
+static int debug = 0;
+module_param(debug, int, S_IRUGO|S_IWUSR);
 static struct platform_device *pdev;
 static s16 rest_x;
 static s16 rest_y;
@@ -177,7 +178,7 @@ static int __wait_status(u8 val)
 
 	for (i = 0; i < 200; i++) {
 		if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) == val) {
-			if (debug)
+			if (debug >= 9)
 				printk(KERN_DEBUG
 						"Waited %d us for status %x\n",
 						i*10, val);
@@ -186,7 +187,8 @@ static int __wait_status(u8 val)
 		udelay(10);
 	}
 
-	printk(KERN_WARNING "applesmc: wait status failed: %x != %x\n",
+	if (debug >= 1)
+		printk(KERN_WARNING "applesmc: wait status failed: %x != %x\n",
 						val, inb(APPLESMC_CMD_PORT));
 
 	return -EIO;
@@ -224,11 +226,11 @@ static int applesmc_read_key(const char* key, u8* buffer, u8 \
len)
 				goto wait_fail;
 			}
 		}
-		if (debug)
+		if (debug >= 9)
 			printk(KERN_DEBUG "<%s", key);
 
 		outb(len, APPLESMC_DATA_PORT);
-		if (debug)
+		if (debug >= 9)
 			printk(KERN_DEBUG ">%x", len);
 
 		for (i = 0; i < len; i++) {
@@ -237,22 +239,16 @@ static int applesmc_read_key(const char* key, u8* buffer, u8 \
len)
 				goto wait_fail;
 			}
 			buffer[i] = inb(APPLESMC_DATA_PORT);
-			if (debug)
+			if (debug >= 9)
 				printk(KERN_DEBUG "<%x", buffer[i]);
 		}
-		if (debug)
+		if (debug >= 9)
 			printk(KERN_DEBUG "\n");
 
 		break;
 
 wait_fail:
 		msleep(ACCESS_WAIT_MSECS);
-		continue;		
-	}
-
-	if (total != ACCESS_TIMEOUT_MSECS) {
-		printk(KERN_DEBUG "Read: Waited %d ms for the value\n",
-						ACCESS_TIMEOUT_MSECS-total);
 	}
 
 	return ret;
@@ -404,7 +400,7 @@ static int applesmc_device_init(void)
 	mutex_lock(&applesmc_lock);
 
 	for (total = INIT_TIMEOUT_MSECS; total > 0; total -= INIT_WAIT_MSECS) {
-		if (debug)
+		if (debug >= 9)
 			printk(KERN_DEBUG "applesmc try %d\n", total);
 		if (!applesmc_read_key(MOTION_SENSOR_KEY, buffer, 2) &&
 				(buffer[0] != 0x00 || buffer[1] != 0x00)) {
Linux 2.6.27.4-r3 4046  149529 Luca...
The Linux Kernel.
Linux 2.6.25.17-r1 4046  172834 Giam...
The Linux Kernel.
Linux 2.6.25.16-r1 4046  166500 Giam...
The Linux Kernel.
Linux 2.6.25.10-r2 4046  165320 Giam...
The Linux Kernel.
Linux 2.6.25.7-r1 4046  157294 Giam...
The Linux Kernel.
Linux 2.6.25.4-r1 4046  133017 Hopp...
The Linux Kernel.
Linux 2.6.25-r1 4046  133216 Luca...
The Linux Kernel.
Linux 2.6.24.4-r5 4046  150733
The Linux Kernel.
Linux 2.6.24.3-r5 4046  150221 Luca...
The Linux Kernel.
Linux 2.6.24.2-r3 4046  146488 Giam...
The Linux Kernel.
Linux 2.6.24.1-r1 4046  146454 Giam...
The Linux Kernel.
Linux 2.6.24-r1 4046  146428 Luca...
The Linux Kernel.
Linux 2.6.23.8-r4 4046  155842 Luca...
The Linux Kernel.
Linux 2.6.22.7-r4 4046  114727 Luca...
The Linux Kernel.
Linux 2.6.22.1-r1 4046  121391 Luca...
The Linux Kernel.
Linux 2.6.21.1-r3 4046  118854 Luca...
The Linux Kernel.
Linux 2.6.20.7-r1 4046  117945 Luca...
The Linux Kernel.
Linux 2.6.20.4-r3 4046  151150 Luca...
The Linux Kernel.
Linux 2.6.20-r1 4046  106429 Luca...
The Linux Kernel.
Linux 2.6.18.3-r2 4046  111124 Luca...
The Linux Kernel.
Linux 2.6.17.11-r1 4046  164053 Luca...
The Linux Kernel.
Linux 2.6.17.3-r1 4046  165067 Luca...
The Linux Kernel.
Linux 2.6.16.20-r1 4046  133625 Luca...
The Linux Kernel.
Linux 2.6.16.14-r1 4046  168270 Luca...
The Linux Kernel.
Linux 2.6.15.5-r1 4046  224686 Jona...
The Linux Kernel.
Linux 2.6.15.2-r1 4046  177165 Carl...
The Linux Kernel.
Linux 2.6.15.1-r1 4046  149219 Jona...
The Linux Kernel.
Linux 2.6.15-r1 4046  149214 Luca...
The Linux Kernel.
Linux 2.6.14.4-r1 4046  150166 Jona...
The Linux Kernel.
Linux 2.6.14.3-r1 4046  150060 Jona...
The Linux Kernel.
Linux 2.6.14.2-r1 4046  149791 Carl...
The Linux Kernel.
Linux 2.6.13.4-r1 4046  149559 Luca...
The Linux Kernel.
Linux 2.6.13.2-r1 4046  56611 Jona...
The Linux Kernel.
Linux 2.6.13.1-r1 4046  56378 Luca...
The Linux Kernel.
Linux 2.6.12.2-r1 4046  50355 Luca...
The Linux Kernel.
Linux 2.6.11.9-r1 4046  98969 Luca...
The Linux Kernel.
Linux 2.6.11.8-r1 4046  109424 Jona...
The Linux Kernel.
Linux 2.6.11-r1 4046  99032 Luca...
The Linux Kernel.
Linux 2.6.10-r1 4046  65969 Luca...
The Linux Kernel.
Linux 2.6.9-r1 4046  278461 Luca...
The Linux Kernel.
Linux 2.6.8.1-r1 4046  35576 Luca...
The Linux Kernel.
Linux 2.6.7-r1 4046  22610 Luca...
The Linux Kernel.
Linux 2.6.6-r1 4046  21958 Luca...
The Linux Kernel.
Linux 2.4.26-r1 4046  22359 Luca...
The Linux Kernel.