bhnd_pci.c (298943) | bhnd_pci.c (298947) |
---|---|
1/*- 2 * Copyright (c) 2015 Landon Fuller <landon@landonf.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27 * THE POSSIBILITY OF SUCH DAMAGES. 28 */ 29 30#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2015 Landon Fuller <landon@landonf.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27 * THE POSSIBILITY OF SUCH DAMAGES. 28 */ 29 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: head/sys/dev/bhnd/cores/pci/bhnd_pci.c 298943 2016-05-02 21:01:08Z adrian $"); | 31__FBSDID("$FreeBSD: head/sys/dev/bhnd/cores/pci/bhnd_pci.c 298947 2016-05-02 22:30:46Z adrian $"); |
32 33/* 34 * Broadcom Common PCI/PCIe Support. 35 * 36 * This base driver implementation is shared by the bhnd_pcib (root complex) 37 * and bhnd_pci_hostb (host bridge) drivers. 38 */ 39 --- 498 unchanged lines hidden (view full) --- 538 DEVMETHOD(bus_deactivate_resource, bus_generic_deactivate_resource), 539 DEVMETHOD(bus_adjust_resource, bus_generic_adjust_resource), 540 DEVMETHOD(bus_release_resource, bus_generic_rl_release_resource), 541 542 DEVMETHOD_END 543}; 544 545DEFINE_CLASS_0(bhnd_pci, bhnd_pci_driver, bhnd_pci_methods, sizeof(struct bhnd_pci_softc)); | 32 33/* 34 * Broadcom Common PCI/PCIe Support. 35 * 36 * This base driver implementation is shared by the bhnd_pcib (root complex) 37 * and bhnd_pci_hostb (host bridge) drivers. 38 */ 39 --- 498 unchanged lines hidden (view full) --- 538 DEVMETHOD(bus_deactivate_resource, bus_generic_deactivate_resource), 539 DEVMETHOD(bus_adjust_resource, bus_generic_adjust_resource), 540 DEVMETHOD(bus_release_resource, bus_generic_rl_release_resource), 541 542 DEVMETHOD_END 543}; 544 545DEFINE_CLASS_0(bhnd_pci, bhnd_pci_driver, bhnd_pci_methods, sizeof(struct bhnd_pci_softc)); |
546 547MODULE_VERSION(bhnd_pci, 1); 548MODULE_DEPEND(bhnd_pci, pci, 1, 1, 1); | |
549MODULE_DEPEND(bhnd_pci, bhnd, 1, 1, 1); | 546MODULE_DEPEND(bhnd_pci, bhnd, 1, 1, 1); |
547MODULE_DEPEND(bhnd_pci, pci, 1, 1, 1); 548MODULE_VERSION(bhnd_pci, 1); |
|