Date: Sun, 6 Apr 2003 16:09:57 -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/fxp if_fxp.c Message-ID: <200304062309.h36N9vka088364@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304062309.h36N9vka088364>