Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2003 06:51:25 -0700 (PDT)
From:      Maxime Henrion <mux@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/tx if_tx.c
Message-ID:  <200304191351.h3JDpPdH053239@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mux         2003/04/19 06:51:25 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/tx           if_tx.c 
  Log:
  - Enable interrupts only at the end of epic_attach() when all the
    other initializations succeeded.
  - Initialize the TX and RX rings in epic_attach() rather than in
    epic_init() where we're not supposed to fail.  Similarly, free
    the TX and RX rings in epic_detach() rather than in epic_stop().
  - Change epic_init() to be a void function now that it can't fail.
    Also change its parameter to a void * so that we have a correct
    prototype for if_init.
  - Now that epic_init() has a correct prototype, don't cast the
    function pointer when initializing if_init.
  - Fix nearby style bugs.
  
  Revision  Changes    Path
  1.69      +35 -39    src/sys/dev/tx/if_tx.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304191351.h3JDpPdH053239>