Christer Weinigel napsal(a):Hum ?
Jiri Slaby <jirislaby@xxxxxxxxx> writes:
Christer Weinigel napsal(a):
fixed in the driver. If the card doesn't have a subvendor/subdevice,
is there some way of doing a sanity check on the board to see if it
actually is a stradis card and then release the board if it isn't?
Unfortunately not.
Why not? There's an I2C bus with a bunch of devices on it. Isn't it
possible to do an I2C scan and if it doesn't match what's supposed to
be on the card fail the probe and release the PCI resources?
This is an older method not used for device drivers, but only for searching for
busses or i2c et al, of which drivers stands aside and controls the device.
If there is no FPGA or the FPGA fails to respond, that should also be
a fairly good indicator that it is not a stradis board.
Yup, but pci probing doesn't have such mechanism.