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

Diff for /funnyos/sys/device.h between version 1.1 and 1.2

version 1.1, 2007/10/16 09:41:05 version 1.2, 2007/10/16 15:00:28
Line 32 
Line 32 
         /*          /*
          * Associate actual driver with device name.           * Associate actual driver with device name.
          */           */
         char                    di_dname[DVNAMELEN];            /* device name */          char                    *di_dname;              /* device name */
         struct driver   *di_driverp;                            /* pointer to driver */          struct driver   *di_driverp;                            /* pointer to driver */
         int8_t                  di_ninstances;                          /* number of already created devices; for dv_minor */          int8_t                  di_ninstances;                          /* number of already created devices; for dv_minor */
 };  };
Line 43 
Line 43 
          * Attach hint. Describes where to attach particular device.           * Attach hint. Describes where to attach particular device.
          * "child" at "parent" 0 loc 0x16000000 flags 0x00           * "child" at "parent" 0 loc 0x16000000 flags 0x00
          */           */
         char                    ai_cname[DVNAMELEN];            /* child device name */          char                    *ai_cname;              /* child device name */
         char                    ai_pname[DVNAMELEN];            /* 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 */  //      uint8_t                 ai_intrno;                                      /* interrupt line */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb