tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: radaeondrmkms on i386 - how to get the console back



   Date: Sat, 20 Dec 2014 08:12:49 +1100
   from: matthew green <mrg%eterna.com.au@localhost>

   i'm not sure that minor=0 is right for this, perhaps it
   should be derived from something in struct drm_device *dev.

   -	dev_t devno = cdevsw_lookup_major(&drm_cdevsw);
   +	dev_t devno = makedev(cdevsw_lookup_major(&drm_cdevsw), 0);

Should be dev->minor->index.  Otherwise, LGTM.


Home | Main Index | Thread Index | Old Index