61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * Copyright © 2012 Red Hat.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * Permission is hereby granted, free of charge, to any person obtaining a
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * copy of this software and associated documentation files (the "Software"),
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * to deal in the Software without restriction, including without limitation
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * and/or sell copies of the Software, and to permit persons to whom the
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * Software is furnished to do so, subject to the following conditions:
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * The above copyright notice and this permission notice shall be included in
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * all copies or substantial portions of the Software.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * DEALINGS IN THE SOFTWARE.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * Author: Dave Airlie <airlied@redhat.com>
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync /* for PCI devices */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync/* xf86_platform_device flags */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsyncextern struct xf86_platform_device *xf86_platform_devices;
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsyncextern char *
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsyncxf86_get_platform_int_attrib(int index, int attrib_id, int def);
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsyncxf86_add_platform_device(struct OdevAttributes *attribs, Bool unowned);
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync/* Note starting with xserver 1.16 these 2 functions never fail */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsyncxf86_add_platform_device_attrib(int index, int attrib_id, char *attrib_str);
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsyncxf86_add_platform_device_int_attrib(int index, int attrib_id, int attrib_value);
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsyncxf86_get_platform_device_attrib(struct xf86_platform_device *device, int attrib_id);
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsyncxf86_get_platform_device_int_attrib(struct xf86_platform_device *device, int attrib_id, int def);
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsyncxf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *busid);
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsyncxf86PlatformMatchDriver(char *matches[], int nmatches);
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsyncextern void xf86platformVTProbe(void);