Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/dev/usb Pull up 1.42-1.43 from trunk. Avoids findi...
details: https://anonhg.NetBSD.org/src/rev/392736a45628
branches: netbsd-1-5
changeset: 489661:392736a45628
user: augustss <augustss%NetBSD.org@localhost>
date: Wed Oct 04 02:38:55 2000 +0000
description:
Pull up 1.42-1.43 from trunk. Avoids finding two disk when there is
only one.
Approved by thorpej.
diffstat:
sys/dev/usb/umass.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 4221b5ab170e -r 392736a45628 sys/dev/usb/umass.c
--- a/sys/dev/usb/umass.c Tue Oct 03 21:55:26 2000 +0000
+++ b/sys/dev/usb/umass.c Wed Oct 04 02:38:55 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umass.c,v 1.38.2.1 2000/07/13 01:14:08 thorpej Exp $ */
+/* $NetBSD: umass.c,v 1.38.2.2 2000/10/04 02:38:55 augustss Exp $ */
/*-
* Copyright (c) 1999 MAEKAWA Masahide <bishop%rr.iij4u.or.jp@localhost>,
* Nick Hibma <n_hibma%freebsd.org@localhost>
@@ -3403,6 +3403,9 @@
DPRINTF(UDMASS_SCSI,("umass_atapi_probedev: atapi=%p target=%d\n",
atapi, target));
+ if (target != 0) /* only probe drive 0 */
+ return;
+
if (atapi->sc_link[target])
return;
Home |
Main Index |
Thread Index |
Old Index