Yinghai Lu wrote: > Index: linux-2.6/drivers/pci/pci.c > =================================================================== > --- linux-2.6.orig/drivers/pci/pci.c > +++ linux-2.6/drivers/pci/pci.c > @@ -2101,6 +2101,8 @@ pci_set_dma_mask(struct pci_dev *dev, u6 > return -EIO; > > dev->dma_mask = mask; > + dev_printk(KERN_DEBUG, &dev->dev, "using %dbit DMA mask\n", > + fls64(mask)); > > return 0; > } > @@ -2112,6 +2114,8 @@ pci_set_consistent_dma_mask(struct pci_d > return -EIO; > > dev->dev.coherent_dma_mask = mask; > + dev_printk(KERN_DEBUG, &dev->dev, "using %dbit consistent DMA mask\n", > + fls64(mask)); > > return 0; > } This could use dev_dbg, no? Eike
Attachment:
signature.asc
Description: This is a digitally signed message part.