tg3: Add support code around kernel interrupt API