[BACK]Return to device.h CVS log [TXT][DIR] Up to [local] / funnyos / sys

Diff for /funnyos/sys/device.h between version 1.5 and 1.9

version 1.5, 2007/10/29 20:56:37 version 1.9, 2007/12/21 17:38:56
Line 5 
Line 5 
 #define _SYS_DEVICE_H  #define _SYS_DEVICE_H
 #include <sys/types.h>  #include <sys/types.h>
   
 #define DVNAMELEN 8  #define DVNAMELEN 10
   
 struct device {  struct device {
 //      char                    dv_name[DVNAMELEN];             /* device name up to 7 chars */  //      char                    dv_name[DVNAMELEN];             /* device name up to 7 chars */
Line 47 
Line 47 
         char                    *ai_pname;              /* parent device name */          char                    *ai_pname;              /* parent device name */
         uint8_t                 ai_pminor;              /* parent minor */          uint8_t                 ai_pminor;              /* parent minor */
         uint32_t                ai_locator;             /* location on parent (0 - default) */          uint32_t                ai_locator;             /* location on parent (0 - default) */
         uint8_t                 ai_intrno;              /* interrupt line */          int8_t                  ai_intrno;              /* interrupt line (XXX on IRQ Controller) */
         uint8_t                 ai_flags;               /* flags passed to dr_attach() */          uint8_t                 ai_flags;               /* flags passed to dr_attach() */
 };  };
   

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.9

CVSweb