Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch)
This is a copy of a post I made to the isdn4linux mailing-list.
In the latest kernel, char bus_id[20] has been removed from struct device. To read or set the device name, dev_name(device) resp. dev_set_name(device) have to be used instead. The attached patch does exactly that. It allows me to run mISDN-1_1_9_2 with kernel 2.6.30.5, with no problem so far. My understanding is that dev_name and dev_set_name have been introduced in 2.6.27.x, hence the check for >= 2.6.28. I haven't tested the patch with kernels older than 2.6.30.5 though.
You can get the patch here: misdn-1.1.9.2-no-bus_id.patch.
Comments are set to "moderated" for this entry, please consider whether you should rather post to the list.
In the latest kernel, char bus_id[20] has been removed from struct device. To read or set the device name, dev_name(device) resp. dev_set_name(device) have to be used instead. The attached patch does exactly that. It allows me to run mISDN-1_1_9_2 with kernel 2.6.30.5, with no problem so far. My understanding is that dev_name and dev_set_name have been introduced in 2.6.27.x, hence the check for >= 2.6.28. I haven't tested the patch with kernels older than 2.6.30.5 though.
You can get the patch here: misdn-1.1.9.2-no-bus_id.patch.
Comments are set to "moderated" for this entry, please consider whether you should rather post to the list.
Trackbacks
The author does not allow comments to this entry
Comments
Display comments as Linear | Threaded