spi_register_board_info man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

SPI_REGISTER_BOARD_I(9) Serial Peripheral Interface (S SPI_REGISTER_BOARD_I(9)

NAME
       spi_register_board_info - register SPI devices for a given board

SYNOPSIS
       int spi_register_board_info(struct spi_board_info const * info,
				   unsigned n);

ARGUMENTS
       info
	   array of chip descriptors

       n
	   how many descriptors are provided

CONTEXT
       can sleep

DESCRIPTION
       Board-specific early init code calls this (probably during
       arch_initcall) with segments of the SPI device table. Any device nodes
       are created later, after the relevant parent SPI controller (bus_num)
       is defined. We keep this table of devices forever, so that reloading a
       controller driver will not make Linux forget about these hard-wired
       devices.

       Other code can also call this, e.g. a particular add-on board might
       provide SPI devices through its expansion connector, so code
       initializing that board would naturally declare its SPI devices.

       The board info passed can safely be __initdata ... but be careful of
       any embedded pointers (platform_data, etc), they´re copied as-is.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013	       SPI_REGISTER_BOARD_I(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net