summaryrefslogtreecommitdiff
path: root/bsd-core/drmP.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-08-04 07:42:01 +0000
committerEric Anholt <anholt@freebsd.org>2005-08-04 07:42:01 +0000
commitb0da5df90a76e4e79c356fdbc90211a8e21f095c (patch)
tree8653e6b94291441a6b101a705fad88e4d11ec0ca /bsd-core/drmP.h
parent49bbb6d86178890a03040d618a8c9c76c96d3d3f (diff)
Fix the MGA driver on BSD by passing in the proper chipset flags to the
driver's preinit routine, and by using DRM_COPY_TO_USER_IOCTL when copying out to an ioctl's data pointer. Pulled from the latest version of my drm-hook-rename.diff and only compile-tested after that.
Diffstat (limited to 'bsd-core/drmP.h')
-rw-r--r--bsd-core/drmP.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsd-core/drmP.h b/bsd-core/drmP.h
index ab6cc534..596e25f4 100644
--- a/bsd-core/drmP.h
+++ b/bsd-core/drmP.h
@@ -653,6 +653,8 @@ struct drm_device {
void (*irq_handler)(DRM_IRQ_ARGS);
int (*vblank_wait)(drm_device_t *dev, unsigned int *sequence);
+ drm_pci_id_list_t *id_entry; /* PCI ID, name, and chipset private */
+
/**
* Called by \c drm_device_is_agp. Typically used to determine if a
* card is really attached to AGP or not.