Page MenuHomeFreeBSD

Introduce quirks tunable for da driver
Needs ReviewPublic

Authored by on Jun 17 2019, 7:41 PM.
This revision needs review, but there are no reviewers specified.



Introduce a tunable for devices handled by da, similar to that already existing for ada. This simplifies testing quirks for new devices as the kernel does not need to be recompiled.

I used this while trying to fix issues with a misbehaving drive. I don't know if this is something you may want to include, however I thought I'd post it here before it gets lost.

Test Plan

I tested this on FreeBSD 12.0-RELEASE and 13.0-CURRENT by adding the tunable to loader.conf, setting it to a combination of several quirks, and observing the kernel output when loading the corresponding device.

Diff Detail

rS FreeBSD src repository
Lint Skipped
Unit Tests Skipped