[gPXE-devel] [PATCH v3][pcnet32] Replace pcnet32 driver

Stefan Hajnoczi stefanha at gmail.com
Sun Jun 20 16:57:19 EDT 2010


On Sun, Jun 20, 2010 at 8:23 PM, Andrei Faur <da3drus at gmail.com> wrote:
> This patch replaces the old pcnet32 driver with a new one that
> uses gPXE's API.
>
> Signed-off-by: Andrei Faur <da3drus at gmail.com>
> ---
> v3:
>  * removes printfs from code
>  * fixes CSR0 TINT and RINT clearing when enabling interrupts which
>  caused tx and rx events to be lost.
>
>  src/drivers/net/pcnet32.c | 2182 ++++++++++++++++++++++++---------------------
>  src/drivers/net/pcnet32.h |  181 ++++
>  2 files changed, 1342 insertions(+), 1021 deletions(-)
>  rewrite src/drivers/net/pcnet32.c (93%)
>  create mode 100644 src/drivers/net/pcnet32.h

Looks good.  Will wait a day so others can comment.

Stefan


More information about the gPXE-devel mailing list