Re: tg3 driver works without the firmware
Herbert Xu wrote:
> Nathanael Nerode <email@example.com> wrote:
>> Herbert Xu wrote:
>>> Ben Collins <firstname.lastname@example.org> wrote:
>>>> And, also, the tg3 driver supports ethtool ioctl's that allow you to
>>>> update the firmware from userspace.
>>> Where is that?
>> As far as I can tell, it's just the generic "do anything" ioctl's; they'd
>> have to be called one word at a time, which would be gross and horrible.
> Even so, where is the code in tg3.c that lets you do that?
I'm not entirely sure, but my guess is tg3_ioctl. It appears to read and
write arbitrary regs.
There are none so blind as those who will not see.