Some seldom used ioctl()s introduced in the sg 2.x series drivers have been withdrawn. They are:
SG_SET_UNDERRUN_FLAG (and _GET_) [use 'resid' in this new interface]
SG_SET_MERGE_FD (and _GET) [added complexity with little benefit]