https://bugzilla.novell.com/show_bug.cgi?id=255683 ------- Comment #17 from pavel@novell.com 2007-05-30 05:03 MST ------- Well, for refusing suspend, patch similar to this should do the trick: --- linux.orig/drivers/firewire/fw-ohci.c +++ linux/drivers/firewire/fw-ohci.c @@ -1908,6 +1908,19 @@ static void pci_remove(struct pci_dev *d fw_notify("Removed fw-ohci device.\n"); } +#ifdef CONFIG_PM +static int pci_suspend(struct pci_dev *dev, pm_message_t state) +{ + fw_notify("ERROR: Unload this driver before hibernate or suspend\n"); + return -ENOSYS; +} + +static int pci_resume(struct pci_dev *dev) +{ + return -ENOSYS; +} +#endif /* CONFIG_PM */ + static struct pci_device_id pci_table[] = { { PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_FIREWIRE_OHCI, ~0) }, { } @@ -1920,6 +1933,10 @@ static struct pci_driver fw_ohci_pci_dri .id_table = pci_table, .probe = pci_probe, .remove = pci_remove, +#ifdef CONFIG_PM + .suspend = pci_suspend, + .resume = pci_resume, +#endif -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.