Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2003 17:04:17 -0800 (PST)
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/fxp if_fxp.c
Message-ID:  <200304060104.h3614HjP050066@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mux         2003/04/05 17:04:17 PST

  FreeBSD src repository

  Modified files:
    sys/dev/fxp          if_fxp.c 
  Log:
  - Instead of rolling our own alignment-safe function, use le32enc()
    which deals with both endianness and alignment issues.
  - Collect low-hanging fruits for endianness safety.
  - Use 0xffffffff instead of -1 where appropriate.
  
  Revision  Changes    Path
  1.157     +66 -78    src/sys/dev/fxp/if_fxp.c



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