GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / gpu / drm / nouveau / nv04_mc.c
blob2af43a1cb2ec00e698dbbd320e1bdffeaee3dab3
1 #include "drmP.h"
2 #include "drm.h"
3 #include "nouveau_drv.h"
4 #include "nouveau_drm.h"
6 int
7 nv04_mc_init(struct drm_device *dev)
9 /* Power up everything, resetting each individual unit will
10 * be done later if needed.
13 nv_wr32(dev, NV03_PMC_ENABLE, 0xFFFFFFFF);
15 /* Disable PROM access. */
16 nv_wr32(dev, NV_PBUS_PCI_NV_20, NV_PBUS_PCI_NV_20_ROM_SHADOW_ENABLED);
18 return 0;
21 void
22 nv04_mc_takedown(struct drm_device *dev)