diff options
Diffstat (limited to 'bsd-core/tdfx_drv.c')
-rw-r--r-- | bsd-core/tdfx_drv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bsd-core/tdfx_drv.c b/bsd-core/tdfx_drv.c index e5559999..eb263fcb 100644 --- a/bsd-core/tdfx_drv.c +++ b/bsd-core/tdfx_drv.c @@ -43,6 +43,9 @@ static drm_pci_id_list_t tdfx_pciidlist[] = { static void tdfx_configure(struct drm_device *dev) { + dev->driver->driver_features = + DRIVER_USE_MTRR; + dev->driver->buf_priv_size = 1; /* No dev_priv */ dev->driver->max_ioctl = 0; @@ -53,8 +56,6 @@ static void tdfx_configure(struct drm_device *dev) dev->driver->major = DRIVER_MAJOR; dev->driver->minor = DRIVER_MINOR; dev->driver->patchlevel = DRIVER_PATCHLEVEL; - - dev->driver->use_mtrr = 1; } #ifdef __FreeBSD__ |