ofw_pcib.c (170929) | ofw_pcib.c (178279) |
---|---|
1/*- 2 * Copyright (c) 1994,1995 Stefan Esser, Wolfgang StanglMeier 3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org> 4 * Copyright (c) 2000 BSDi 5 * Copyright (c) 2001 - 2003 Thomas Moestl <tmm@FreeBSD.org> 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 18 unchanged lines hidden (view full) --- 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * 31 * from: FreeBSD: src/sys/dev/pci/pci_pci.c,v 1.3 2000/12/13 32 */ 33 34#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1994,1995 Stefan Esser, Wolfgang StanglMeier 3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org> 4 * Copyright (c) 2000 BSDi 5 * Copyright (c) 2001 - 2003 Thomas Moestl <tmm@FreeBSD.org> 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 18 unchanged lines hidden (view full) --- 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * 31 * from: FreeBSD: src/sys/dev/pci/pci_pci.c,v 1.3 2000/12/13 32 */ 33 34#include <sys/cdefs.h> |
35__FBSDID("$FreeBSD: head/sys/sparc64/pci/ofw_pcib.c 170929 2007-06-18 21:46:07Z marius $"); | 35__FBSDID("$FreeBSD: head/sys/sparc64/pci/ofw_pcib.c 178279 2008-04-17 12:38:00Z marius $"); |
36 37#include "opt_ofw_pci.h" 38 39#include <sys/param.h> 40#include <sys/kernel.h> 41#include <sys/bus.h> 42#include <sys/module.h> 43 --- 38 unchanged lines hidden (view full) --- 82 DEVMETHOD(pcib_maxslots, pcib_maxslots), 83 DEVMETHOD(pcib_read_config, pcib_read_config), 84 DEVMETHOD(pcib_write_config, pcib_write_config), 85 DEVMETHOD(pcib_route_interrupt, ofw_pcib_gen_route_interrupt), 86 87 /* ofw_bus interface */ 88 DEVMETHOD(ofw_bus_get_node, ofw_pcib_gen_get_node), 89 | 36 37#include "opt_ofw_pci.h" 38 39#include <sys/param.h> 40#include <sys/kernel.h> 41#include <sys/bus.h> 42#include <sys/module.h> 43 --- 38 unchanged lines hidden (view full) --- 82 DEVMETHOD(pcib_maxslots, pcib_maxslots), 83 DEVMETHOD(pcib_read_config, pcib_read_config), 84 DEVMETHOD(pcib_write_config, pcib_write_config), 85 DEVMETHOD(pcib_route_interrupt, ofw_pcib_gen_route_interrupt), 86 87 /* ofw_bus interface */ 88 DEVMETHOD(ofw_bus_get_node, ofw_pcib_gen_get_node), 89 |
90 /* ofw_pci interface */ 91 DEVMETHOD(ofw_pci_adjust_busrange, ofw_pcib_gen_adjust_busrange), 92 | |
93 { 0, 0 } 94}; 95 96static devclass_t pcib_devclass; 97 98DEFINE_CLASS_0(pcib, ofw_pcib_driver, ofw_pcib_methods, 99 sizeof(struct ofw_pcib_gen_softc)); 100DRIVER_MODULE(ofw_pcib, pci, ofw_pcib_driver, pcib_devclass, 0, 0); --- 23 unchanged lines hidden --- | 90 { 0, 0 } 91}; 92 93static devclass_t pcib_devclass; 94 95DEFINE_CLASS_0(pcib, ofw_pcib_driver, ofw_pcib_methods, 96 sizeof(struct ofw_pcib_gen_softc)); 97DRIVER_MODULE(ofw_pcib, pci, ofw_pcib_driver, pcib_devclass, 0, 0); --- 23 unchanged lines hidden --- |