summaryrefslogtreecommitdiff
path: root/sys/dev/spibus
Commit message (Collapse)AuthorAgeFilesLines
* MFC r257064:Luiz Otavio O Souza2014-01-093-2/+197
| | | | | | | | | | | | | Add an OFW SPI compatible bus. Fix the spibus probe to return BUS_PROBE_GENERIC and not BUS_PROBE_SPECIFIC (0) so the OFW SPI bus can attach when enabled. Export the spibus devclass_t and driver_t declarations. Submitted by: ray Approved by: adrian (mentor) Notes: svn path=/stable/10/; revision=260489
* Fetch the chip select in the bridge driver, like all the other spiWarner Losh2012-08-232-4/+0
| | | | | | | bridges do. Notes: svn path=/head/; revision=239626
* Add the chip select glue.Warner Losh2012-08-012-0/+6
| | | | Notes: svn path=/head/; revision=238965
* Replace `inline static' by `static inline'.Ed Schouten2011-12-131-1/+1
| | | | | | | | | If I interpret the C standard correctly, the storage specifier should be placed before the inline keyword. While at it, replace __inline by inline in the files affected. Notes: svn path=/head/; revision=228471
* - There's no need to overwrite the default device method with the defaultMarius Strobl2011-11-221-2/+1
| | | | | | | | | | | | | one. Interestingly, these are actually the default for quite some time (bus_generic_driver_added(9) since r52045 and bus_generic_print_child(9) since r52045) but even recently added device drivers do this unnecessarily. Discussed with: jhb, marcel - While at it, use DEVMETHOD_END. Discussed with: jhb - Also while at it, use __FBSDID. Notes: svn path=/head/; revision=227843
* bus_add_child: change type of order parameter to u_intAndriy Gapon2010-09-101-1/+1
| | | | | | | | | | | | | This reflects actual type used to store and compare child device orders. Change is mostly done via a Coccinelle (soon to be devel/coccinelle) semantic patch. Verified by LINT+modules kernel builds. Followup to: r212213 MFC after: 10 days Notes: svn path=/head/; revision=212413
* strict kobj signatures: fix assortment of bus_read_ivar implsAndriy Gapon2009-06-111-1/+1
| | | | | | | | Reviewed by: imp, current@ Approved by: jhb (mentor) Notes: svn path=/head/; revision=194020
* - Make SPI bus bridge be non-arch dependent by using more genericOleksandr Tymoshenko2009-05-131-1/+1
| | | | | | | | | name Reviewed by: imp Notes: svn path=/head/; revision=192059
* MFp4: when passing the transfer up the foodchain, make sure we go upWarner Losh2006-10-201-2/+4
| | | | | | | the food chain. devi == NULL is the error condition. Treat it as such. Notes: svn path=/head/; revision=163527
* Fix comments.Olivier Houchard2006-07-172-2/+2
| | | | Notes: svn path=/head/; revision=160452
* MFp4:Warner Losh2006-07-144-0/+277
Initial spibus support. Seems to be OK, but needs some polish. # someone should write a bit-bang spi parallel port interface :-) Notes: svn path=/head/; revision=160370