/* * AGPGART module version 0.99 * Copyright (C) 1999 Jeff Hartmann * Copyright (C) 1999 Precision Insight, Inc. * Copyright (C) 1999 Xi Graphics, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * JEFF HARTMANN, OR ANY OTHER CONTRIBUTORS BE LIABLE FOR ANY CLAIM, * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ #ifndef _AGP_H #define _AGP_H … #include <linux/mutex.h> #include <linux/agp_backend.h> #include <uapi/linux/agpgart.h> struct agp_info { … }; struct agp_setup { … }; /* * The "prot" down below needs still a "sleep" flag somehow ... */ struct agp_segment { … }; struct agp_segment_priv { … }; struct agp_region { … }; struct agp_allocate { … }; struct agp_bind { … }; struct agp_unbind { … }; struct agp_client { … }; struct agp_controller { … }; #define AGP_FF_ALLOW_CLIENT … #define AGP_FF_ALLOW_CONTROLLER … #define AGP_FF_IS_CLIENT … #define AGP_FF_IS_CONTROLLER … #define AGP_FF_IS_VALID … struct agp_file_private { … }; struct agp_front_data { … }; #endif /* _AGP_H */