xenbusb_back.c (222975) | xenbusb_back.c (225704) |
---|---|
1/****************************************************************************** 2 * Talks to Xen Store to figure out what devices we have. 3 * 4 * Copyright (C) 2009, 2010 Spectra Logic Corporation 5 * Copyright (C) 2008 Doug Rabson 6 * Copyright (C) 2005 Rusty Russell, IBM Corporation 7 * Copyright (C) 2005 Mike Wray, Hewlett-Packard 8 * Copyright (C) 2005 XenSource Ltd --- 22 unchanged lines hidden (view full) --- 31 32/** 33 * \file xenbusb_back.c 34 * 35 * XenBus management of the NewBus bus containing the backend instances of 36 * Xen split devices. 37 */ 38#include <sys/cdefs.h> | 1/****************************************************************************** 2 * Talks to Xen Store to figure out what devices we have. 3 * 4 * Copyright (C) 2009, 2010 Spectra Logic Corporation 5 * Copyright (C) 2008 Doug Rabson 6 * Copyright (C) 2005 Rusty Russell, IBM Corporation 7 * Copyright (C) 2005 Mike Wray, Hewlett-Packard 8 * Copyright (C) 2005 XenSource Ltd --- 22 unchanged lines hidden (view full) --- 31 32/** 33 * \file xenbusb_back.c 34 * 35 * XenBus management of the NewBus bus containing the backend instances of 36 * Xen split devices. 37 */ 38#include <sys/cdefs.h> |
39__FBSDID("$FreeBSD: head/sys/xen/xenbus/xenbusb_back.c 222975 2011-06-11 04:59:01Z gibbs $"); | 39__FBSDID("$FreeBSD: head/sys/xen/xenbus/xenbusb_back.c 225704 2011-09-20 23:44:34Z gibbs $"); |
40 41#include <sys/param.h> 42#include <sys/bus.h> 43#include <sys/kernel.h> 44#include <sys/lock.h> 45#include <sys/malloc.h> 46#include <sys/module.h> 47#include <sys/sbuf.h> --- 239 unchanged lines hidden (view full) --- 287static device_method_t xenbusb_back_methods[] = { 288 /* Device interface */ 289 DEVMETHOD(device_identify, xenbusb_identify), 290 DEVMETHOD(device_probe, xenbusb_back_probe), 291 DEVMETHOD(device_attach, xenbusb_back_attach), 292 DEVMETHOD(device_detach, bus_generic_detach), 293 DEVMETHOD(device_shutdown, bus_generic_shutdown), 294 DEVMETHOD(device_suspend, bus_generic_suspend), | 40 41#include <sys/param.h> 42#include <sys/bus.h> 43#include <sys/kernel.h> 44#include <sys/lock.h> 45#include <sys/malloc.h> 46#include <sys/module.h> 47#include <sys/sbuf.h> --- 239 unchanged lines hidden (view full) --- 287static device_method_t xenbusb_back_methods[] = { 288 /* Device interface */ 289 DEVMETHOD(device_identify, xenbusb_identify), 290 DEVMETHOD(device_probe, xenbusb_back_probe), 291 DEVMETHOD(device_attach, xenbusb_back_attach), 292 DEVMETHOD(device_detach, bus_generic_detach), 293 DEVMETHOD(device_shutdown, bus_generic_shutdown), 294 DEVMETHOD(device_suspend, bus_generic_suspend), |
295 DEVMETHOD(device_resume, bus_generic_resume), | 295 DEVMETHOD(device_resume, xenbusb_resume), |
296 297 /* Bus Interface */ 298 DEVMETHOD(bus_print_child, xenbusb_print_child), 299 DEVMETHOD(bus_read_ivar, xenbusb_read_ivar), 300 DEVMETHOD(bus_write_ivar, xenbusb_write_ivar), 301 DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource), 302 DEVMETHOD(bus_release_resource, bus_generic_release_resource), 303 DEVMETHOD(bus_activate_resource, bus_generic_activate_resource), --- 16 unchanged lines hidden --- | 296 297 /* Bus Interface */ 298 DEVMETHOD(bus_print_child, xenbusb_print_child), 299 DEVMETHOD(bus_read_ivar, xenbusb_read_ivar), 300 DEVMETHOD(bus_write_ivar, xenbusb_write_ivar), 301 DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource), 302 DEVMETHOD(bus_release_resource, bus_generic_release_resource), 303 DEVMETHOD(bus_activate_resource, bus_generic_activate_resource), --- 16 unchanged lines hidden --- |