SYSINIT needs to be SI_SUB_PSEUDO. Add a printf to tell we are here.
This commit is contained in:
parent
095b49ff6d
commit
5f9dcc4468
@ -74,9 +74,10 @@ elan_drvinit(void)
|
||||
|
||||
if (elan_mmcr == NULL)
|
||||
return;
|
||||
printf("Elan-mmcr driver\n");
|
||||
make_dev(&elan_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, "elan-mmcr");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
SYSINIT(elan, SI_SUB_DRIVERS, SI_ORDER_MIDDLE+CDEV_MAJOR,elan_drvinit,NULL);
|
||||
SYSINIT(elan, SI_SUB_PSEUDO, SI_ORDER_MIDDLE+CDEV_MAJOR,elan_drvinit,NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user