svn commit: r272023 - head/sys/dev/ixl

Bjoern A. Zeeb bz at FreeBSD.org
Tue Sep 23 08:39:09 UTC 2014


Author: bz
Date: Tue Sep 23 08:39:08 2014
New Revision: 272023
URL: http://svnweb.freebsd.org/changeset/base/272023

Log:
  Given we are restricting ixl(4) to 64bit platforms now backout the change
  r270820 to common (shared) Intel code no longer needed.
  
  MFC after:	3 days

Modified:
  head/sys/dev/ixl/i40e_common.c

Modified: head/sys/dev/ixl/i40e_common.c
==============================================================================
--- head/sys/dev/ixl/i40e_common.c	Tue Sep 23 08:33:03 2014	(r272022)
+++ head/sys/dev/ixl/i40e_common.c	Tue Sep 23 08:39:08 2014	(r272023)
@@ -4375,8 +4375,8 @@ enum i40e_status_code i40e_aq_alternate_
 
 	cmd_resp->address = CPU_TO_LE32(addr);
 	cmd_resp->length = CPU_TO_LE32(dw_count);
-	cmd_resp->addr_high = CPU_TO_LE32(I40E_HI_WORD((u64)(uintptr_t)buffer));
-	cmd_resp->addr_low = CPU_TO_LE32(I40E_LO_DWORD((u64)(uintptr_t)buffer));
+	cmd_resp->addr_high = CPU_TO_LE32(I40E_HI_WORD((u64)buffer));
+	cmd_resp->addr_low = CPU_TO_LE32(I40E_LO_DWORD((u64)buffer));
 
 	status = i40e_asq_send_command(hw, &desc, buffer,
 				       I40E_LO_DWORD(4*dw_count), NULL);
@@ -4458,8 +4458,8 @@ enum i40e_status_code i40e_aq_alternate_
 
 	cmd_resp->address = CPU_TO_LE32(addr);
 	cmd_resp->length = CPU_TO_LE32(dw_count);
-	cmd_resp->addr_high = CPU_TO_LE32(I40E_HI_DWORD((u64)(uintptr_t)buffer));
-	cmd_resp->addr_low = CPU_TO_LE32(I40E_LO_DWORD((u64)(uintptr_t)buffer));
+	cmd_resp->addr_high = CPU_TO_LE32(I40E_HI_DWORD((u64)buffer));
+	cmd_resp->addr_low = CPU_TO_LE32(I40E_LO_DWORD((u64)buffer));
 
 	status = i40e_asq_send_command(hw, &desc, buffer,
 				       I40E_LO_DWORD(4*dw_count), NULL);


More information about the svn-src-head mailing list