summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>1999-07-11 06:10:47 +0000
committerjmg <jmg@FreeBSD.org>1999-07-11 06:10:47 +0000
commit77c8a06bb6d6ff01201396c15b472279953ae9f1 (patch)
treefab9255c6c03e21906414d55cb2ed63d6a412bd2 /sys/cam
parent5afbf342b8f033bfe857d46e7aa235aadedd3689 (diff)
downloadFreeBSD-src-77c8a06bb6d6ff01201396c15b472279953ae9f1.zip
FreeBSD-src-77c8a06bb6d6ff01201396c15b472279953ae9f1.tar.gz
disable tag queing for the MICROP 4421-07 drive. It's an old 2gig drive.
convert MICROP to a static string
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/cam_xpt.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index a8893eb..a0a4346 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cam_xpt.c,v 1.63 1999/05/31 11:23:53 phk Exp $
+ * $Id: cam_xpt.c,v 1.64 1999/06/20 18:19:44 mjacob Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
@@ -216,6 +216,7 @@ static const char sony[] = "SONY";
static const char west_digital[] = "WDIGTL";
static const char samsung[] = "SAMSUNG";
static const char seagate[] = "SEAGATE";
+static const char microp[] = "MICROP";
static struct xpt_quirk_entry xpt_quirk_table[] =
{
@@ -236,12 +237,17 @@ static struct xpt_quirk_entry xpt_quirk_table[] =
},
{
/* Broken tagged queuing drive */
+ { T_DIRECT, SIP_MEDIA_FIXED, microp, "4421-07*", "*" },
+ /*quirks*/0, /*mintags*/0, /*maxtags*/0
+ },
+ {
+ /* Broken tagged queuing drive */
{ T_DIRECT, SIP_MEDIA_FIXED, "HP", "C372*", "*" },
/*quirks*/0, /*mintags*/0, /*maxtags*/0
},
{
/* Broken tagged queuing drive */
- { T_DIRECT, SIP_MEDIA_FIXED, "MICROP", "3391*", "x43h" },
+ { T_DIRECT, SIP_MEDIA_FIXED, microp, "3391*", "x43h" },
/*quirks*/0, /*mintags*/0, /*maxtags*/0
},
{
OpenPOWER on IntegriCloud