From: "xu,gang" <gangx.xu@intel.com>
To: dts@dpdk.org
Cc: "xu,gang" <gangx.xu@intel.com>
Subject: [dts] [PATCH V1 3/3] solve dts compile error on freesbd
Date: Tue, 30 Aug 2016 17:51:57 +0800 [thread overview]
Message-ID: <1472550717-9922-3-git-send-email-gangx.xu@intel.com> (raw)
In-Reply-To: <1472550717-9922-1-git-send-email-gangx.xu@intel.com>
Signed-off-by: xu,gang <gangx.xu@intel.com>
---
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
next prev parent reply other threads:[~2016-08-30 9:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-30 9:51 [dts] [PATCH V1 1/3] " xu,gang
2016-08-30 9:51 ` [dts] [PATCH V1 2/3] " xu,gang
2016-08-30 9:51 ` xu,gang [this message]
2016-08-31 0:16 ` [dts] [PATCH V1 1/3] solve dts compile error on FreeBSD Xu, HuilongX
2016-09-06 6:13 ` [dts] [PATCH V1 1/3] solve dts compile error on freesbd Liu, Yong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1472550717-9922-3-git-send-email-gangx.xu@intel.com \
--to=gangx.xu@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).