summaryrefslogtreecommitdiff
path: root/bsd-core/tdfx_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-core/tdfx_drv.c')
-rw-r--r--bsd-core/tdfx_drv.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/bsd-core/tdfx_drv.c b/bsd-core/tdfx_drv.c
index 775efcc1..f293f4b3 100644
--- a/bsd-core/tdfx_drv.c
+++ b/bsd-core/tdfx_drv.c
@@ -59,31 +59,31 @@ static void tdfx_configure(struct drm_device *dev)
}
static int
-tdfx_probe(device_t dev)
+tdfx_probe(device_t kdev)
{
- return drm_probe(dev, tdfx_pciidlist);
+ return drm_probe(kdev, tdfx_pciidlist);
}
static int
-tdfx_attach(device_t nbdev)
+tdfx_attach(device_t kdev)
{
- struct drm_device *dev = device_get_softc(nbdev);
+ struct drm_device *dev = device_get_softc(kdev);
dev->driver = malloc(sizeof(struct drm_driver_info), DRM_MEM_DRIVER,
M_WAITOK | M_ZERO);
tdfx_configure(dev);
- return drm_attach(nbdev, tdfx_pciidlist);
+ return drm_attach(kdev, tdfx_pciidlist);
}
static int
-tdfx_detach(device_t nbdev)
+tdfx_detach(device_t kdev)
{
- struct drm_device *dev = device_get_softc(nbdev);
+ struct drm_device *dev = device_get_softc(kdev);
int ret;
- ret = drm_detach(nbdev);
+ ret = drm_detach(kdev);
free(dev->driver, DRM_MEM_DRIVER);