Reference

spi_setup(9) on Linux

The text c90f148c32ee, as Debian 6.0 (Squeeze) shipped it.

setup SPI mode and clock rate

spi_setup(9) on Linux now