Kemari: XenbusStateAttached handler for netback
RFC PATCH 11/13 Kemari: XenbusStateAttached handler for netback
References: <[email protected]>
In-Reply-To: <[email protected]>
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
This is an updated version of the following patch. No major changes.
http://lists.xensource.com/archives/html/xen-devel/2009-03/msg00380.html
Signed-off-by Yoshi Tamura <[email protected]>
Signed-off-by Yoshisato Yanagisawa <[email protected]>
--- drivers/xen/netback/common.h | 2 drivers/xen/netback/interface.c | 58 +++++++++++++++++++++ drivers/xen/netback/xenbus.c | 109 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 169 insertions(+)
drivers/xen/netback/common.h +2 -0
@@ -185,6 +185,8 @@ netif_t *netif_alloc(domid_t domid, unsinetif_t *netif_alloc (domid_t domid,unsigned int handle);int netif_map (netif_t *netif,unsigned long tx_ring_ref,unsigned long rx_ring_ref,unsigned int evtchn); +int netif_attach (netif_t *netif,unsigned long tx_ring_ref, +unsigned long rx_ring_ref,unsigned int evtchn);#define netif_get (_b) (atomic_inc(&(_b)->refcnt))#define netif_put (_b) \
drivers/xen/netback/interface.c +58 -0
64 lines not on this page · raw message
drivers/xen/netback/xenbus.c +109 -0
133 lines not on this page · raw message