diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2005-05-13 20:20:22 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2005-05-13 20:20:22 +0000 |
commit | e493d9a4ef6565212a71f7f936e8c76c3dbbc972 (patch) | |
tree | e8c1fbf0b0413a6ae277205f0571c1eb74b7f8f4 /sys/dev/usb | |
parent | 7e9fa08b0e3a31f915a330690fb1bd46bdf1d27b (diff) |
fix dmesg output for pre-firmware modems.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/ueagle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ueagle.c b/sys/dev/usb/ueagle.c index 0d9218961fb..8c01f3e48aa 100644 --- a/sys/dev/usb/ueagle.c +++ b/sys/dev/usb/ueagle.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ueagle.c,v 1.2 2005/04/19 08:21:46 damien Exp $ */ +/* $OpenBSD: ueagle.c,v 1.3 2005/05/13 20:20:21 damien Exp $ */ /*- * Copyright (c) 2003-2005 @@ -161,6 +161,7 @@ USB_ATTACH(ueagle) uint8_t addr[6]; sc->sc_udev = uaa->device; + USB_ATTACH_SETUP; /* * Pre-firmware modems must be flashed and reset first. They will @@ -179,7 +180,6 @@ USB_ATTACH(ueagle) } usbd_devinfo(sc->sc_udev, 0, devinfo, sizeof devinfo); - USB_ATTACH_SETUP; printf("%s: %s\n", USBDEVNAME(sc->sc_dev), devinfo); if (usbd_set_config_no(sc->sc_udev, UEAGLE_CONFIG_NO, 0) != 0) { |