cvs commit: src/sys/dev/tx if_tx.c

Maxime Henrion mux at FreeBSD.org
Sat Apr 19 06:51:27 PDT 2003


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


More information about the cvs-src mailing list