1 #include "drmP.h" 2 #include "drm.h" 3 #include "nouveau_drv.h" 4 #include "nouveau_drm.h" 5 6 int nv04_mc_init(struct drm_device * dev)7nv04_mc_init(struct drm_device *dev) 8 { 9 /* Power up everything, resetting each individual unit will 10 * be done later if needed. 11 */ 12 13 nv_wr32(dev, NV03_PMC_ENABLE, 0xFFFFFFFF); 14 15 /* Disable PROM access. */ 16 nv_wr32(dev, NV_PBUS_PCI_NV_20, NV_PBUS_PCI_NV_20_ROM_SHADOW_ENABLED); 17 18 return 0; 19 } 20 21 void nv04_mc_takedown(struct drm_device * dev)22nv04_mc_takedown(struct drm_device *dev) 23 { 24 } 25