1a85cb24fSFrançois Tigeot /* 2a85cb24fSFrançois Tigeot * Copyright (c) 2020 François Tigeot <ftigeot@wolfpond.org> 3a85cb24fSFrançois Tigeot * All rights reserved. 4a85cb24fSFrançois Tigeot * 5a85cb24fSFrançois Tigeot * Redistribution and use in source and binary forms, with or without 6a85cb24fSFrançois Tigeot * modification, are permitted provided that the following conditions 7a85cb24fSFrançois Tigeot * are met: 8a85cb24fSFrançois Tigeot * 1. Redistributions of source code must retain the above copyright 9a85cb24fSFrançois Tigeot * notice unmodified, this list of conditions, and the following 10a85cb24fSFrançois Tigeot * disclaimer. 11a85cb24fSFrançois Tigeot * 2. Redistributions in binary form must reproduce the above copyright 12a85cb24fSFrançois Tigeot * notice, this list of conditions and the following disclaimer in the 13a85cb24fSFrançois Tigeot * documentation and/or other materials provided with the distribution. 14a85cb24fSFrançois Tigeot * 15a85cb24fSFrançois Tigeot * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16a85cb24fSFrançois Tigeot * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17a85cb24fSFrançois Tigeot * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18a85cb24fSFrançois Tigeot * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19a85cb24fSFrançois Tigeot * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20a85cb24fSFrançois Tigeot * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21a85cb24fSFrançois Tigeot * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22a85cb24fSFrançois Tigeot * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23a85cb24fSFrançois Tigeot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24a85cb24fSFrançois Tigeot * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25a85cb24fSFrançois Tigeot */ 26a85cb24fSFrançois Tigeot 27a85cb24fSFrançois Tigeot #ifndef _LINUX_IOPORT_H 28a85cb24fSFrançois Tigeot #define _LINUX_IOPORT_H 29a85cb24fSFrançois Tigeot 30a85cb24fSFrançois Tigeot #include <linux/compiler.h> 31a85cb24fSFrançois Tigeot #include <linux/types.h> 32a85cb24fSFrançois Tigeot 33a85cb24fSFrançois Tigeot #define IORESOURCE_IO 0x00000100 34a85cb24fSFrançois Tigeot #define IORESOURCE_MEM 0x00000200 35*78973132SSergey Zigachev #define IORESOURCE_UNSET 0x20000000 /* No address assigned yet */ 36a85cb24fSFrançois Tigeot 37a85cb24fSFrançois Tigeot #endif /* _LINUX_IOPORT_H */ 38