Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb HP v125w flash drive doesn't like PREVENT/ALLOW ...
details: https://anonhg.NetBSD.org/src/rev/498756597365
branches: trunk
changeset: 760199:498756597365
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Thu Dec 30 19:35:33 2010 +0000
description:
HP v125w flash drive doesn't like PREVENT/ALLOW either.
Reported by Gary Duzan on current-users;
http://mail-index.netbsd.org/current-users/2010/12/30/msg015240.html
diffstat:
sys/dev/usb/umass_quirks.c | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 8e62a914e8fa -r 498756597365 sys/dev/usb/umass_quirks.c
--- a/sys/dev/usb/umass_quirks.c Thu Dec 30 19:28:52 2010 +0000
+++ b/sys/dev/usb/umass_quirks.c Thu Dec 30 19:35:33 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umass_quirks.c,v 1.83 2010/11/03 22:34:24 dyoung Exp $ */
+/* $NetBSD: umass_quirks.c,v 1.84 2010/12/30 19:35:33 jakllsch Exp $ */
/*
* Copyright (c) 2001, 2004 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.83 2010/11/03 22:34:24 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.84 2010/12/30 19:35:33 jakllsch Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -277,6 +277,15 @@
UMATCH_VENDOR_PRODUCT,
NULL, NULL
},
+
+ /* HP USB pendrives don't like being told to lock the door */
+ { { USB_VENDOR_HP, USB_PRODUCT_HP_V125W },
+ UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,
+ 0,
+ PQUIRK_NODOORLOCK,
+ UMATCH_VENDOR_PRODUCT,
+ NULL, NULL
+ },
};
const struct umass_quirk *
Home |
Main Index |
Thread Index |
Old Index