Don't set the adaptor template link's flags and quirks when trying to set the flags and quirks for a device. Should fix weird issues where the device after an ATAPI device gets marked as ATAPI.  First reported on misc@ by Daniel Wade, who also provided some useful testing.
Don't set the adaptor template link's flags and quirks when trying to
set the flags and quirks for a device. Should fix weird issues where
the device after an ATAPI device gets marked as ATAPI.  First reported
on misc@ by Daniel Wade, who also provided some useful testing.

ok dlg@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars