Searched refs:mdevCMajor (Results 1 – 1 of 1) sorted by relevance
177 int mdevCMajor = -1; variable672 …if (mdevCMajor < 0) { /* Have we gotten… in mdevadd()673 …mdevCMajor = cdevsw_add_with_bdev(-1, &mdevcdevsw, mdevBMajor); /* Add to the table and fi… in mdevadd()674 if (mdevCMajor < 0) { in mdevadd()675 printf("ramdevice_init: error - cdevsw_add() returned %d\n", mdevCMajor); in mdevadd()689 mdev[devid].mdCDev = makedev(mdevCMajor, devid); /* Get the device number */ in mdevadd()