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:
Nate Lawson 2003-02-27 20:56:56 +00:00
parent 418306e3bf
commit fdb8bf0997

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));