tg3: Use devfn to determine function number