diff options
author | njl <njl@FreeBSD.org> | 2003-02-27 20:56:56 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2003-02-27 20:56:56 +0000 |
commit | 7f365cfefebdf21bfe222dd2b5e082bd00363b85 (patch) | |
tree | d3c9591f0b95c6de02d03f709435bdc1e06286b9 /sys | |
parent | a8b1fc289fc01adc82b94b08f106a10497335e39 (diff) | |
download | FreeBSD-src-7f365cfefebdf21bfe222dd2b5e082bd00363b85.zip FreeBSD-src-7f365cfefebdf21bfe222dd2b5e082bd00363b85.tar.gz |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ata/atapi-cam.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |