Subject: Re: NFS writes NetBSD vs FreeBSD
To: None <port-alpha@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: port-alpha
Date: 07/16/2004 04:46:54
In article <FEE85110-D6C3-11D8-AAE5-000A957650EC@wasabisystems.com>,
Jason Thorpe <thorpej@wasabisystems.com> wrote:
>-=-=-=-=-=-
>
>
>On Jul 15, 2004, at 3:44 PM, Andrey Petrov wrote:
>
>> It enought to recompile i82557.c file without -mbwx to see timeouts on 
>> 'large file
>> write over nfs'. Smells like compiler bug.
>
>No, it's actually the stupid 82557.  It requires a atomic write to a 
>non-aligned region in order for proper operation.  Fine on IA, not fine 
>on almost everything else.
>
>I think FreeBSD has an #ifdef __alpha__ in their "fxp" driver to 
>address this.  I'm tempted to add one such myself, at this point.
>

Maybe have a set of macros that deal with unaligned writes?

christos