the food chain. devi == NULL is the error condition. Treat it as such.
Initial spibus support. Seems to be OK, but needs some polish. # someone should write a bit-bang spi parallel port interface :-)