Revert DPRINT1.
Modified: trunk/reactos/drivers/usb/cromwell/sys/linuxwrapper.c
_____
Modified: trunk/reactos/drivers/usb/cromwell/sys/linuxwrapper.c
--- trunk/reactos/drivers/usb/cromwell/sys/linuxwrapper.c
2005-05-22 22:04:57 UTC (rev 15471)
+++ trunk/reactos/drivers/usb/cromwell/sys/linuxwrapper.c
2005-05-22 22:12:12 UTC (rev 15472)
@@ -74,8 +74,7 @@
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 @@
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 @@
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 @@
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 @@
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 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 @@
x-=wait;
}
need_wakeup=0;
-// printk("schedule DONE!!!!!!\n");
- DPRINT1("schedule DONE!!!!!!\n");
+ printk("schedule DONE!!!!!!\n");
return x;
}
@@ -262,8 +255,7 @@
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 @@
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);
}
/*----------------------------------------------------------------------
--*/