Re: Exposing ROM's though sysfs
From: Jesse Barnes (jbarnes_at_engr.sgi.com)
Date: 07/30/04
- Previous message: Takashi Iwai: "Re: [PATCH] Improve pci_alloc_consistent wrapper on preemptive kernels"
- In reply to: Jesse Barnes: "Re: Exposing ROM's though sysfs"
- Next in thread: Greg KH: "Re: Exposing ROM's though sysfs"
- Reply: Greg KH: "Re: Exposing ROM's though sysfs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: linux-pci@atrey.karlin.mff.cuni.cz Date: Fri, 30 Jul 2004 11:49:39 -0700
On Friday, July 30, 2004 11:12 am, Jesse Barnes wrote:
> On Friday, July 30, 2004 11:12 am, Matthew Wilcox wrote:
> > How about reading the contents of the ROM at pci_scan_bus() time? It'd
> > waste a bunch of memory, but hey, people love sysfs.
>
> That might be a good solution, actually. Then it would be cached for
> devices that don't want you to look at it after they've been POSTed too.
Here's a version that actually works, but without the caching (i.e. don't
access it after a driver starts using the card). If we go that route, should
we hang a copy of the ROM off of the pci_dev in a pointer or somewhere else?
Thanks,
Jesse
-
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/
- text/plain attachment: pci-sysfs-rom-3.patch
- Previous message: Takashi Iwai: "Re: [PATCH] Improve pci_alloc_consistent wrapper on preemptive kernels"
- In reply to: Jesse Barnes: "Re: Exposing ROM's though sysfs"
- Next in thread: Greg KH: "Re: Exposing ROM's though sysfs"
- Reply: Greg KH: "Re: Exposing ROM's though sysfs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|