puc_bfe.h (166901) | puc_bfe.h (223091) |
---|---|
1/*- 2 * Copyright (c) 2006 Marcel Moolenaar 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 * --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2006 Marcel Moolenaar 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 * --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/puc/puc_bfe.h 166901 2007-02-23 12:19:07Z piso $ | 26 * $FreeBSD: head/sys/dev/puc/puc_bfe.h 223091 2011-06-14 18:19:48Z jhb $ |
27 */ 28 29#ifndef _DEV_PUC_BFE_H_ 30#define _DEV_PUC_BFE_H 31 32#define PUC_PCI_BARS 6 33 34struct puc_cfg; --- 42 unchanged lines hidden (view full) --- 77}; 78 79struct puc_bar *puc_get_bar(struct puc_softc *sc, int rid); 80 81int puc_bfe_attach(device_t); 82int puc_bfe_detach(device_t); 83int puc_bfe_probe(device_t, const struct puc_cfg *); 84 | 27 */ 28 29#ifndef _DEV_PUC_BFE_H_ 30#define _DEV_PUC_BFE_H 31 32#define PUC_PCI_BARS 6 33 34struct puc_cfg; --- 42 unchanged lines hidden (view full) --- 77}; 78 79struct puc_bar *puc_get_bar(struct puc_softc *sc, int rid); 80 81int puc_bfe_attach(device_t); 82int puc_bfe_detach(device_t); 83int puc_bfe_probe(device_t, const struct puc_cfg *); 84 |
85int puc_bus_child_location_str(device_t, device_t, char *, size_t); 86int puc_bus_child_pnpinfo_str(device_t, device_t, char *, size_t); |
|
85struct resource *puc_bus_alloc_resource(device_t, device_t, int, int *, u_long, 86 u_long, u_long, u_int); 87int puc_bus_get_resource(device_t, device_t, int, int, u_long *, u_long *); | 87struct resource *puc_bus_alloc_resource(device_t, device_t, int, int *, u_long, 88 u_long, u_long, u_int); 89int puc_bus_get_resource(device_t, device_t, int, int, u_long *, u_long *); |
90int puc_bus_print_child(device_t, device_t); |
|
88int puc_bus_read_ivar(device_t, device_t, int, uintptr_t *); 89int puc_bus_release_resource(device_t, device_t, int, int, struct resource *); 90int puc_bus_setup_intr(device_t, device_t, struct resource *, int, 91 driver_filter_t *, driver_intr_t *, void *, void **); 92int puc_bus_teardown_intr(device_t, device_t, struct resource *, void *); 93 94#endif /* _DEV_PUC_BFE_H_ */ | 91int puc_bus_read_ivar(device_t, device_t, int, uintptr_t *); 92int puc_bus_release_resource(device_t, device_t, int, int, struct resource *); 93int puc_bus_setup_intr(device_t, device_t, struct resource *, int, 94 driver_filter_t *, driver_intr_t *, void *, void **); 95int puc_bus_teardown_intr(device_t, device_t, struct resource *, void *); 96 97#endif /* _DEV_PUC_BFE_H_ */ |