=================================================================== RCS file: /cvs/funnyos/sys/device.h,v retrieving revision 1.5 retrieving revision 1.7 diff -u -r1.5 -r1.7 --- funnyos/sys/device.h 2007/10/29 20:56:37 1.5 +++ funnyos/sys/device.h 2007/11/24 17:58:41 1.7 @@ -1,11 +1,11 @@ /* - * $Id: device.h,v 1.5 2007/10/29 20:56:37 init Exp $ + * $Id: device.h,v 1.7 2007/11/24 17:58:41 nbrk Exp $ */ #ifndef _SYS_DEVICE_H #define _SYS_DEVICE_H #include -#define DVNAMELEN 8 +#define DVNAMELEN 9 struct device { // char dv_name[DVNAMELEN]; /* device name up to 7 chars */ @@ -47,7 +47,7 @@ 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_intrno; /* interrupt line (XXX on IRQ Controller) */ uint8_t ai_flags; /* flags passed to dr_attach() */ };