summaryrefslogtreecommitdiffstats
path: root/sys/dev/spibus
Commit message (Collapse)AuthorAgeFilesLines
* MFC r257064:loos2014-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)
* Fetch the chip select in the bridge driver, like all the other spiimp2012-08-232-4/+0
| | | | bridges do.
* Add the chip select glue.imp2012-08-012-0/+6
|
* Replace `inline static' by `static inline'.ed2011-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.
* - There's no need to overwrite the default device method with the defaultmarius2011-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.
* bus_add_child: change type of order parameter to u_intavg2010-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
* strict kobj signatures: fix assortment of bus_read_ivar implsavg2009-06-111-1/+1
| | | | | Reviewed by: imp, current@ Approved by: jhb (mentor)
* - Make SPI bus bridge be non-arch dependent by using more genericgonzo2009-05-131-1/+1
| | | | | | name Reviewed by: imp
* MFp4: when passing the transfer up the foodchain, make sure we go upimp2006-10-201-2/+4
| | | | the food chain. devi == NULL is the error condition. Treat it as such.
* Fix comments.cognet2006-07-172-2/+2
|
* MFp4:imp2006-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 :-)
OpenPOWER on IntegriCloud