Zero cpi->target_sprt since atapi-cam does not support target mode. This

gets rid of annoying messages when targbh tries to attach to the ATA bus
and gets rejected.

MFC after:	1 day
This commit is contained in:
njl 2003-02-27 20:56:56 +00:00
parent a8b1fc289f
commit 7f365cfefe

View File

@ -231,6 +231,7 @@ atapi_action(struct cam_sim *sim, union ccb *ccb)
cpi->version_num = 1;
cpi->hba_inquiry = 0;
cpi->target_sprt = 0;
cpi->hba_misc = 0;
cpi->hba_eng_cnt = 0;
bzero(cpi->vuhba_flags, sizeof(cpi->vuhba_flags));