Reference

spi_setup(9) on Linux

The text 0cb8f7edefaa, as Debian 5.0 (Lenny) shipped it.

setup SPI mode and clock rate

spi_setup(9) on Linux now