cvs commit: src/sys/dev/fxp if_fxp.c

Maxime Henrion mux at FreeBSD.org
Sun Apr 6 16:09:58 PDT 2003


mux         2003/04/06 16:09:57 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/fxp          if_fxp.c 
  Log:
  Because alpha can't access memory in 16-bit granularity,
  we're using an atomic operation to clear the suspend flag
  in fxp_start().  Since other architectures may need the
  same thing, we want to do it all the time and not only
  in the __alpha__ case.  However, we don't want to use
  atomic operations on 16-bit integers, because those may
  not be available on any architecture.  We're thus faking
  a 32-bit atomic operation here.  This patch also deals
  with endianness here.
  
  Revision  Changes    Path
  1.159     +11 -7     src/sys/dev/fxp/if_fxp.c


More information about the cvs-src mailing list