All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <253818670505171959f5cecb@mail.gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index 4bb6820..42cc67a 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -22,18 +22,3 @@ On 5/17/05, Yani Ioannou <yani.ioannou@gmail.com> wrote:
 > 
 > 
 >
--------------- next part --------------
- i2c-sysfs.h |   37 +++++++++++++++++++++++++++++++++++++
- 1 files changed, 37 insertions(+)
--------------- next part --------------
-A non-text attachment was scrubbed...
-Name: patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-i2c.diff
-Type: text/x-patch
-Size: 1767 bytes
-Desc: not available
-Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050517/c69e957d/patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-i2c.bin
--------------- next part --------------
-_______________________________________________
-lm-sensors mailing list
-lm-sensors@lm-sensors.org
-http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
diff --git a/N1/2.hdr b/N1/2.hdr
new file mode 100644
index 0000000..2f5eec4
--- /dev/null
+++ b/N1/2.hdr
@@ -0,0 +1,4 @@
+Content-Type: text/plain; 
+	name=patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-i2c.diff.diffstat.txt; charset=us-ascii
+Content-Transfer-Encoding: 7bit
+Content-Disposition: attachment; filename="patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-i2c.diff.diffstat.txt"
diff --git a/N1/2.txt b/N1/2.txt
new file mode 100644
index 0000000..b153780
--- /dev/null
+++ b/N1/2.txt
@@ -0,0 +1,2 @@
+ i2c-sysfs.h |   37 +++++++++++++++++++++++++++++++++++++
+ 1 files changed, 37 insertions(+)
diff --git a/N1/3.hdr b/N1/3.hdr
new file mode 100644
index 0000000..64782ef
--- /dev/null
+++ b/N1/3.hdr
@@ -0,0 +1,4 @@
+Content-Type: text/x-patch; 
+	name=patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-i2c.diff; charset=us-ascii
+Content-Transfer-Encoding: 7bit
+Content-Disposition: attachment; filename="patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-i2c.diff"
diff --git a/N1/3.txt b/N1/3.txt
new file mode 100644
index 0000000..1bf3a34
--- /dev/null
+++ b/N1/3.txt
@@ -0,0 +1,41 @@
+diff -uprN -X dontdiff linux-2.6.12-rc4-sysfsdyncallback-deviceattr-update/include/linux/i2c-sysfs.h linux-2.6.12-rc4-sysfsdyncallback-deviceattr-i2c/include/linux/i2c-sysfs.h
+--- linux-2.6.12-rc4-sysfsdyncallback-deviceattr-update/include/linux/i2c-sysfs.h	1969-12-31 19:00:00.000000000 -0500
++++ linux-2.6.12-rc4-sysfsdyncallback-deviceattr-i2c/include/linux/i2c-sysfs.h	2005-05-16 23:30:12.000000000 -0400
+@@ -0,0 +1,37 @@
++/*
++ *  i2c-sysfs.h - i2c chip driver sysfs defines
++ *
++ *  Copyright (C) 2005 Yani Ioannou <yani.ioannou@gmail.com>
++ *
++ *  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
++ *  the Free Software Foundation; either version 2 of the License, or
++ *  (at your option) any later version.
++ *
++ *  This program is distributed in the hope that it will be useful,
++ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
++ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++ *  GNU General Public License for more details.
++ *
++ *  You should have received a copy of the GNU General Public License
++ *  along with this program; if not, write to the Free Software
++ *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++ */
++#ifndef _LINUX_I2C_SYSFS_H
++#define _LINUX_I2C_SYSFS_H
++
++struct sensor_device_attribute{
++	struct device_attribute dev_attr;
++	int index;
++};
++
++#define to_sensor_dev_attr(_dev_attr) \
++container_of(_dev_attr, struct sensor_device_attribute, dev_attr)
++
++#define SENSOR_DEVICE_ATTR(_name,_mode,_show,_store,_index)	\
++struct sensor_device_attribute sensor_dev_attr_##_name = {	\
++	.dev_attr=__ATTR(_name,_mode,_show,_store),		\
++	.index=_index,						\
++}
++
++#endif /* _LINUX_I2C_SYSFS_H */
diff --git a/a/content_digest b/N1/content_digest
index 0a241f0..06ef95b 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,11 +1,11 @@
  "ref\02538186705051703463587a54@mail.gmail.com\0"
