Re: Fwd: [CFT] Clean up yenta_socket

From: Jeff Garzik
Date: Mon Aug 25 2003 - 17:45:14 EST


WIBNI?

Anyway, MSI needs more than the standard size as well.

But I would actually prefer the interface to go the other way:

pci_save_state(pdev);
and
pci_restore_state(pdev);

Allocate and store the state in a pointer in struct pci_dev, or somesuch. And somebody other than the low-level driver figures out the amount to save and restore.

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/