On Tuesday, December 21, 2004 1:46 pm, Greg KH wrote: > You are passing the wrong things around :) > > A struct pci_bus is a struct class_device, not a struct device. I think > you need to rethink your goal of putting the files into the pci device > directory, or just put the files into the proper /sys/class/pci_bus/* > directory as your code assumes is happening. Something like this then? I added bin file support to class.c and use that instead from probe.c. I also fixed the container_of stuff in pci-sysfs.c. Thanks, Jesse