spi master and slave device and driver

2009-07-06 Thread 邹卫军
my dm6446 has a spi interface, I use it as the spi master device. In my board, there is also a chip --mcp2510, which has also a spi interface. I use the mcp2510's spi as the slave device. In my project, I want to use the spidev, which is available since linux 2.6.18 kernel, to talk to the

Re: spi master and slave device and driver

2009-07-06 Thread David Brownell
On Monday 06 July 2009, 邹卫军 wrote: But when I want to register the mcp2510's spi driver, I find that this driver can not find the proper spi device to attach(The spi device registered in spi_bus is attached to the spidev drivers). One device, one driver. *EITHER* use spidev from