summaryrefslogtreecommitdiff
path: root/linux-core/savage_drv.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2005-08-04 13:15:27 +0000
committerJon Smirl <jonsmirl@yahoo.com>2005-08-04 13:15:27 +0000
commitea2c7a895d6456c83ee8489e1db7ae5a800f0abf (patch)
treeeec12bb1d1eae45a612ac82ae2bd0e7454ecfd65 /linux-core/savage_drv.c
parent3ffd0c188bc35263f0b53345a0a4a261f4ae1b71 (diff)
Split the control of master vs root priv. Everything is still marked as
needing root.
Diffstat (limited to 'linux-core/savage_drv.c')
-rw-r--r--linux-core/savage_drv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux-core/savage_drv.c b/linux-core/savage_drv.c
index ff15fb13..5006e6ca 100644
--- a/linux-core/savage_drv.c
+++ b/linux-core/savage_drv.c
@@ -62,10 +62,10 @@ static struct pci_device_id pciidlist[] = {
};
static drm_ioctl_desc_t ioctls[] = {
- [DRM_IOCTL_NR(DRM_SAVAGE_BCI_INIT)] = {savage_bci_init, 1, 1},
- [DRM_IOCTL_NR(DRM_SAVAGE_BCI_CMDBUF)] = {savage_bci_cmdbuf, 1, 0},
- [DRM_IOCTL_NR(DRM_SAVAGE_BCI_EVENT_EMIT)] = {savage_bci_event_emit, 1, 0},
- [DRM_IOCTL_NR(DRM_SAVAGE_BCI_EVENT_WAIT)] = {savage_bci_event_wait, 1, 0},
+ [DRM_IOCTL_NR(DRM_SAVAGE_BCI_INIT)] = {savage_bci_init, 1, 1, 1},
+ [DRM_IOCTL_NR(DRM_SAVAGE_BCI_CMDBUF)] = {savage_bci_cmdbuf, 1, 0, 0},
+ [DRM_IOCTL_NR(DRM_SAVAGE_BCI_EVENT_EMIT)] = {savage_bci_event_emit, 1, 0, 0},
+ [DRM_IOCTL_NR(DRM_SAVAGE_BCI_EVENT_WAIT)] = {savage_bci_event_wait, 1, 0, 0},
};
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);