aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/usb-hid.c
diff options
context:
space:
mode:
authorMike Banon <mikebdp2@gmail.com>2020-12-03 07:06:59 +0300
committerKevin O'Connor <kevin@koconnor.net>2020-12-21 10:59:39 -0500
commitef88eeaf052c8a7d28c5f85e790c5e45bcffa45e (patch)
treed8e8ac1964d6272c3bed4a07b9be904323bf7634 /src/hw/usb-hid.c
parent748d619be3282fba35f99446098ac2d0579f6063 (diff)
downloadseabios-ef88eeaf052c8a7d28c5f85e790c5e45bcffa45e.tar.gz
Support booting USB drives with a write protect switch enabled
At least some USB drives with a write protect switch (e.g. Netac U335) could report "MEDIUM NOT PRESENT" for a while if a write protection is enabled. Instead of stopping the initialization attempts immediately, stop only after getting this report for 3 times, to ensure the successful initialization of such a "broken hardware". Signed-off-by: Mike Banon <mikebdp2@gmail.com>
Diffstat (limited to 'src/hw/usb-hid.c')
0 files changed, 0 insertions, 0 deletions