1 /* 1 2 * IBM PowerPC eBus Infrastructure Support. 3 * 4 * Copyright (c) 2005 IBM Corporation 5 * Joachim Fenkes <fenkes@de.ibm.com> 6 * Heiko J Schick <schickhj@de.ibm.com> 7 * 8 * All rights reserved. 9 * 10 * This source code is distributed under a dua 11 * BSD. 12 * 13 * OpenIB BSD License 14 * 15 * Redistribution and use in source and binary 16 * modification, are permitted provided that t 17 * 18 * Redistributions of source code must retain 19 * list of conditions and the following discla 20 * 21 * Redistributions in binary form must reprodu 22 * this list of conditions and the following d 23 * and/or other materials 24 * provided with the distribution. 25 * 26 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT 27 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCL 28 * IMPLIED WARRANTIES OF MERCHANTABILITY AND F 29 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYR 30 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL 31 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT L 32 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 33 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND O 34 * IN CONTRACT, STRICT LIABILITY, OR TORT (INC 35 * ARISING IN ANY WAY OUT OF THE USE OF THIS S 36 * POSSIBILITY OF SUCH DAMAGE. 37 */ 38 39 #ifndef _ASM_EBUS_H 40 #define _ASM_EBUS_H 41 #ifdef __KERNEL__ 42 43 #include <linux/device.h> 44 #include <linux/interrupt.h> 45 #include <linux/mod_devicetable.h> 46 #include <linux/of_device.h> 47 #include <linux/of_platform.h> 48 49 struct platform_driver; 50 51 extern const struct bus_type ibmebus_bus_type; 52 53 int ibmebus_register_driver(struct platform_dr 54 void ibmebus_unregister_driver(struct platform 55 56 int ibmebus_request_irq(u32 ist, irq_handler_t 57 unsigned long irq_flag 58 void *dev_id); 59 void ibmebus_free_irq(u32 ist, void *dev_id); 60 61 #endif /* __KERNEL__ */ 62 #endif /* _ASM_IBMEBUS_H */ 63
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.