bhnd_pci.c revision 296077
150476Speter/*- 227865Swosch * Copyright (c) 2015 Landon Fuller <landon@landonf.org> 327865Swosch * All rights reserved. 427865Swosch * 527865Swosch * Redistribution and use in source and binary forms, with or without 627865Swosch * modification, are permitted provided that the following conditions 727865Swosch * are met: 827865Swosch * 1. Redistributions of source code must retain the above copyright 927865Swosch * notice, this list of conditions and the following disclaimer, 1027865Swosch * without modification. 1127865Swosch * 2. Redistributions in binary form must reproduce at minimum a disclaimer 1227865Swosch * similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any 1327865Swosch * redistribution must be conditioned upon including a substantially 1427865Swosch * similar Disclaimer requirement for further binary redistribution. 1527865Swosch * 16100569Sjmallett * NO WARRANTY 17100569Sjmallett * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18100569Sjmallett * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1927865Swosch * LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY 20100569Sjmallett * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 21100569Sjmallett * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22100569Sjmallett * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2327865Swosch * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24100569Sjmallett * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 2527865Swosch * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2627865Swosch * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 2727865Swosch * THE POSSIBILITY OF SUCH DAMAGES. 2827865Swosch */ 2927865Swosch 3027865Swosch#include <sys/cdefs.h> 3127865Swosch__FBSDID("$FreeBSD: head/sys/dev/bhnd/cores/pci/bhnd_pci.c 296077 2016-02-26 03:34:08Z adrian $"); 3227865Swosch 3327865Swosch/* 3427865Swosch * Broadcom Common PCI Support. 3527865Swosch * 3627865Swosch * This module provides common implementation shared across the PCI/PCIe 3727865Swosch * endpoint and root complex drivers. 3827865Swosch */ 3927865Swosch 4027865Swosch#include <sys/param.h> 4127865Swosch#include <sys/kernel.h> 4227865Swosch#include <sys/module.h> 4327865Swosch 4427865Swosch#include "bhnd_pcivar.h" 4527865Swosch 4627865Swosch/** 47222932Sjilles * PCIe MDIO interface device class 48 */ 49devclass_t bhnd_mdio_pci_devclass; 50 51MODULE_VERSION(bhnd_pci, 1); 52MODULE_DEPEND(bhnd_pci, pci, 1, 1, 1); 53