=================================================================== RCS file: /cvs/funnyos/sys/device.h,v retrieving revision 1.5 retrieving revision 1.9 diff -u -r1.5 -r1.9 --- funnyos/sys/device.h 2007/10/29 20:56:37 1.5 +++ funnyos/sys/device.h 2007/12/21 17:38:56 1.9 @@ -1,11 +1,11 @@ /* - * $Id: device.h,v 1.5 2007/10/29 20:56:37 init Exp $ + * $Id: device.h,v 1.9 2007/12/21 17:38:56 nbrk Exp $ */ #ifndef _SYS_DEVICE_H #define _SYS_DEVICE_H #include -#define DVNAMELEN 8 +#define DVNAMELEN 10 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 */ + int8_t ai_intrno; /* interrupt line (XXX on IRQ Controller) */ uint8_t ai_flags; /* flags passed to dr_attach() */ };