From 7f365cfefebdf21bfe222dd2b5e082bd00363b85 Mon Sep 17 00:00:00 2001 From: njl Date: Thu, 27 Feb 2003 20:56:56 +0000 Subject: 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 --- sys/dev/ata/atapi-cam.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/ata/atapi-cam.c') diff --git a/sys/dev/ata/atapi-cam.c b/sys/dev/ata/atapi-cam.c index eb603bb..0d703c2 100644 --- a/sys/dev/ata/atapi-cam.c +++ b/sys/dev/ata/atapi-cam.c @@ -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)); -- cgit v1.1