- "From\0yani.ioannou@gmail.com (Yani Ioannou)\0"
- "Subject\0[lm-sensors] Re: [PATCH 2.6.12-rc4 14/15]\0"
- "Date\0Thu, 19 May 2005 06:25:59 +0000\0"
+ "From\0Yani Ioannou <yani.ioannou@gmail.com>\0"
+ "Subject\0Re: [PATCH 2.6.12-rc4 14/15] include/linux/i2c-sysfs.h: i2c sensor_device_attribute and macros\0"
+ "Date\0Tue, 17 May 2005 22:59:05 -0400\0"
  "To\0Greg KH <greg@kroah.com>"
   linux-kernel@vger.kernel.org
  " lm-sensors@lm-sensors.org\0"
- "\00:1\0"
+ "\01:1\0"
  "b\0"
  "Oops..I caught this simple typo while compile testing the adm1026\n"
  "patch with everything, but it looks like I forgot to update the patch,\n"
@@ -30,21 +30,55 @@
  "> ---\n"
  "> \n"
  "> \n"
- ">\n"
- "-------------- next part --------------\n"
+ >
+ "\01:2\0"
+ "fn\0patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-i2c.diff.diffstat.txt\0"
+ "b\0"
  " i2c-sysfs.h |   37 +++++++++++++++++++++++++++++++++++++\n"
- " 1 files changed, 37 insertions(+)\n"
- "-------------- next part --------------\n"
- "A non-text attachment was scrubbed...\n"
- "Name: patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-i2c.diff\n"
- "Type: text/x-patch\n"
- "Size: 1767 bytes\n"
- "Desc: not available\n"
- "Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050517/c69e957d/patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-i2c.bin\n"
- "-------------- next part --------------\n"
- "_______________________________________________\n"
- "lm-sensors mailing list\n"
- "lm-sensors@lm-sensors.org\n"
- http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
+  1 files changed, 37 insertions(+)
+ "\01:3\0"
+ "fn\0patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-i2c.diff\0"
+ "b\0"
+ "diff -uprN -X dontdiff linux-2.6.12-rc4-sysfsdyncallback-deviceattr-update/include/linux/i2c-sysfs.h linux-2.6.12-rc4-sysfsdyncallback-deviceattr-i2c/include/linux/i2c-sysfs.h\n"
+ "--- linux-2.6.12-rc4-sysfsdyncallback-deviceattr-update/include/linux/i2c-sysfs.h\t1969-12-31 19:00:00.000000000 -0500\n"
+ "+++ linux-2.6.12-rc4-sysfsdyncallback-deviceattr-i2c/include/linux/i2c-sysfs.h\t2005-05-16 23:30:12.000000000 -0400\n"
+ "@@ -0,0 +1,37 @@\n"
+ "+/*\n"
+ "+ *  i2c-sysfs.h - i2c chip driver sysfs defines\n"
+ "+ *\n"
+ "+ *  Copyright (C) 2005 Yani Ioannou <yani.ioannou@gmail.com>\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"
+ "+ *  the Free Software Foundation; either version 2 of the License, or\n"
+ "+ *  (at your option) any later version.\n"
+ "+ *\n"
+ "+ *  This program is distributed in the hope that it will be useful,\n"
+ "+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
+ "+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n"
+ "+ *  GNU General Public License for more details.\n"
+ "+ *\n"
+ "+ *  You should have received a copy of the GNU General Public License\n"
+ "+ *  along with this program; if not, write to the Free Software\n"
+ "+ *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n"
+ "+ */\n"
+ "+#ifndef _LINUX_I2C_SYSFS_H\n"
+ "+#define _LINUX_I2C_SYSFS_H\n"
+ "+\n"
+ "+struct sensor_device_attribute{\n"
+ "+\tstruct device_attribute dev_attr;\n"
+ "+\tint index;\n"
+ "+};\n"
+ "+\n"
+ "+#define to_sensor_dev_attr(_dev_attr) \\\n"
+ "+container_of(_dev_attr, struct sensor_device_attribute, dev_attr)\n"
+ "+\n"
+ "+#define SENSOR_DEVICE_ATTR(_name,_mode,_show,_store,_index)\t\\\n"
+ "+struct sensor_device_attribute sensor_dev_attr_##_name = {\t\\\n"
+ "+\t.dev_attr=__ATTR(_name,_mode,_show,_store),\t\t\\\n"
+ "+\t.index=_index,\t\t\t\t\t\t\\\n"
+ "+}\n"
+ "+\n"
+ +#endif /* _LINUX_I2C_SYSFS_H */
 
-5f345e1d63e2d314401242aa923d96ea65e041d99f1e1a960d43b8511810ff60
+936e9d0e7671736af6989cc66a39bc9e74dbcdc4628eaec74b365be703d9270c

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.