linux_devmem.h revision 4f5e7dd7
11.92Schristos/* 21.1Ssimonb * (C) Copyright IBM Corporation 2007 31.18Ssimonb * All Rights Reserved. 41.1Ssimonb * 51.5Satatat * Permission is hereby granted, free of charge, to any person obtaining a 61.5Satatat * copy of this software and associated documentation files (the "Software"), 71.92Schristos * to deal in the Software without restriction, including without limitation 81.16Ssimonb * on the rights to use, copy, modify, merge, publish, distribute, sub 91.16Ssimonb * license, and/or sell copies of the Software, and to permit persons to whom 101.46Schs * the Software is furnished to do so, subject to the following conditions: 111.1Ssimonb * 121.1Ssimonb * The above copyright notice and this permission notice (including the next 131.16Ssimonb * paragraph) shall be included in all copies or substantial portions of the 141.16Ssimonb * Software. 151.81Smatt * 161.1Ssimonb * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 171.1Ssimonb * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 181.1Ssimonb * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 191.1Ssimonb * IBM AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 201.1Ssimonb * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 211.1Ssimonb * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 221.1Ssimonb * DEALINGS IN THE SOFTWARE. 231.1Ssimonb */ 241.1Ssimonb 251.1Ssimonb/** 261.1Ssimonb * \file linux_devmem.h 271.46Schs * Functions and datastructures that are private to the /dev/mem based 281.1Ssimonb * back-end for pciaccess. 291.1Ssimonb * 301.10Slukem * \author Ian Romanick <idr@us.ibm.com> 311.29Satatat */ 321.1Ssimonb 331.1Ssimonbextern int pci_device_linux_devmem_read_rom(struct pci_device *dev, 341.1Ssimonb void *buffer); 351.84She