puc_pccard.c (160030) | puc_pccard.c (223091) |
---|---|
1/*- 2 * Copyright (c) 2002 Poul-Henning Kamp. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice unmodified, this list of conditions, and the following --- 11 unchanged lines hidden (view full) --- 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2002 Poul-Henning Kamp. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice unmodified, this list of conditions, and the following --- 11 unchanged lines hidden (view full) --- 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/dev/puc/puc_pccard.c 160030 2006-06-29 16:27:19Z obrien $"); | 28__FBSDID("$FreeBSD: head/sys/dev/puc/puc_pccard.c 223091 2011-06-14 18:19:48Z jhb $"); |
29 30#include <sys/param.h> 31#include <sys/systm.h> 32#include <sys/kernel.h> 33#include <sys/module.h> 34#include <sys/bus.h> 35#include <sys/conf.h> 36#include <sys/malloc.h> --- 40 unchanged lines hidden (view full) --- 77 DEVMETHOD(device_detach, puc_bfe_detach), 78 79 DEVMETHOD(bus_alloc_resource, puc_bus_alloc_resource), 80 DEVMETHOD(bus_release_resource, puc_bus_release_resource), 81 DEVMETHOD(bus_get_resource, puc_bus_get_resource), 82 DEVMETHOD(bus_read_ivar, puc_bus_read_ivar), 83 DEVMETHOD(bus_setup_intr, puc_bus_setup_intr), 84 DEVMETHOD(bus_teardown_intr, puc_bus_teardown_intr), | 29 30#include <sys/param.h> 31#include <sys/systm.h> 32#include <sys/kernel.h> 33#include <sys/module.h> 34#include <sys/bus.h> 35#include <sys/conf.h> 36#include <sys/malloc.h> --- 40 unchanged lines hidden (view full) --- 77 DEVMETHOD(device_detach, puc_bfe_detach), 78 79 DEVMETHOD(bus_alloc_resource, puc_bus_alloc_resource), 80 DEVMETHOD(bus_release_resource, puc_bus_release_resource), 81 DEVMETHOD(bus_get_resource, puc_bus_get_resource), 82 DEVMETHOD(bus_read_ivar, puc_bus_read_ivar), 83 DEVMETHOD(bus_setup_intr, puc_bus_setup_intr), 84 DEVMETHOD(bus_teardown_intr, puc_bus_teardown_intr), |
85 DEVMETHOD(bus_print_child, bus_generic_print_child), | 85 DEVMETHOD(bus_print_child, puc_bus_print_child), 86 DEVMETHOD(bus_child_pnpinfo_str, puc_bus_child_pnpinfo_str), 87 DEVMETHOD(bus_child_location_str, puc_bus_child_location_str), |
86 DEVMETHOD(bus_driver_added, bus_generic_driver_added), 87 { 0, 0 } 88}; 89 90static driver_t puc_pccard_driver = { 91 puc_driver_name, 92 puc_pccard_methods, 93 sizeof(struct puc_softc), 94}; 95 96DRIVER_MODULE(puc, pccard, puc_pccard_driver, puc_devclass, 0, 0); | 88 DEVMETHOD(bus_driver_added, bus_generic_driver_added), 89 { 0, 0 } 90}; 91 92static driver_t puc_pccard_driver = { 93 puc_driver_name, 94 puc_pccard_methods, 95 sizeof(struct puc_softc), 96}; 97 98DRIVER_MODULE(puc, pccard, puc_pccard_driver, puc_devclass, 0, 0); |