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

Diff for /funnyos/sys/device.h between version 1.3 and 1.4

version 1.3, 2007/10/25 20:49:49 version 1.4, 2007/10/29 20:53:59
Line 24 
Line 24 
         uint32_t                dr_ddsize;                              /* size of xxx_dd (devdata) */          uint32_t                dr_ddsize;                              /* size of xxx_dd (devdata) */
         int                     (*dr_attach)(struct device *self, uint32_t loc, uint8_t flags); /* attach subroutine */          int                     (*dr_attach)(struct device *self, uint32_t loc, uint8_t flags); /* attach subroutine */
         int                     (*dr_detach)(struct device *self); /* detach subroutine */          int                     (*dr_detach)(struct device *self); /* detach subroutine */
 //      void                    (*dr_interrupt)(struct device *self); /* intr handler */          void                    (*dr_interrupt)(struct device *self); /* intr handler */
 };  };
   
   
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 */          uint8_t                 ai_intrno;                                      /* interrupt line */
         uint8_t                 ai_flags;                                       /* flags passed to dr_attach() */          uint8_t                 ai_flags;                                       /* flags passed to dr_attach() */
 };  };
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

CVSweb