Added scan_busy flag to ioctl().
authorFlorian Pose <fp@igh-essen.com>
Tue, 05 May 2009 10:01:55 +0000
changeset 1447 846d75637c43
parent 1446 85ea5af50175
child 1448 d7ba0c408a07
Added scan_busy flag to ioctl().
master/cdev.c
master/ioctl.h
--- a/master/cdev.c	Tue May 05 09:57:42 2009 +0000
+++ b/master/cdev.c	Tue May 05 10:01:55 2009 +0000
@@ -169,6 +169,7 @@
     data.config_count = ec_master_config_count(master);
     data.domain_count = ec_master_domain_count(master);
     data.phase = (uint8_t) master->phase;
+    data.scan_busy = master->scan_busy;
     up(&master->master_sem);
 
     if (down_interruptible(&master->device_sem))
--- a/master/ioctl.h	Tue May 05 09:57:42 2009 +0000
+++ b/master/ioctl.h	Tue May 05 10:01:55 2009 +0000
@@ -129,6 +129,7 @@
     uint32_t config_count;
     uint32_t domain_count;
     uint8_t phase;
+    uint8_t scan_busy;
     struct {
         uint8_t address[6];
         uint8_t attached;