Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2005 11:50:13 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-drivers@freebsd.org
Subject:   Re: Problem resolved !!!Cryptography Driver
Message-ID:  <200510281150.14675.jhb@freebsd.org>
In-Reply-To: <20051028073020.B39A81CE305@ws1-6.us4.outblaze.com>
References:  <20051028073020.B39A81CE305@ws1-6.us4.outblaze.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 28 October 2005 03:30 am, Yong Ma wrote:
> We have find the reason, it is because the definition of outl(port,val) in
> FreeBSD and outl(val, port) in Linux are not the same.

If you want your driver to be portable to other architectures than i386, you 
should be using bus_space_write_4() instead of outl() anyway. :)

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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