Revert DPRINT1.
authorJames Tabor <james.tabor@reactos.org>
Sun, 22 May 2005 22:12:12 +0000 (22:12 +0000)
committerJames Tabor <james.tabor@reactos.org>
Sun, 22 May 2005 22:12:12 +0000 (22:12 +0000)
svn path=/trunk/; revision=15472

reactos/drivers/usb/cromwell/sys/linuxwrapper.c

index aa29dc0..6b5af2a 100644 (file)
@@ -74,8 +74,7 @@ void init_wrapper(struct pci_dev *probe_dev)
 void handle_irqs(int irq)
 {
        int n;
-//     printk("handle irqs\n");
-       DPRINT1("Handle Irqs\n");
+       printk("handle irqs\n");
        for(n=0;n<MAX_IRQS;n++)
        {
                if (reg_irqs[n].handler && (irq==reg_irqs[n].irq || irq==-1))
@@ -101,8 +100,7 @@ void do_all_timers(void)
                        main_timer_list[n]->expires=0;
 
                        main_timer_list[n]=NULL; // remove timer
-//                     printk("do timer %i fn %p\n",n,function);
-                       DPRINT1("do timer %i fn %p\n",n,function);
+                       printk("do timer %i fn %p\n",n,function);
 
                        function(data);
                }
@@ -156,8 +154,7 @@ only link between usbcore and the registered device drivers! */
 int my_device_add(struct device *dev)
 {
        int n,found=0;
-//     printk("drv_num %i %p %p\n",drvs_num,m_drivers[0]->probe,m_drivers[1]->probe);
-       DPRINT1("drv_num %i %p %p\n",drvs_num,m_drivers[0]->probe,m_drivers[1]->probe);
+       printk("drv_num %i %p %p\n",drvs_num,m_drivers[0]->probe,m_drivers[1]->probe);
 
        if (dev->driver)
        {
@@ -171,8 +168,7 @@ int my_device_add(struct device *dev)
                        if (m_drivers[n]->probe)
                        {
                                dev->driver=m_drivers[n];
-//                             printk("probe%i %p ",n,m_drivers[n]->probe);
-                               DPRINT1("probe%i %p ",n,m_drivers[n]->probe);
+                               printk("probe%i %p ",n,m_drivers[n]->probe);
 
                                if (m_drivers[n]->probe(dev) == 0)
                                {
@@ -192,8 +188,7 @@ int my_driver_register(struct device_driver *driver)
 
        if (drvs_num<MAX_DRVS)
        {
-//             printk("driver_register %i: %p %p",drvs_num,driver,driver->probe);
-               DPRINT1("driver_register %i: %p %p",drvs_num,driver,driver->probe);
+               printk("driver_register %i: %p %p",drvs_num,driver,driver->probe);  
 
                m_drivers[drvs_num++]=driver;
                return 0;
@@ -236,8 +231,7 @@ int my_schedule_timeout(int x)
 {
        int wait=1;
        x+=10; // safety
-//     printk("schedule_timeout %i\n",x);
-       DPRINT1("schedule_timeout %i\n",x);
+       printk("schedule_timeout %i\n",x);
 
        while(x>0)
        {
@@ -253,8 +247,7 @@ int my_schedule_timeout(int x)
                x-=wait;
        }
        need_wakeup=0;
-//     printk("schedule DONE!!!!!!\n");
-       DPRINT1("schedule DONE!!!!!!\n");
+       printk("schedule DONE!!!!!!\n");
 
        return x;
 }
@@ -262,8 +255,7 @@ int my_schedule_timeout(int x)
 void my_wait_for_completion(struct completion *x)
 {
        int n=100;
-//     printk("wait for completion\n");
-       DPRINT1("wait for completion\n");
+       printk("wait for completion\n");
 
        while(!x->done && (n>0))
        {
@@ -275,8 +267,7 @@ void my_wait_for_completion(struct completion *x)
                wait_ms(10);    
                n--;
        }
-//     printk("wait for completion done %i\n",x->done);
-       DPRINT1("wait for completion done %i\n",x->done);
+       printk("wait for completion done %i\n",x->done);
 
 }
 /*------------------------------------------------------------------------*/