Messages in this thread | | | From | Jesse Barnes <> | Subject | Re: Exposing ROM's though sysfs | Date | Fri, 30 Jul 2004 10:19:02 -0700 |
| |
On Friday, July 30, 2004 10:10 am, Jesse Barnes wrote: > On Friday, July 30, 2004 9:53 am, Jon Smirl wrote: > > We talked at OLS about exposing adapter ROMs via sysfs. I have some > > time to work on this but I'm not sure about the right places to hook > > into the kernel. > > How about this patch?
Ok, so it's a little broken, but the idea is to expose the rom as a file in /sys/devices/pciDDDD:BB/DDDD:BB:SS:F/rom just like config space.
I think I need to use pci_config_write_byte to enable option ROM address decoding, but even then I'm taking a machine check on my test machine, so I'm obviously doing something else wrong too.
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/
| |