usb-storage: redo incorrect reads
[zen-stable.git] / 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)