14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync/*
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * (C) Copyright IBM Corporation 2007
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * All Rights Reserved.
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync *
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * Permission is hereby granted, free of charge, to any person obtaining a
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * copy of this software and associated documentation files (the "Software"),
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * to deal in the Software without restriction, including without limitation
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * on the rights to use, copy, modify, merge, publish, distribute, sub
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * license, and/or sell copies of the Software, and to permit persons to whom
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * the Software is furnished to do so, subject to the following conditions:
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync *
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * The above copyright notice and this permission notice (including the next
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * paragraph) shall be included in all copies or substantial portions of the
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * Software.
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync *
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * IBM AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * DEALINGS IN THE SOFTWARE.
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync */
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync/**
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * \file linux_devmem.h
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * Functions and datastructures that are private to the /dev/mem based
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * back-end for pciaccess.
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync *
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync * \author Ian Romanick <idr@us.ibm.com>
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync */
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsyncextern int pci_device_linux_devmem_read_rom(struct pci_device *dev,
14c1403e5e1831e32015aadede55ec5d2febbbcbvboxsync void *buffer);