SYSINIT needs to be SI_SUB_PSEUDO. Add a printf to tell we are here.

This commit is contained in:
Poul-Henning Kamp 2002-08-02 16:47:29 +00:00
parent 095b49ff6d
commit 5f9dcc4468

View File

@ -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);