xenbusb_front.c (222975) | xenbusb_front.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_front.c 34 * 35 * XenBus management of the NewBus bus containing the frontend 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_front.c 34 * 35 * XenBus management of the NewBus bus containing the frontend instances of 36 * Xen split devices. 37 */ 38#include <sys/cdefs.h> |
39__FBSDID("$FreeBSD: head/sys/xen/xenbus/xenbusb_front.c 222975 2011-06-11 04:59:01Z gibbs $"); | 39__FBSDID("$FreeBSD: head/sys/xen/xenbus/xenbusb_front.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> --- 118 unchanged lines hidden (view full) --- 166static device_method_t xenbusb_front_methods[] = { 167 /* Device interface */ 168 DEVMETHOD(device_identify, xenbusb_identify), 169 DEVMETHOD(device_probe, xenbusb_front_probe), 170 DEVMETHOD(device_attach, xenbusb_front_attach), 171 DEVMETHOD(device_detach, bus_generic_detach), 172 DEVMETHOD(device_shutdown, bus_generic_shutdown), 173 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> --- 118 unchanged lines hidden (view full) --- 166static device_method_t xenbusb_front_methods[] = { 167 /* Device interface */ 168 DEVMETHOD(device_identify, xenbusb_identify), 169 DEVMETHOD(device_probe, xenbusb_front_probe), 170 DEVMETHOD(device_attach, xenbusb_front_attach), 171 DEVMETHOD(device_detach, bus_generic_detach), 172 DEVMETHOD(device_shutdown, bus_generic_shutdown), 173 DEVMETHOD(device_suspend, bus_generic_suspend), |
174 DEVMETHOD(device_resume, bus_generic_resume), | 174 DEVMETHOD(device_resume, xenbusb_resume), |
175 176 /* Bus Interface */ 177 DEVMETHOD(bus_print_child, xenbusb_print_child), 178 DEVMETHOD(bus_read_ivar, xenbusb_read_ivar), 179 DEVMETHOD(bus_write_ivar, xenbusb_write_ivar), 180 DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource), 181 DEVMETHOD(bus_release_resource, bus_generic_release_resource), 182 DEVMETHOD(bus_activate_resource, bus_generic_activate_resource), --- 14 unchanged lines hidden --- | 175 176 /* Bus Interface */ 177 DEVMETHOD(bus_print_child, xenbusb_print_child), 178 DEVMETHOD(bus_read_ivar, xenbusb_read_ivar), 179 DEVMETHOD(bus_write_ivar, xenbusb_write_ivar), 180 DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource), 181 DEVMETHOD(bus_release_resource, bus_generic_release_resource), 182 DEVMETHOD(bus_activate_resource, bus_generic_activate_resource), --- 14 unchanged lines hidden --- |