Don't call make_dev from ssccnattach - its far too early to work properly.
This commit is contained in:
parent
a739220266
commit
51ee741c32
@ -109,8 +109,16 @@ ssccnprobe(struct consdev *cp)
|
||||
static void
|
||||
ssccninit(struct consdev *cp)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
ssccnattach(void *arg)
|
||||
{
|
||||
if (!ia64_running_in_simulator())
|
||||
return;
|
||||
make_dev(&ssc_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, "ssccons");
|
||||
}
|
||||
SYSINIT(ssccnattach, SI_SUB_DRIVERS, SI_ORDER_ANY, ssccnattach, 0);
|
||||
|
||||
static void
|
||||
ssccnputc(dev_t dev, int c)
|
||||
|
Loading…
x
Reference in New Issue
Block a user