Messages in this thread | | | Date | Wed, 25 Aug 2004 08:50:14 -0700 (PDT) | From | Jon Smirl <> | Subject | Re: [PATCH] add PCI ROMs to sysfs |
| |
--- Matthew Wilcox <willy@debian.org> wrote: > On Wed, Aug 18, 2004 at 11:13:10AM -0700, Jon Smirl wrote: > > I haven't received any comments on pci-sysfs-rom-17.patch. Is > everyone > > asleep or is it ready to be pushed upstream? I'm still not sure > that > > anyone has tried it on a ppc machine. > > I'm now working on something that could use the ROM mapping facility. > However, I know that I only need the first 64k of the ROM. Would it > be reasonable to check the value passed in to pci_map_rom() in *size > and only automatically set it if it's 0?
pci_map_rom doesn't really consume much in the way of system resources. 64K vs 128KB is just a little address space usage that is freed as soon as you do pci_unmap_rom().
pci_map_rom_copy() is the only call that consumes significant resource.
===== Jon Smirl jonsmirl@yahoo.com
__________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail - 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/
| |