Problem resolved !!!Cryptography Driver

John Baldwin jhb at freebsd.org
Fri Oct 28 08:49:00 PDT 2005


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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-drivers mailing list