Add flag SDEV_UFI so umass_scsi_attach() can provide information
authorkrw <krw@openbsd.org>
Wed, 10 May 2023 15:28:26 +0000 (15:28 +0000)
committerkrw <krw@openbsd.org>
Wed, 10 May 2023 15:28:26 +0000 (15:28 +0000)
commit176eada02fb44815181757b04aa1b4dcd4a2b887
treefe6eb70a4b9d63a7a2d390146003617d3ebad711
parent3029ed57c064322b31220165ff81ee577e8a53b4
Add flag SDEV_UFI so umass_scsi_attach() can provide information
sufficient to get sdgetdisklabel() to correctly set d_type to
DTYPE_FLOPPY in the default disklabel.

installboot(8) in particular likes to know it is dealing with a
floppy.

ok miod@
sys/dev/usb/umass_scsi.c
sys/scsi/scsiconf.h
sys/scsi/sd.c