[lkml]   [2004]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Exposing ROM's though sysfs
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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:04    [W:0.071 / U:1.868 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site