[Bug 266037] reading xhci_devd structure dynamically

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 25 Aug 2022 17:24:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266037

            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 device
??

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

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