aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/i810_drv.c3
-rw-r--r--linux-core/i810_drv.h3
-rw-r--r--linux-core/i830_drv.c3
-rw-r--r--linux-core/i830_drv.h3
-rw-r--r--linux-core/i915_drv.c3
-rw-r--r--linux-core/mach64_drv.c3
-rw-r--r--linux-core/mga_drv.c3
-rw-r--r--linux-core/r128_drv.c3
-rw-r--r--linux-core/radeon_drv.c3
-rw-r--r--linux-core/savage_drv.c3
-rw-r--r--linux-core/sis_drv.c3
-rw-r--r--shared-core/i915_drv.h3
-rw-r--r--shared-core/mach64_drv.h3
-rw-r--r--shared-core/mga_drv.h3
-rw-r--r--shared-core/r128_drv.h3
-rw-r--r--shared-core/radeon_drv.h3
-rw-r--r--shared-core/savage_drv.h3
-rw-r--r--shared-core/sis_drv.h3
-rw-r--r--shared-core/via_drv.c3
-rw-r--r--shared-core/via_drv.h3
20 files changed, 30 insertions, 30 deletions
diff --git a/linux-core/i810_drv.c b/linux-core/i810_drv.c
index fca04cc6..e0235b6a 100644
--- a/linux-core/i810_drv.c
+++ b/linux-core/i810_drv.c
@@ -47,9 +47,6 @@ static struct pci_device_id pciidlist[] = {
i810_PCI_IDS
};
-extern drm_ioctl_desc_t i810_ioctls[];
-extern int i810_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features =
diff --git a/linux-core/i810_drv.h b/linux-core/i810_drv.h
index 65bc77dd..b3d50e58 100644
--- a/linux-core/i810_drv.h
+++ b/linux-core/i810_drv.h
@@ -125,6 +125,9 @@ extern void i810_driver_reclaim_buffers_locked(drm_device_t * dev,
struct file *filp);
extern int i810_driver_device_is_agp(drm_device_t * dev);
+extern drm_ioctl_desc_t i810_ioctls[];
+extern int i810_max_ioctl;
+
#define I810_BASE(reg) ((unsigned long) \
dev_priv->mmio_map->handle)
#define I810_ADDR(reg) (I810_BASE(reg) + reg)
diff --git a/linux-core/i830_drv.c b/linux-core/i830_drv.c
index b58b842e..74b574aa 100644
--- a/linux-core/i830_drv.c
+++ b/linux-core/i830_drv.c
@@ -46,9 +46,6 @@ static struct pci_device_id pciidlist[] = {
i830_PCI_IDS
};
-extern drm_ioctl_desc_t i830_ioctls[];
-extern int i830_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features =
diff --git a/linux-core/i830_drv.h b/linux-core/i830_drv.h
index 1ab980b4..1f6afe10 100644
--- a/linux-core/i830_drv.h
+++ b/linux-core/i830_drv.h
@@ -120,6 +120,9 @@ typedef struct drm_i830_private {
} drm_i830_private_t;
+extern drm_ioctl_desc_t i830_ioctls[];
+extern int i830_max_ioctl;
+
/* i830_dma.c */
extern void i830_reclaim_buffers(drm_device_t *dev, struct file *filp);
diff --git a/linux-core/i915_drv.c b/linux-core/i915_drv.c
index 8a8eb598..e8cd8c03 100644
--- a/linux-core/i915_drv.c
+++ b/linux-core/i915_drv.c
@@ -38,9 +38,6 @@ static struct pci_device_id pciidlist[] = {
i915_PCI_IDS
};
-extern drm_ioctl_desc_t i915_ioctls[];
-extern int i915_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
/* don't use mtrr's here, the Xserver or user space app should
diff --git a/linux-core/mach64_drv.c b/linux-core/mach64_drv.c
index bcf60b59..ba45132b 100644
--- a/linux-core/mach64_drv.c
+++ b/linux-core/mach64_drv.c
@@ -39,9 +39,6 @@ static struct pci_device_id pciidlist[] = {
mach64_PCI_IDS
};
-extern drm_ioctl_desc_t mach64_ioctls[];
-extern int mach64_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features =
diff --git a/linux-core/mga_drv.c b/linux-core/mga_drv.c
index 1a559927..43ba18cb 100644
--- a/linux-core/mga_drv.c
+++ b/linux-core/mga_drv.c
@@ -43,9 +43,6 @@ static struct pci_device_id pciidlist[] = {
mga_PCI_IDS
};
-extern drm_ioctl_desc_t mga_ioctls[];
-extern int mga_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features =
diff --git a/linux-core/r128_drv.c b/linux-core/r128_drv.c
index a7223280..edc04b03 100644
--- a/linux-core/r128_drv.c
+++ b/linux-core/r128_drv.c
@@ -41,9 +41,6 @@ static struct pci_device_id pciidlist[] = {
r128_PCI_IDS
};
-extern drm_ioctl_desc_t r128_ioctls[];
-extern int r128_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features =
diff --git a/linux-core/radeon_drv.c b/linux-core/radeon_drv.c
index 57c24f4a..fca2d4e7 100644
--- a/linux-core/radeon_drv.c
+++ b/linux-core/radeon_drv.c
@@ -57,9 +57,6 @@ static struct pci_device_id pciidlist[] = {
radeon_PCI_IDS
};
-extern drm_ioctl_desc_t radeon_ioctls[];
-extern int radeon_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features =
diff --git a/linux-core/savage_drv.c b/linux-core/savage_drv.c
index 5c7cdd32..9f12dfe2 100644
--- a/linux-core/savage_drv.c
+++ b/linux-core/savage_drv.c
@@ -34,9 +34,6 @@ static struct pci_device_id pciidlist[] = {
savage_PCI_IDS
};
-extern drm_ioctl_desc_t savage_ioctls[];
-extern int savage_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features =
diff --git a/linux-core/sis_drv.c b/linux-core/sis_drv.c
index e524ae2d..96c143a5 100644
--- a/linux-core/sis_drv.c
+++ b/linux-core/sis_drv.c
@@ -36,9 +36,6 @@ static struct pci_device_id pciidlist[] = {
sis_PCI_IDS
};
-extern drm_ioctl_desc_t sis_ioctls[];
-extern int sis_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features = DRIVER_USE_AGP | DRIVER_USE_MTRR,
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index f7dbfd29..600deabc 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -96,6 +96,9 @@ typedef struct drm_i915_private {
unsigned int sr01, adpa, ppcr, dvob, dvoc, lvds;
} drm_i915_private_t;
+extern drm_ioctl_desc_t i915_ioctls[];
+extern int i915_max_ioctl;
+
/* i915_dma.c */
extern void i915_kernel_lost_context(drm_device_t * dev);
extern int i915_driver_load(struct drm_device *, unsigned long flags);
diff --git a/shared-core/mach64_drv.h b/shared-core/mach64_drv.h
index 29c0aba4..e22827f4 100644
--- a/shared-core/mach64_drv.h
+++ b/shared-core/mach64_drv.h
@@ -108,6 +108,9 @@ typedef struct drm_mach64_private {
drm_local_map_t *agp_textures;
} drm_mach64_private_t;
+extern drm_ioctl_desc_t mach64_ioctls[];
+extern int mach64_max_ioctl;
+
/* mach64_dma.c */
extern int mach64_dma_init(DRM_IOCTL_ARGS);
extern int mach64_dma_idle(DRM_IOCTL_ARGS);
diff --git a/shared-core/mga_drv.h b/shared-core/mga_drv.h
index 526dc4c9..e0a1bb6d 100644
--- a/shared-core/mga_drv.h
+++ b/shared-core/mga_drv.h
@@ -148,6 +148,9 @@ typedef struct drm_mga_private {
unsigned int agp_size;
} drm_mga_private_t;
+extern drm_ioctl_desc_t mga_ioctls[];
+extern int mga_max_ioctl;
+
/* mga_dma.c */
extern int mga_dma_bootstrap(DRM_IOCTL_ARGS);
extern int mga_dma_init(DRM_IOCTL_ARGS);
diff --git a/shared-core/r128_drv.h b/shared-core/r128_drv.h
index 34724fde..9a779bad 100644
--- a/shared-core/r128_drv.h
+++ b/shared-core/r128_drv.h
@@ -128,6 +128,9 @@ typedef struct drm_r128_buf_priv {
drm_r128_freelist_t *list_entry;
} drm_r128_buf_priv_t;
+extern drm_ioctl_desc_t r128_ioctls[];
+extern int r128_max_ioctl;
+
/* r128_cce.c */
extern int r128_cce_init(DRM_IOCTL_ARGS);
extern int r128_cce_start(DRM_IOCTL_ARGS);
diff --git a/shared-core/radeon_drv.h b/shared-core/radeon_drv.h
index 8455d599..75d18481 100644
--- a/shared-core/radeon_drv.h
+++ b/shared-core/radeon_drv.h
@@ -276,6 +276,9 @@ typedef struct drm_radeon_buf_priv {
} drm_radeon_buf_priv_t;
extern int radeon_no_wb;
+extern drm_ioctl_desc_t radeon_ioctls[];
+extern int radeon_max_ioctl;
+
/* radeon_cp.c */
extern int radeon_cp_init(DRM_IOCTL_ARGS);
extern int radeon_cp_start(DRM_IOCTL_ARGS);
diff --git a/shared-core/savage_drv.h b/shared-core/savage_drv.h
index 8ec604f0..01abb58d 100644
--- a/shared-core/savage_drv.h
+++ b/shared-core/savage_drv.h
@@ -104,6 +104,9 @@ enum savage_family {
S3_LAST
};
+extern drm_ioctl_desc_t savage_ioctls[];
+extern int savage_max_ioctl;
+
#define S3_SAVAGE3D_SERIES(chip) ((chip>=S3_SAVAGE3D) && (chip<=S3_SAVAGE_MX))
#define S3_SAVAGE4_SERIES(chip) ((chip==S3_SAVAGE4) \
diff --git a/shared-core/sis_drv.h b/shared-core/sis_drv.h
index 4ef3d622..b1fddad8 100644
--- a/shared-core/sis_drv.h
+++ b/shared-core/sis_drv.h
@@ -49,4 +49,7 @@ typedef struct drm_sis_private {
extern int sis_init_context(drm_device_t * dev, int context);
extern int sis_final_context(drm_device_t * dev, int context);
+extern drm_ioctl_desc_t sis_ioctls[];
+extern int sis_max_ioctl;
+
#endif
diff --git a/shared-core/via_drv.c b/shared-core/via_drv.c
index 8291ae8e..58638162 100644
--- a/shared-core/via_drv.c
+++ b/shared-core/via_drv.c
@@ -39,9 +39,6 @@ static struct pci_device_id pciidlist[] = {
viadrv_PCI_IDS
};
-extern drm_ioctl_desc_t via_ioctls[];
-extern int via_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features =
diff --git a/shared-core/via_drv.h b/shared-core/via_drv.h
index 0fa014aa..dcfaa63c 100644
--- a/shared-core/via_drv.h
+++ b/shared-core/via_drv.h
@@ -111,6 +111,9 @@ enum via_family {
#define VIA_READ8(reg) DRM_READ8(VIA_BASE, reg)
#define VIA_WRITE8(reg,val) DRM_WRITE8(VIA_BASE, reg, val)
+extern drm_ioctl_desc_t via_ioctls[];
+extern int via_max_ioctl;
+
extern int via_fb_init(DRM_IOCTL_ARGS);
extern int via_mem_alloc(DRM_IOCTL_ARGS);
extern int via_mem_free(DRM_IOCTL_ARGS);