[svn-commits] tzafrir: branch linux/tzafrir/sysfs r7650 - /linux/team/tzafrir/sysfs/drivers...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Nov 30 11:36:56 CST 2009
Author: tzafrir
Date: Mon Nov 30 11:36:54 2009
New Revision: 7650
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7650
Log:
more span aattributes.
I'm still not sure they should be used, and hence they are not yet in
the README.
Modified:
linux/team/tzafrir/sysfs/drivers/dahdi/dahdi-sysfs.c
Modified: linux/team/tzafrir/sysfs/drivers/dahdi/dahdi-sysfs.c
URL: http://svnview.digium.com/svn/dahdi/linux/team/tzafrir/sysfs/drivers/dahdi/dahdi-sysfs.c?view=diff&rev=7650&r1=7649&r2=7650
==============================================================================
--- linux/team/tzafrir/sysfs/drivers/dahdi/dahdi-sysfs.c (original)
+++ linux/team/tzafrir/sysfs/drivers/dahdi/dahdi-sysfs.c Mon Nov 30 11:36:54 2009
@@ -89,6 +89,11 @@
span_attr(manufacturer, "%s\n");
span_attr(devicetype, "%s\n");
span_attr(location, "%s\n");
+span_attr(alarms, "0x%x\n");
+span_attr(irq, "%d\n");
+span_attr(irqmisses, "%d\n");
+span_attr(lbo, "%d\n");
+span_attr(syncsrc, "%d\n");
static BUS_ATTR_READER(is_digital_show, dev, buf)
{
@@ -120,6 +125,11 @@
__ATTR_RO(manufacturer),
__ATTR_RO(devicetype),
__ATTR_RO(location),
+ __ATTR_RO(alarms),
+ __ATTR_RO(irq),
+ __ATTR_RO(irqmisses),
+ __ATTR_RO(lbo),
+ __ATTR_RO(syncsrc),
__ATTR_RO(is_digital),
__ATTR_RO(is_sync_master),
__ATTR_NULL,
More information about the svn-commits
mailing list