Change devinfo definition and make devname initialization correctly.
Those changes are referring with uplcom.c. I've checked with SUNTAC U-Cable type P1 that it responed to AT commands.
This commit is contained in:
parent
3c2d0dbff9
commit
e6937b841b
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: uvscom.c,v 1.3 2002/03/20 16:39:39 augustss Exp $ */
|
/* $NetBSD: uvscom.c,v 1.4 2002/03/23 15:38:22 taca Exp $ */
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2001-2002, Shunsuke Akiyama <akiyama@jp.FreeBSD.org>.
|
* Copyright (c) 2001-2002, Shunsuke Akiyama <akiyama@jp.FreeBSD.org>.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@ -266,8 +266,8 @@ USB_ATTACH(uvscom)
|
|||||||
usb_config_descriptor_t *cdesc;
|
usb_config_descriptor_t *cdesc;
|
||||||
usb_interface_descriptor_t *id;
|
usb_interface_descriptor_t *id;
|
||||||
usb_endpoint_descriptor_t *ed;
|
usb_endpoint_descriptor_t *ed;
|
||||||
char *devinfo;
|
char devinfo[1024];
|
||||||
const char *devname;
|
const char *devname = USBDEVNAME(sc->sc_dev);
|
||||||
usbd_status err;
|
usbd_status err;
|
||||||
int i;
|
int i;
|
||||||
struct ucom_attach_args uca;
|
struct ucom_attach_args uca;
|
||||||
|
Loading…
Reference in New Issue
Block a user