[PATCH] some fixups for ppc405_enet init code

Armin Kuster akuster at mvista.com
Tue Sep 11 03:53:03 EST 2001


andrew may wrote:
>
> This change is for Config.in and the Makefile to add the
> ppc405_enet driver.
>
> I also removed the _probe1 function and moved the code down
> into the init function. This was done for 2 reasons: 1 the
> dev->name is not know until the device is registered and
> 2 so the code would be removed after init.
>
> I also added a kfree of the private data when the register
> fails and when the module is removed.
>
>   ------------------------------------------------------------------------
>
>    ppc_enet.diffName: ppc_enet.diff
>                 Type: Plain Text (text/plain)


 Thanks, I'll make the appropriate changes.

-- armin

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list