Some newer scsi-2 or scsi-3 drives reportedly return more data in
response to an inquiry command than was allocated here. Add 1024 bytes extra padding, just to be safe.
This commit is contained in:
parent
0d44b7f3fe
commit
05ef657fb8
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: scsi.h,v 1.5 1995/03/28 18:19:00 jtc Exp $ */
|
/* $NetBSD: scsi.h,v 1.6 1996/01/30 04:47:16 jonathan Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1992, 1993
|
* Copyright (c) 1992, 1993
|
||||||
@ -380,6 +380,7 @@ typedef struct ScsiInquiryData {
|
|||||||
u_char revLevel[4]; /* Revision level (ASCII) */
|
u_char revLevel[4]; /* Revision level (ASCII) */
|
||||||
u_char revData[8]; /* Revision data (ASCII) */
|
u_char revData[8]; /* Revision data (ASCII) */
|
||||||
#endif
|
#endif
|
||||||
|
u_char pading[1024]; /* newer SCSI II drives give additional data */
|
||||||
} ScsiInquiryData;
|
} ScsiInquiryData;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user