| 197d784b | 07-Apr-2018 |
Ian Lepore <[email protected]> |
Cast the data pointer to the correct type for the data being accessed (as opposed to one that accidentally worked on the one arch I test-compiled for on my first try).
Reported by: np@, O. Hartmann
Cast the data pointer to the correct type for the data being accessed (as opposed to one that accidentally worked on the one arch I test-compiled for on my first try).
Reported by: np@, O. Hartmann <[email protected]> Pointy hat: ian@
show more ...
|
| a0e911e0 | 07-Apr-2018 |
Ian Lepore <[email protected]> |
Add an ioctl to get/set the SPI transfer mode. Also, make the bus clock frequency ioctl actually set the corresponding ivar instead of just storing the value locally in the softc (and then not using
Add an ioctl to get/set the SPI transfer mode. Also, make the bus clock frequency ioctl actually set the corresponding ivar instead of just storing the value locally in the softc (and then not using it for anything). Also, return the correct error code if the ioctl cmd is not recognized.
show more ...
|
| 3b46d868 | 07-Apr-2018 |
Ian Lepore <[email protected]> |
Remove the existing identify() hack to force-add a spigen device on FDT-based systems, and instead add proper FDT probe code. Because this driver is freebsd-specific and just provides generic userla
Remove the existing identify() hack to force-add a spigen device on FDT-based systems, and instead add proper FDT probe code. Because this driver is freebsd-specific and just provides generic userland access to run spibus transactions, there is no bindings document to mandate a compatible string, so just arbitrarily use "freebsd,spigen".
show more ...
|
| ade70a1a | 07-Apr-2018 |
Ian Lepore <[email protected]> |
Return BUS_PROBE_DEFAULT, not zero, because this is not the one driver implementation that must be used, it's just the base system default driver.
Also add a comment noting that we're being more lib
Return BUS_PROBE_DEFAULT, not zero, because this is not the one driver implementation that must be used, it's just the base system default driver.
Also add a comment noting that we're being more liberal about the bus frequency property than the dts binding documents require.
show more ...
|
| c1ec6ac5 | 07-Apr-2018 |
Ian Lepore <[email protected]> |
A couple minor improvements to spibus.c...
- Change the description string to "SPI bus" (was "spibus bus").
- This is the default driver for a SPI bus, not a generic implementation, so return
A couple minor improvements to spibus.c...
- Change the description string to "SPI bus" (was "spibus bus").
- This is the default driver for a SPI bus, not a generic implementation, so return the probe value that indicates such.
- Use device_delete_children() at detach time, instead of a local loop to enumerate the children and detach each one individually.
show more ...
|