=================================================================== RCS file: /cvs/funnyos/sys/device.h,v retrieving revision 1.6 retrieving revision 1.8 diff -u -r1.6 -r1.8 --- funnyos/sys/device.h 2007/11/01 13:05:25 1.6 +++ funnyos/sys/device.h 2007/12/16 23:16:09 1.8 @@ -1,11 +1,11 @@ /* - * $Id: device.h,v 1.6 2007/11/01 13:05:25 init Exp $ + * $Id: device.h,v 1.8 2007/12/16 23:16:09 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 (XXX on IRQ Controller) */ + int8_t ai_intrno; /* interrupt line (XXX on IRQ Controller) */ uint8_t ai_flags; /* flags passed to dr_attach() */ };