NCO_CHANNEL_REGSIZE
if (resource_size(res) < NCO_CHANNEL_REGSIZE)
nchannels = (resource_size(res) - NCO_CHANNEL_REGSIZE)