diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-11-22 21:26:49 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-11-22 21:26:49 +0000 |
commit | efaaf8fdb0ae277917aee89ce3717ef1fa793fa0 (patch) | |
tree | 1b5628ae32f72b00560a9f3eb1394e984b21d2e0 /sys/dev/pci/drm/mga_drv.h | |
parent | e352ee055ffd21c59021f5da76de929ac5cd366e (diff) |
Move the drm drivers over from:
vga1 at pci0
inteldrm0 at vga1
to
vga1 at pci0
inteldrm0 at vga1
drm0 at inteldrm0
i.e. a similar scheme to audio(4) where the interface attaches on top of
the wildly different drivers. This helps to clean up the code a lot
(more is coming) and help me start to move drm to being essentially bus
independent, which will help in the future.
Diffstat (limited to 'sys/dev/pci/drm/mga_drv.h')
-rw-r--r-- | sys/dev/pci/drm/mga_drv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/mga_drv.h b/sys/dev/pci/drm/mga_drv.h index 59f770c28e8..e2cb57e92fe 100644 --- a/sys/dev/pci/drm/mga_drv.h +++ b/sys/dev/pci/drm/mga_drv.h @@ -75,6 +75,9 @@ typedef struct { } drm_mga_buf_priv_t; typedef struct drm_mga_private { + struct device dev; + struct device *drmdev; + drm_mga_primary_buffer_t prim; drm_mga_sarea_t *sarea_priv; |