Searched refs:mdevBMajor (Results 1 – 1 of 1) sorted by relevance
176 int mdevBMajor = -1; variable664 …if (mdevBMajor < 0) { /* Have we gotten… in mdevadd()665 …mdevBMajor = bdevsw_add(-1, &mdevbdevsw); /* Add to the table and figure out a major… in mdevadd()666 if (mdevBMajor < 0) { in mdevadd()667 printf("mdevadd: error - bdevsw_add() returned %d\n", mdevBMajor); in mdevadd()673 …mdevCMajor = cdevsw_add_with_bdev(-1, &mdevcdevsw, mdevBMajor); /* Add to the table and fi… in mdevadd()680 mdev[devid].mdBDev = makedev(mdevBMajor, devid); /* Get the device number */ in mdevadd()