[PATCH] make config_max_raw_devices work
From: "Kenneth Chen" <kenneth.w.chen@intel.com> Even though there is a CONFIG_MAX_RAW_DEVS option, it doesn't actually increase the number of raw devices beyond 256 because during the char registration, it uses the standard register_chrdev() interface which has hard coded 256 minor in it. Here is a patch that fix this problem by using register_chrdev_region() and cdev_(init/add/del) functions.
Showing
Please register or sign in to comment