> My problem is that, when booting the new kernel, an error comes up that
> says
> "sysconfigtab: Device_Dir not in subsystem can"
> "Device_Dir attribute does not exist"
Thanks to the help of Joerg, this problem was solved. He pointed out that
this attribute needed to be defined in the can_attributes[] table in my
driver can.c. So by adding the following,
static int majnum = NO_DEV;
static unsigned char unused[300] = "";
and the following in my attributes table:
{
"Device_Dir", CFG_ATTR_STRTYPE, CFG_OP_CONFIGURE, (caddr_t)unused,
0,300,0},
}
the problem was solved.
Thanks Joerg!
Devinder.
Received on Thu Aug 20 1998 - 01:37:34 NZST