head 1.1; branch 1.1.1; access; symbols libdrm-1_0_4:1.1.1.1 AGPGART_2_0:1.1.1.1 TUNGSTEN:1.1.1; locks; strict; comment @ * @; 1.1 date 2003.01.11.02.19.38; author jhartmann; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.01.11.02.19.38; author jhartmann; state Exp; branches; next ; desc @@ 1.1 log @Initial revision @ text @/* * AGPGART module version 2.0 * Copyright (C) 2003 Tungsten Graphics * Copyright (C) 2003 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_GENERIC_PRIV_H #define _AGP_GENERIC_PRIV_H 1 unsigned long agp_generic_mask_memory(unsigned long addr, int type); int agp_dev_on_bus(struct pci_bus *bus, struct pci_dev *dev); int agp_count_version_3(struct pci_dev *bridge_dev); void agp_v2_parse_one(u32 *mode, u32 *command, u32 *scratch); void agp_v3_parse_one(u32 *mode, u32 *command, u32 *scratch); void agp_v2_finalize_command(u32 *command); void agp_v3_finalize_command(u32 *command); void agp_v2_configure_bridge(struct pci_dev *bridge, u32 command); void agp_v3_configure_bridge(struct pci_dev *bridge, u32 command); void __agp_generic_agp_enable(struct pci_dev *bridge_dev, u32 mode); void agp_generic_agp_enable(u32 mode); int agp_generic_suspend(void); void agp_generic_resume(void); void agp_enable(u32 mode); int agp_return_size(void); int agp_copy_info(agp_kern_info * info); int agp_get_map(int key, agp_memory **map); int agp_generic_get_reserved_map(agp_memory * map); #endif /* _AGP_GENERIC_PRIV_H */ @ 1.1.1.1 log @Import of Agpgart 2.0 module @ text @@