SUMMARY: Device Drivers and /dev when booting new kernel

From: Lemming Queen <dkb_at_UVic.CA>
Date: Wed, 19 Aug 1998 18:36:27 -0700 (PDT)

> 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

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT