Messages in this thread | | | Date | Mon, 14 Jul 2003 16:21:38 +0100 | From | Russell King <> | Subject | Re: 2.5.75-mm1 yenta-socket lsPCI IRQ reads incorrect |
| |
On Mon, Jul 14, 2003 at 11:04:35AM -0400, Jeff Garzik wrote: > On Mon, Jul 14, 2003 at 03:50:51PM +0100, Russell King wrote: > > yenta_allocate_resources(socket); > > + > > + pci_save_state(dev, socket->saved_state); > > > > socket->cb_irq = dev->irq; > > > > This reminds me, PCI Express makes the PCI config area larger, going > from 256 bytes to either 4K or 64K IIRC. > > I wonder if we want new pci_{save,restore}_xstate functions? > Or change the pci_{save,restore}_state API now to work with larger > config areas?
Maybe we really want an API where you can pass in the size of your buffer (which also determines how much gets saved) ?
-- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |