mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 16:11:45 +00:00
atp870u: Reduce log spam on module load/unload
Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Hannes Reinicke <hare@suse.de> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
6a1961bc9c
commit
34a2c35d29
1 changed files with 1 additions and 6 deletions
|
@ -1260,9 +1260,7 @@ static int atp870u_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||||
if (pci_enable_device(pdev))
|
if (pci_enable_device(pdev))
|
||||||
goto err_eio;
|
goto err_eio;
|
||||||
|
|
||||||
if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) {
|
if (pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) {
|
||||||
printk(KERN_INFO "atp870u: use 32bit DMA mask.\n");
|
|
||||||
} else {
|
|
||||||
printk(KERN_ERR "atp870u: DMA mask required but not available.\n");
|
printk(KERN_ERR "atp870u: DMA mask required but not available.\n");
|
||||||
goto err_eio;
|
goto err_eio;
|
||||||
}
|
}
|
||||||
|
@ -1742,12 +1740,9 @@ static void atp870u_remove (struct pci_dev *pdev)
|
||||||
|
|
||||||
|
|
||||||
scsi_remove_host(pshost);
|
scsi_remove_host(pshost);
|
||||||
printk(KERN_INFO "free_irq : %d\n",pshost->irq);
|
|
||||||
free_irq(pshost->irq, pshost);
|
free_irq(pshost->irq, pshost);
|
||||||
release_region(pshost->io_port, pshost->n_io_port);
|
release_region(pshost->io_port, pshost->n_io_port);
|
||||||
printk(KERN_INFO "atp870u_free_tables : %p\n",pshost);
|
|
||||||
atp870u_free_tables(pshost);
|
atp870u_free_tables(pshost);
|
||||||
printk(KERN_INFO "scsi_host_put : %p\n",pshost);
|
|
||||||
scsi_host_put(pshost);
|
scsi_host_put(pshost);
|
||||||
}
|
}
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue