Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Aug 2022 17:24:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 266037] reading xhci_devd  structure dynamically
Message-ID:  <bug-266037-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266037

            Bug ID: 266037
           Summary: reading xhci_devd  structure dynamically
           Product: Base System
           Version: 12.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: nitin.gupta981@gmail.com

Is it possible to make this code dynamic after reading through the usb devi=
ce
??

static const
 3201 struct usb_device_descriptor xhci_devd =3D
 3202 {
 3203         .bLength =3D sizeof(xhci_devd),
 3204         .bDescriptorType =3D UDESC_DEVICE,        /* type */
 3205         HSETW(.bcdUSB, 0x0300),                 /* USB version */
 3206         .bDeviceClass =3D UDCLASS_HUB,            /* class */
 3207         .bDeviceSubClass =3D UDSUBCLASS_HUB,      /* subclass */
 3208         .bDeviceProtocol =3D UDPROTO_SSHUB,       /* protocol */
 3209         .bMaxPacketSize =3D 9,                    /* max packet size =
*/
 3210         HSETW(.idVendor, 0x0000),               /* vendor */
 3211         HSETW(.idProduct, 0x0000),              /* product */
 3212         HSETW(.bcdDevice, 0x0100),              /* device version */
 3213         .iManufacturer =3D 1,
 3214         .iProduct =3D 2,
 3215         .iSerialNumber =3D 0,
 3216         .bNumConfigurations =3D 1,

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266037-7>