diff for duplicates of <20060702222649.GA13411@hansmi.ch> diff --git a/a/1.txt b/N1/1.txt index 8126d31..6788638 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -29,8 +29,8 @@ diff -Nrup --exclude-from linux-exclude-from linux-2.6.17-git20.orig/drivers/hwm +/* + * Apple Motion Sensor driver + * -+ * Copyright (C) 2005 Stelian Pop (stelian at popies.net) -+ * Copyright (C) 2006 Michael Hanselmann (linux-kernel at hansmi.ch) ++ * Copyright (C) 2005 Stelian Pop (stelian@popies.net) ++ * Copyright (C) 2006 Michael Hanselmann (linux-kernel@hansmi.ch) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by @@ -305,7 +305,8 @@ diff -Nrup --exclude-from linux-exclude-from linux-2.6.17-git20.orig/drivers/hwm + AMS_IRQ_FREEFALL = 0x01, + AMS_IRQ_SHOCK = 0x02, + AMS_IRQ_GLOBAL = 0x04, -+ AMS_IRQ_ALL + AMS_IRQ_FREEFALL | ++ AMS_IRQ_ALL = ++ AMS_IRQ_FREEFALL | + AMS_IRQ_SHOCK | + AMS_IRQ_GLOBAL, +}; @@ -392,7 +393,7 @@ diff -Nrup --exclude-from linux-exclude-from linux-2.6.17-git20.orig/drivers/hwm +/* + * Apple Motion Sensor driver (hard disk head parking) + * -+ * Copyright (C) 2006 Michael Hanselmann (linux-kernel at hansmi.ch) ++ * Copyright (C) 2006 Michael Hanselmann (linux-kernel@hansmi.ch) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by @@ -468,11 +469,11 @@ diff -Nrup --exclude-from linux-exclude-from linux-2.6.17-git20.orig/drivers/hwm +/* + * Apple Motion Sensor driver (I2C variant) + * -+ * Copyright (C) 2005 Stelian Pop (stelian at popies.net) -+ * Copyright (C) 2006 Michael Hanselmann (linux-kernel at hansmi.ch) ++ * Copyright (C) 2005 Stelian Pop (stelian@popies.net) ++ * Copyright (C) 2006 Michael Hanselmann (linux-kernel@hansmi.ch) + * + * Clean room implementation based on the reverse engineered Mac OS X driver by -+ * Johannes Berg <johannes at sipsolutions.net>, documentation available at ++ * Johannes Berg <johannes@sipsolutions.net>, documentation available at + * http://johannes.sipsolutions.net/PowerBook/Apple_Motion_Sensor_Specification + * + * This program is free software; you can redistribute it and/or modify @@ -558,7 +559,7 @@ diff -Nrup --exclude-from linux-exclude-from linux-2.6.17-git20.orig/drivers/hwm + for (i = 0; i < 10; i++) { + mdelay(5); + result = ams_i2c_read(AMS_COMMAND); -+ if (result = 0 || result & 0x80) ++ if (result == 0 || result & 0x80) + return 0; + } + return -1; @@ -756,8 +757,8 @@ diff -Nrup --exclude-from linux-exclude-from linux-2.6.17-git20.orig/drivers/hwm +/* + * Apple Motion Sensor driver (mouse emulation) + * -+ * Copyright (C) 2005 Stelian Pop (stelian at popies.net) -+ * Copyright (C) 2006 Michael Hanselmann (linux-kernel at hansmi.ch) ++ * Copyright (C) 2005 Stelian Pop (stelian@popies.net) ++ * Copyright (C) 2006 Michael Hanselmann (linux-kernel@hansmi.ch) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by @@ -906,7 +907,7 @@ diff -Nrup --exclude-from linux-exclude-from linux-2.6.17-git20.orig/drivers/hwm +/* + * Apple Motion Sensor driver (PMU variant) + * -+ * Copyright (C) 2006 Michael Hanselmann (linux-kernel at hansmi.ch) ++ * Copyright (C) 2006 Michael Hanselmann (linux-kernel@hansmi.ch) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by diff --git a/a/content_digest b/N1/content_digest index b5517f3..6a983cb 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ - "From\0linux-kernel@hansmi.ch (Michael Hanselmann)\0" - "Subject\0[lm-sensors] [RFC] Apple Motion Sensor driver\0" - "Date\0Sun, 02 Jul 2006 22:26:49 +0000\0" + "From\0Michael Hanselmann <linux-kernel@hansmi.ch>\0" + "Subject\0[RFC] Apple Motion Sensor driver\0" + "Date\0Mon, 3 Jul 2006 00:26:49 +0200\0" "To\0linux-kernel@vger.kernel.org\0" "Cc\0lm-sensors@lm-sensors.org" khali@linux-fr.org @@ -42,8 +42,8 @@ "+/*\n" "+ * Apple Motion Sensor driver\n" "+ *\n" - "+ * Copyright (C) 2005 Stelian Pop (stelian at popies.net)\n" - "+ * Copyright (C) 2006 Michael Hanselmann (linux-kernel at hansmi.ch)\n" + "+ * Copyright (C) 2005 Stelian Pop (stelian@popies.net)\n" + "+ * Copyright (C) 2006 Michael Hanselmann (linux-kernel@hansmi.ch)\n" "+ *\n" "+ * This program is free software; you can redistribute it and/or modify\n" "+ * it under the terms of the GNU General Public License as published by\n" @@ -318,7 +318,8 @@ "+\tAMS_IRQ_FREEFALL = 0x01,\n" "+\tAMS_IRQ_SHOCK = 0x02,\n" "+\tAMS_IRQ_GLOBAL = 0x04,\n" - "+\tAMS_IRQ_ALL +\t\tAMS_IRQ_FREEFALL |\n" + "+\tAMS_IRQ_ALL =\n" + "+\t\tAMS_IRQ_FREEFALL |\n" "+\t\tAMS_IRQ_SHOCK |\n" "+\t\tAMS_IRQ_GLOBAL,\n" "+};\n" @@ -405,7 +406,7 @@ "+/*\n" "+ * Apple Motion Sensor driver (hard disk head parking)\n" "+ *\n" - "+ * Copyright (C) 2006 Michael Hanselmann (linux-kernel at hansmi.ch)\n" + "+ * Copyright (C) 2006 Michael Hanselmann (linux-kernel@hansmi.ch)\n" "+ *\n" "+ * This program is free software; you can redistribute it and/or modify\n" "+ * it under the terms of the GNU General Public License as published by\n" @@ -481,11 +482,11 @@ "+/*\n" "+ * Apple Motion Sensor driver (I2C variant)\n" "+ *\n" - "+ * Copyright (C) 2005 Stelian Pop (stelian at popies.net)\n" - "+ * Copyright (C) 2006 Michael Hanselmann (linux-kernel at hansmi.ch)\n" + "+ * Copyright (C) 2005 Stelian Pop (stelian@popies.net)\n" + "+ * Copyright (C) 2006 Michael Hanselmann (linux-kernel@hansmi.ch)\n" "+ *\n" "+ * Clean room implementation based on the reverse engineered Mac OS X driver by\n" - "+ * Johannes Berg <johannes at sipsolutions.net>, documentation available at\n" + "+ * Johannes Berg <johannes@sipsolutions.net>, documentation available at\n" "+ * http://johannes.sipsolutions.net/PowerBook/Apple_Motion_Sensor_Specification\n" "+ *\n" "+ * This program is free software; you can redistribute it and/or modify\n" @@ -571,7 +572,7 @@ "+\tfor (i = 0; i < 10; i++) {\n" "+\t\tmdelay(5);\n" "+\t\tresult = ams_i2c_read(AMS_COMMAND);\n" - "+\t\tif (result = 0 || result & 0x80)\n" + "+\t\tif (result == 0 || result & 0x80)\n" "+\t\t\treturn 0;\n" "+\t}\n" "+\treturn -1;\n" @@ -769,8 +770,8 @@ "+/*\n" "+ * Apple Motion Sensor driver (mouse emulation)\n" "+ *\n" - "+ * Copyright (C) 2005 Stelian Pop (stelian at popies.net)\n" - "+ * Copyright (C) 2006 Michael Hanselmann (linux-kernel at hansmi.ch)\n" + "+ * Copyright (C) 2005 Stelian Pop (stelian@popies.net)\n" + "+ * Copyright (C) 2006 Michael Hanselmann (linux-kernel@hansmi.ch)\n" "+ *\n" "+ * This program is free software; you can redistribute it and/or modify\n" "+ * it under the terms of the GNU General Public License as published by\n" @@ -919,7 +920,7 @@ "+/*\n" "+ * Apple Motion Sensor driver (PMU variant)\n" "+ *\n" - "+ * Copyright (C) 2006 Michael Hanselmann (linux-kernel at hansmi.ch)\n" + "+ * Copyright (C) 2006 Michael Hanselmann (linux-kernel@hansmi.ch)\n" "+ *\n" "+ * This program is free software; you can redistribute it and/or modify\n" "+ * it under the terms of the GNU General Public License as published by\n" @@ -1182,4 +1183,4 @@ " EXTRA_CFLAGS += -DDEBUG\n" endif -d506bfc7c4d9db5bd323cbe6b73857696d4f848d86aa13923f87703b4f05a84d +e531aa7aa251c17a950e52a9f55252f8d4d266c0aa9506905593bd0caa75fc59
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.