=================================================================== RCS file: /cvs/funnyos/sys/device.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- funnyos/sys/device.h 2007/10/29 20:53:59 1.4 +++ funnyos/sys/device.h 2007/10/29 20:56:37 1.5 @@ -1,5 +1,5 @@ /* - * $Id: device.h,v 1.4 2007/10/29 20:53:59 init Exp $ + * $Id: device.h,v 1.5 2007/10/29 20:56:37 init Exp $ */ #ifndef _SYS_DEVICE_H #define _SYS_DEVICE_H @@ -32,23 +32,23 @@ /* * Associate actual driver with device name. */ - char *di_dname; /* device name */ - struct driver *di_driverp; /* pointer to driver */ - int8_t di_ninstances; /* number of already created devices; for dv_minor */ + char *di_dname; /* device name */ + struct driver *di_driverp; /* pointer to driver */ + int8_t di_ninstances; /* number of already created devices; for dv_minor */ }; struct attachinfo { /* * Attach hint. Describes where to attach particular device. - * "child" at "parent" 0 loc 0x16000000 flags 0x00 + * "child" at "parent" 0 loc 0x16000000 intrno 4 flags 0x00 */ - char *ai_cname; /* child device name */ - char *ai_pname; /* parent device name */ - uint8_t ai_pminor; /* parent minor */ - uint32_t ai_locator; /* location on parent (0 - default) */ - uint8_t ai_intrno; /* interrupt line */ - uint8_t ai_flags; /* flags passed to dr_attach() */ + char *ai_cname; /* child device name */ + char *ai_pname; /* parent device name */ + uint8_t ai_pminor; /* parent minor */ + uint32_t ai_locator; /* location on parent (0 - default) */ + uint8_t ai_intrno; /* interrupt line */ + uint8_t ai_flags; /* flags passed to dr_attach() */ };