The following patch makes testbios understand what to do with a device that is specified as bus:dev.func or dev.func. If you just give it one number then its works like the original.
so '-d 0:9.0' or '-d 9.0' will translate to devfn of 0x48
It also add a sanity check for the device if you appear to be running an option ROM. So if you fail to specify a device or your -d parameter works out to 0 it prints a warning message.
-- Richard A. Smith
Yeesh. Hit the wrong button. Lets try this again.
On 4/22/06, Richard Smith smithbone@gmail.com wrote:
The following patch makes testbios understand what to do with a device that is specified as bus:dev.func or dev.func. If you just give it one number then its works like the original.
so '-d 0:9.0' or '-d 9.0' will translate to devfn of 0x48
It also add a sanity check for the device if you appear to be running an option ROM. So if you fail to specify a device or your -d parameter works out to 0 it prints a warning message.
Signed off by Ron and Committed.
Chris: please update and give it some testing time.
-- Richard A. Smith