From nobody Thu Aug 25 17:24:52 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MD8wh5RQ5z4b2VV for ; Thu, 25 Aug 2022 17:24:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MD8wh3hqjz3Hc1 for ; Thu, 25 Aug 2022 17:24:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MD8wh2ZV8zwWr for ; Thu, 25 Aug 2022 17:24:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 27PHOq0o005560 for ; Thu, 25 Aug 2022 17:24:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27PHOq4Z005559 for freebsd-arm@FreeBSD.org; Thu, 25 Aug 2022 17:24:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 266037] reading xhci_devd structure dynamically Date: Thu, 25 Aug 2022 17:24:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 12.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: nitin.gupta981@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661448292; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dRmyADfsKAKheWuK30r/sVim/LzTUwwPDsTQ0rTJ2ZY=; b=Wo+jO+Eju0CP/5nCSzqtpqGsslBRKpVrtGy1lSwKC1FQdiDlUZoeQ+DtWEPfaOSZsYdDO8 KinsAXBqJ9V+Gbr+Z/kTXUNyjUNS1/794A683ZLSDo1C3ZuWUnSpMxaYgRpBKDE1OysL9a qPoRjpFG1kkdL+OUTai7AOjH1hT9zbK4dPPnn1Z8SZpQBa4LF3hXUXfcugLRzcHde4vgeB XIxvNrpRwTLYcfifOKAlBoWBj3k/D0su8HzwqshHiyRxydFyul6Ry0D25WHHxZsGhHFky5 mDMX7zrzXwdNKa9hVyZ9NJX/xzQUy6MnlJCcZ/v5eQ+BH2t2eWJrCAazN548Lg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661448292; a=rsa-sha256; cv=none; b=wbe33pRCv7hoYCOlPupfv4jrYmPDkOR/IpIbQ5WbsMPFhbGRcwCad3fN63VR/mS5pgYwdu iFXo1f7IbsPZlJSzX4/fTk0qc8oawhZDugTUpB7c0O+oMDXk0ermkAKA9TQEHOp57Eunbu ZW/Yp0yJUBO1+JcC3AfMQlyzg4pL8ZdNk60lU4Kffw2NRUh8m8VG0564qepYY6++vg1QaA 2l5TVg4UMHJI+5eSw8lZUPF+DFU52N8978Sv9d//rn2I693DK2M87YmUUFnkU6+T4A/tKE EUXqRA4nir7KuzTPToQt+MJHWogjK/t8sPFA9cHApTPpOhzKcys4XKjzAEJcPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=