diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2004-11-22 18:59:40 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2004-11-22 18:59:40 +0000 |
commit | dfc7d9db5a8fa310a9261e31f1820259ce9aa00b (patch) | |
tree | 28f78adcc26650c25e436820cb89b14bcf9c508a /sys/dev/usb | |
parent | 9255e09c9b30a90a762e5cd118f50eb10b046ec6 (diff) |
relax warmboot detection, required for some models. ok deraadt@
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/if_kue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c index 38ea5483930..0e5f8d7ab1a 100644 --- a/sys/dev/usb/if_kue.c +++ b/sys/dev/usb/if_kue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_kue.c,v 1.30 2004/11/22 18:49:05 deraadt Exp $ */ +/* $OpenBSD: if_kue.c,v 1.31 2004/11/22 18:59:39 dhartmei Exp $ */ /* $NetBSD: if_kue.c,v 1.50 2002/07/16 22:00:31 augustss Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -270,7 +270,7 @@ kue_load_fw(struct kue_softc *sc) */ if (usbd_get_device_desc(sc->kue_udev, &dd)) return (EIO); - if (UGETW(dd.bcdDevice) == KUE_WARM_REV) { + if (UGETW(dd.bcdDevice) >= KUE_WARM_REV) { printf("%s: warm boot, no firmware download\n", USBDEVNAME(sc->kue_dev)); return (0); |