FreeBSD Bugzilla – Attachment 175295 Details for
Bug 213110
[PATCH] Add support for the Sierra MC7430 LTE modem
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add support for the Sierra MC7430 LTE modem
add-sierra-mc7430.patch (text/plain), 2.86 KB, created by
Jose Luis Duran
on 2016-09-30 04:59:17 UTC
(
hide
)
Description:
Add support for the Sierra MC7430 LTE modem
Filename:
MIME Type:
Creator:
Jose Luis Duran
Created:
2016-09-30 04:59:17 UTC
Size:
2.86 KB
patch
obsolete
>diff --git sys/dev/usb/serial/u3g.c sys/dev/usb/serial/u3g.c >index c053b32..e27c95f 100644 >--- sys/dev/usb/serial/u3g.c >+++ sys/dev/usb/serial/u3g.c >@@ -522,6 +522,7 @@ static const STRUCT_USB_HOST_ID u3g_devs[] = { > U3G_DEV(SIERRA, MC5728, 0), > U3G_DEV(SIERRA, MC7354, 0), > U3G_DEV(SIERRA, MC7355, 0), >+ U3G_DEV(SIERRA, MC7430, 0), > U3G_DEV(SIERRA, MC8700, 0), > U3G_DEV(SIERRA, MC8755, 0), > U3G_DEV(SIERRA, MC8755_2, 0), >@@ -631,7 +632,7 @@ u3g_sael_m460_init(struct usb_device *udev) > static const uint8_t setup[][24] = { > { 0x41, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, > { 0x41, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00 }, >- { 0x41, 0x13, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, >+ { 0x41, 0x13, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, > 0x01, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, > 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, > { 0xc1, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x40, 0x02 }, >@@ -643,7 +644,7 @@ u3g_sael_m460_init(struct usb_device *udev) > { 0x41, 0x03, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }, > { 0x41, 0x19, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, > 0x00, 0x00, 0x00, 0x00, 0x11, 0x13 }, >- { 0x41, 0x13, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, >+ { 0x41, 0x13, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, > 0x09, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, > 0x0a, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00 }, > { 0x41, 0x12, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00 }, >@@ -653,7 +654,7 @@ u3g_sael_m460_init(struct usb_device *udev) > { 0x41, 0x19, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, > 0x00, 0x00, 0x00, 0x00, 0x11, 0x13 }, > { 0x41, 0x13, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, >- 0x09, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, >+ 0x09, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, > 0x0a, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00 }, > { 0x41, 0x07, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00 }, > }; >@@ -687,7 +688,7 @@ u3g_sael_m460_init(struct usb_device *udev) > DPRINTFN(0, "too small buffer\n"); > continue; > } >- err = usbd_do_request(udev, NULL, &req, >+ err = usbd_do_request(udev, NULL, &req, > __DECONST(uint8_t *, &setup[n][8])); > } > if (err) { >@@ -863,7 +864,7 @@ u3g_attach(device_t dev) > } > > /* copy in USB config */ >- for (n = 0; n != U3G_N_TRANSFER; n++) >+ for (n = 0; n != U3G_N_TRANSFER; n++) > u3g_config_tmp[n] = u3g_config[n]; > > device_set_usb_desc(dev); >diff --git sys/dev/usb/usbdevs sys/dev/usb/usbdevs >index dc86bbb..4560efb 100644 >--- sys/dev/usb/usbdevs >+++ sys/dev/usb/usbdevs >@@ -4101,6 +4101,7 @@ product SIERRA E6893 0x6893 E6893 > product SIERRA MC8700 0x68A3 MC8700 > product SIERRA MC7354 0x68C0 MC7354 > product SIERRA MC7355 0x9041 MC7355 >+product SIERRA MC7430 0x9071 Sierra Wireless MC7430 Qualcomm Snapdragon X7 LTE-A > product SIERRA AC313U 0x68aa Sierra Wireless AirCard 313U > product SIERRA TRUINSTALL 0x0fff Aircard Tru Installer >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213110
: 175295