Re: Multiple virtual bus instances

2007-02-08 Thread Simon White
Hi Greg, >> I've been working through trying to >> create a virtual bus. >How does this differ from a "real" bus? None, just there wasn't a real hardware bus (O'Reilly's Linux Device Drivers 3 chapter 14 page 377). >> I've successfuly made it work for a >> single instance but wanted to confirm

Multiple virtual bus instances

2007-02-07 Thread Simon White
Hi, I've been working through trying to create a virtual bus. I've successfuly made it work for a single instance but wanted to confirm how to create multiple instances of the virtual bus. I believe to do this you have only one instance of your new bus_type registered but register multiple insta

Detecting kernel shutdown in a kernel driver

2005-02-10 Thread Simon White
Hi, I've been writing a device driver for a piece of hardware that we recently found the pci bridge has an issue on software reset (kernel 2.6.8.1, hardware reset is fine). The bridge appears to corrupt the subvendor/device ids on next boot. We have found a software work around in that I can