Re: pci_driver resume() callback return value

2007-01-12 Thread Pavel Machek
Hi! > Now question. Should we,or should we not return error code from resume > callback? > Where a two possible ways: > a) Comment in document section is out of date and we have to properly handle >and return error code if something goes wrong. This is right. > b) Comment in document

Re: pci_driver resume() callback return value

2007-01-12 Thread Pavel Machek
Hi! Now question. Should we,or should we not return error code from resume callback? Where a two possible ways: a) Comment in document section is out of date and we have to properly handle and return error code if something goes wrong. This is right. b) Comment in document section is

pci_driver resume() callback return value

2007-01-08 Thread Dmitriy Monakhov
While investigating pci driver model i've found strange thing. struct pci_driver has resume() callback and it declarated like follows int (*resume) (struct pci_dev *dev);/* Device woken up */ Documentation states about it: from Documentation/pci-error-recovery.txt STEP 5: Resume Operations

pci_driver resume() callback return value

2007-01-08 Thread Dmitriy Monakhov
While investigating pci driver model i've found strange thing. struct pci_driver has resume() callback and it declarated like follows int (*resume) (struct pci_dev *dev);/* Device woken up */ Documentation states about it: from Documentation/pci-error-recovery.txt STEP 5: Resume Operations