Re: [PATCH] add PCI ROMs to sysfs

From: Jesse Barnes
Date: Sat Jul 31 2004 - 11:07:56 EST


On Friday, July 30, 2004 3:15 pm, Jon Smirl wrote:
> If you set pci_dev->resource[PCI_ROM_RESOURCE] to C000:0 won't this
> mess up pci_assign_resource()/release_resource()?

Yeah, you're right, that wouldn't be a good thing to do. I guess I'll have to
hang a different structure off of the pci_dev so we can tell the sysfs rom
handling code where to get the rom. Doing it that way would allow us to deal
with cards that really need a copy made too, though the default behavior
would be to read it directly.

How does that sound?

Jesse
-
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/