]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/misc/hpilo.h
nilfs2: another dat for garbage collection
[linux-2.6-omap-h63xx.git] / drivers / misc / hpilo.h
index b64a20ef07e3cc6e7280386b5dc462233e1fd99a..03a14c82aad9bc9f0588cb3ee974ea5e2d8cd493 100644 (file)
 #define MAX_ILO_DEV    1
 /* max number of files */
 #define MAX_OPEN       (MAX_CCB * MAX_ILO_DEV)
+/* total wait time in usec */
+#define MAX_WAIT_TIME  10000
+/* per spin wait time in usec */
+#define WAIT_TIME      10
 /* spin counter for open/close delay */
-#define MAX_WAIT       10000
+#define MAX_WAIT       (MAX_WAIT_TIME / WAIT_TIME)
 
 /*
  * Per device, used to track global memory allocations.