move the allocation of ccb out of ami_attach into a function of its own (aptly called ami_alloc_ccbs). allocate the ccbs after the firmware has been queried, but still for the full number of AMI_MAXCMDS.
move the allocation of ccb out of ami_attach into a function of its own
(aptly called ami_alloc_ccbs). allocate the ccbs after the firmware has
been queried, but still for the full number of AMI_MAXCMDS.

ok krw@

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