/shark/trunk/drivers/net/3c59x.c |
---|
107,7 → 107,7 |
static int max_interrupt_work = 20; |
/* Put out somewhat more debugging messages. (0: no msg, 1 minimal .. 6). */ |
#define vortex_debug debug |
//#define vortex_debug debug |
#ifdef VORTEX_DEBUG |
static int vortex_debug = VORTEX_DEBUG; |
#else |
1288,7 → 1288,7 |
spin_lock_irqsave(&vp->lock, flags); |
mii_status = mdio_read(ioaddr, vp->phys[0], 1); |
ok = 1; |
if (debug > 1) |
if (vortex_debug > 1) |
printk(KERN_DEBUG "%s: MII transceiver has status %4.4x.\n", |
dev->name, mii_status); |
if (mii_status & 0x0004) { |
/shark/trunk/drivers/pci/pci_scan.c |
---|
506,8 → 506,6 |
from = from->next; |
while (from && from->class != class) |
from = from->next; |
cprintf("PCI_FIND_CLASS: found %p at bus %d\n", from, from->bus->number); |
return from; |
} |
517,13 → 515,8 |
struct pci_dev *dev; |
for(dev=pci_devices; dev; dev=dev->next) |
if (dev->bus->number == bus && dev->devfn == devfn) { |
cprintf("FOUND!!!!!!!!!!\n"); |
if (dev->bus->number == bus && dev->devfn == devfn) |
break; |
} else { |
cprintf("NOT FOUND! %d!=%d %d!=%d\n", dev->bus->number, bus, dev->devfn, devfn); |
} |
cprintf("PCI_FIND_SLOT: found %p at bus %d\n", dev, dev->bus->number); |
return dev; |
} |