![]() |
|
|||
0001 /* 0002 * IBM PowerPC eBus Infrastructure Support. 0003 * 0004 * Copyright (c) 2005 IBM Corporation 0005 * Joachim Fenkes <fenkes@de.ibm.com> 0006 * Heiko J Schick <schickhj@de.ibm.com> 0007 * 0008 * All rights reserved. 0009 * 0010 * This source code is distributed under a dual license of GPL v2.0 and OpenIB 0011 * BSD. 0012 * 0013 * OpenIB BSD License 0014 * 0015 * Redistribution and use in source and binary forms, with or without 0016 * modification, are permitted provided that the following conditions are met: 0017 * 0018 * Redistributions of source code must retain the above copyright notice, this 0019 * list of conditions and the following disclaimer. 0020 * 0021 * Redistributions in binary form must reproduce the above copyright notice, 0022 * this list of conditions and the following disclaimer in the documentation 0023 * and/or other materials 0024 * provided with the distribution. 0025 * 0026 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 0027 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 0028 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 0029 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 0030 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 0031 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 0032 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 0033 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 0034 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 0035 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 0036 * POSSIBILITY OF SUCH DAMAGE. 0037 */ 0038 0039 #ifndef _ASM_EBUS_H 0040 #define _ASM_EBUS_H 0041 #ifdef __KERNEL__ 0042 0043 #include <linux/device.h> 0044 #include <linux/interrupt.h> 0045 #include <linux/mod_devicetable.h> 0046 #include <linux/of_device.h> 0047 #include <linux/of_platform.h> 0048 0049 extern struct bus_type ibmebus_bus_type; 0050 0051 int ibmebus_register_driver(struct platform_driver *drv); 0052 void ibmebus_unregister_driver(struct platform_driver *drv); 0053 0054 int ibmebus_request_irq(u32 ist, irq_handler_t handler, 0055 unsigned long irq_flags, const char *devname, 0056 void *dev_id); 0057 void ibmebus_free_irq(u32 ist, void *dev_id); 0058 0059 #endif /* __KERNEL__ */ 0060 #endif /* _ASM_IBMEBUS_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |