From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 30FA2379B for ; Tue, 30 Aug 2016 11:56:44 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 30 Aug 2016 02:56:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,255,1470726000"; d="scan'208";a="1033066927" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.239.254.239]) by fmsmga001.fm.intel.com with ESMTP; 30 Aug 2016 02:56:38 -0700 From: "xu,gang" To: dts@dpdk.org Cc: "xu,gang" Date: Tue, 30 Aug 2016 17:51:57 +0800 Message-Id: <1472550717-9922-3-git-send-email-gangx.xu@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1472550717-9922-1-git-send-email-gangx.xu@intel.com> References: <1472550717-9922-1-git-send-email-gangx.xu@intel.com> Subject: [dts] [PATCH V1 3/3] solve dts compile error on freesbd X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2016 09:56:48 -0000 Signed-off-by: xu,gang --- nics/net_device.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nics/net_device.py b/nics/net_device.py index 897ceb9..b3cd967 100644 --- a/nics/net_device.py +++ b/nics/net_device.py @@ -136,7 +136,7 @@ class NetDevice(object): socket = -1 return socket - def get_nic_socket_freebsd(self, bus_id, devfun_id): + def get_nic_socket_freebsd(self, domain_id,bus_id, devfun_id): NotImplemented @nic_has_driver @@ -200,7 +200,7 @@ class NetDevice(object): domain_id, bus_id, devfun_id) return self.__send_expect(command, '# ') - def get_interface_name_freebsd(self, bus_id, devfun_id, driver): + def get_interface_name_freebsd(self, domain_id,bus_id, devfun_id, driver): """ Get interface name of specified pci device on Freebsd. """ @@ -212,9 +212,9 @@ class NetDevice(object): get_interface_name_freebsd = getattr(self, 'get_interface_name_freebsd_%s' % generic_driver) - return get_interface_name_freebsd(bus_id, devfun_id) + return get_interface_name_freebsd(domain_id,bus_id, devfun_id) - def get_interface_name_freebsd_generic(self, bus_id, devfun_id): + def get_interface_name_freebsd_generic(self,domain_id,bus_id, devfun_id): """ Get the interface name by the default way on freebsd. """ @@ -307,7 +307,7 @@ class NetDevice(object): (domain_id, bus_id, devfun_id, virtio, intf)) return self.__send_expect(command, '# ') - def get_mac_addr_freebsd(self, intf, bus_id, devfun_id, driver): + def get_mac_addr_freebsd(self, intf, domain_id,bus_id, devfun_id, driver): """ Get mac address of specified pci device on Freebsd. """ -- 1.9.3