PATCH: SC1200 debug printk
Kill a pair of long escaped debug printk calls
Signed-off-by Alan Cox <[email protected]>
drivers/ide/pci/sc1200.c +1 -3
@@ -395,7 +395,6 @@ {ide_hwif_t *hwif =NULL ; -printk ("SC1200: resume\n" );pci_set_power_state (dev,PCI_D0 );// bring chip back from sleep state dev->current_state =PM_EVENT_ON ;pci_enable_device (dev);
@@ -405,7 +404,6 @@while ((hwif =lookup_pci_dev (hwif, dev)) !=NULL ) {unsigned int basereg, r, d, format;sc1200_saved_state_t *ss = (sc1200_saved_state_t *)hwif->config_data; -printk ("%s: SC1200: resume\n" , hwif->name);// // Restore timing registers: this may be unnecessary if BIOS also does it
@@ -493,7 +491,7 @@ }static struct pci_device_id sc1200_pci_tbl[] = { - {PCI_VENDOR_ID_NS , PCI_DEVICE_ID_NS_SCx200_IDE,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, + {PCI_DEVICE (PCI_VENDOR_ID_NS , PCI_DEVICE_ID_NS_SCx200_IDE),0 }, {0 , }, };MODULE_DEVICE_TABLE (pci, sc1200_pci_tbl);
drivers/ide/pci/sc1200.c
Quoted 6 lines · Alan Cox
Kill a pair of long escaped debug printk calls
Signed-off-by Alan Cox <[email protected]>diff -u --new-file --recursive --exclude-from
/usr/src/excludelinux.vanilla-2.6.17/drivers/ide/pci/sc1200.clinux-2.6.17/drivers/ide/pci/sc1200.cdrivers/ide/pci/sc1200.c +0
-0
Hmm...
drivers/ide/pci/sc1200.c line 497
Quoted 9 lines
drivers/ide/pci/sc1200.c +1
-1@@ -493,7 +491,7 @@ }static struct pci_device_id sc1200_pci_tbl[] = { - {PCI_VENDOR_ID_NS , PCI_DEVICE_ID_NS_SCx200_IDE,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, + {PCI_DEVICE (PCI_VENDOR_ID_NS , PCI_DEVICE_ID_NS_SCx200_IDE),0 }, {0 , }, };MODULE_DEVICE_TABLE (pci, sc1200_pci_tbl);
Escape of an unrelated change to the same file?
Ar Llu, 2006-06-26 am 13:04 -0400, ysgrifennodd [email protected]:
Quoted 1 line
Escape of an unrelated change to the same file?
Passing hoovering.