Hiyas,

I just noticed that userland suspend (http://suspend.sourceforge.net/) uses a 
quirk that pm-utils not yet supports: PCI_SAVE.
Is this something we can support, too? Atm, there is only one entry in 
whitelist.c that uses this quirk.

suspend:
233 .___if (flags & PCI_SAVE) {
234 .___.___pacc = pci_alloc();     /* Get the pci_access structure */
235 .___.___pci_init(pacc);         /* Initialize the PCI library */
236
237 .___.___if (find_vga()) {
238 .___.___.___printf("saving PCI config of device %02x:%02x.%d\n",
239 .___.___.___.___vga_dev.bus, vga_dev.dev, vga_dev.func);
240 .___.___.___save_vga_pci();
241 .___.___} else
242 .___.___.___/* pci_save requested, no VGA device found => abort */
243 .___.___.___return 1;
244 .___}

resume:
275 .___if (flags & PCI_SAVE) {
276 .___.___printf("restoring PCI config of device %02x:%02x.%d\n",
277 .___.___.___vga_dev.bus, vga_dev.dev, vga_dev.func);
278 .___.___restore_vga_pci();
279
280 .___.___pci_cleanup(pacc);
281 .___}

Regards,
Till

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to