diff options
author | Ian Romanick <idr@us.ibm.com> | 2007-08-14 13:44:51 -0700 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2007-08-14 13:44:51 -0700 |
commit | f563a50d145848ed296b63c63422caff80232ddf (patch) | |
tree | 06314f86f54633a3e4f343800f43a997442e8bc5 /linux-core/xgi_misc.c | |
parent | 7b12174aacd09a991be3e74a3db47534961a6887 (diff) |
Eliminate unused / useless ioctls.
Diffstat (limited to 'linux-core/xgi_misc.c')
-rw-r--r-- | linux-core/xgi_misc.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/linux-core/xgi_misc.c b/linux-core/xgi_misc.c index 8232de9a..50a721c0 100644 --- a/linux-core/xgi_misc.c +++ b/linux-core/xgi_misc.c @@ -29,18 +29,6 @@ #include <linux/delay.h> -int xgi_ge_reset_ioctl(struct drm_device * dev, void * data, - struct drm_file * filp) -{ - struct xgi_info *info = dev->dev_private; - - xgi_disable_ge(info); - xgi_enable_ge(info); - - return 0; -} - - /* * irq functions */ @@ -324,27 +312,6 @@ void xgi_dump_register(struct xgi_info * info) } -int xgi_dump_register_ioctl(struct drm_device * dev, void * data, - struct drm_file * filp) -{ - struct xgi_info *info = dev->dev_private; - - xgi_dump_register(info); - return 0; -} - - -int xgi_restore_registers_ioctl(struct drm_device * dev, void * data, - struct drm_file * filp) -{ - struct xgi_info *info = dev->dev_private; - - OUT3X5B(info->mmio_map, 0x13, 0); - OUT3X5B(info->mmio_map, 0x8b, 2); - return 0; -} - - #define WHOLD_GE_STATUS 0x2800 /* Test everything except the "whole GE busy" bit, the "master engine busy" |