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

Maxime Henrion mux at FreeBSD.org
Sat Apr 5 17:04:18 PST 2003


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


More information about the cvs-all mailing list