mirror of
https://github.com/opnsense/src.git
synced 2026-07-15 12:11:48 -04:00
Several Realtek (and lots other) USB dongles present themselves as CDROM device first. Upon eject they do a mode switch and suddenly are a different kind of device (sometimes even with different IDs), e.g., a wireless dongle. In order to avoid the CDROM stage and rather than adding the quirk handling to more drivers, add support to umass and if enabled automatically eject the "CDROM" to make it the real device. Longer-term some other drivers could stop using their hand-rolled support for this. It is unclear as-to how much we need the list of (eject) quirks from u3g here, or if these are very specific to that kind of devices. Sponsored by: The FreeBSD Foundation Fixes: |
||
|---|---|---|
| .. | ||
| cfumass.c | ||
| rio500_usb.h | ||
| umass.c | ||
| urio.c | ||
| ustorage_fs.c | ||