HomeFreeBSD

A couple minor improvements to spibus.c...

Description

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.

Details

Provenance
ianAuthored on Apr 7 2018, 6:25 PM
Parents
rG392bffb9b156: Add support for writing/changing spi device ivars. The SPI mode (polarity
Branches
Unknown
Tags
Unknown

Event Timeline