diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-03-09 20:33:35 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-03-09 20:33:35 +0000 |
commit | 116674acc97ba75a720329996877077d988443a2 (patch) | |
tree | 6a3f2ff0b612ae2ee8a3f3509370c9e6333a53b3 /drivers/char/agp/agp.h | |
parent | 71118c319fcae4a138f16e35b4f7e0a6d53ce2ca (diff) |
Merge with Linux 2.4.2.
Diffstat (limited to 'drivers/char/agp/agp.h')
-rw-r--r-- | drivers/char/agp/agp.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/char/agp/agp.h b/drivers/char/agp/agp.h index 33743376a..b48f53bc1 100644 --- a/drivers/char/agp/agp.h +++ b/drivers/char/agp/agp.h @@ -117,6 +117,8 @@ struct agp_bridge_data { int (*remove_memory) (agp_memory *, off_t, int); agp_memory *(*alloc_by_type) (size_t, int); void (*free_by_type) (agp_memory *); + unsigned long (*agp_alloc_page) (void); + void (*agp_destroy_page) (unsigned long); }; #define OUTREG32(mmap, addr, val) __raw_writel((val), (mmap)+(addr)) @@ -203,6 +205,24 @@ struct agp_bridge_data { #ifndef PCI_DEVICE_ID_AL_M1541_0 #define PCI_DEVICE_ID_AL_M1541_0 0x1541 #endif +#ifndef PCI_DEVICE_ID_AL_M1621_0 +#define PCI_DEVICE_ID_AL_M1621_0 0x1621 +#endif +#ifndef PCI_DEVICE_ID_AL_M1631_0 +#define PCI_DEVICE_ID_AL_M1631_0 0x1631 +#endif +#ifndef PCI_DEVICE_ID_AL_M1632_0 +#define PCI_DEVICE_ID_AL_M1632_0 0x1632 +#endif +#ifndef PCI_DEVICE_ID_AL_M1641_0 +#define PCI_DEVICE_ID_AL_M1641_0 0x1641 +#endif +#ifndef PCI_DEVICE_ID_AL_M1647_0 +#define PCI_DEVICE_ID_AL_M1647_0 0x1647 +#endif +#ifndef PCI_DEVICE_ID_AL_M1651_0 +#define PCI_DEVICE_ID_AL_M1651_0 0x1651 +#endif /* intel register */ #define INTEL_APBASE 0x10 @@ -267,5 +287,9 @@ struct agp_bridge_data { #define ALI_AGPCTRL 0xb8 #define ALI_ATTBASE 0xbc #define ALI_TLBCTRL 0xc0 +#define ALI_TAGCTRL 0xc4 +#define ALI_CACHE_FLUSH_CTRL 0xD0 +#define ALI_CACHE_FLUSH_ADDR_MASK 0xFFFFF000 +#define ALI_CACHE_FLUSH_EN 0x100 #endif /* _AGP_BACKEND_PRIV_H */ |