Patch has been updated to use correct files and tested on a live system. Please 
add it to tree.

Thanks.

--- if_athn_usb.c.orig  Thu Apr 15 21:25:44 2021
+++ if_athn_usb.c       Thu Oct 21 18:58:08 2021
@@ -91,6 +91,8 @@
           ATHN_USB_FLAG_AR7010 },
        {{ USB_VENDOR_PANASONIC, USB_PRODUCT_PANASONIC_N5HBZ0000055 },
           ATHN_USB_FLAG_AR7010 },
+       {{ USB_VENDOR_MELCO, USB_PRODUCT_MELCO_UWABR100 },
+          ATHN_USB_FLAG_AR7010 },
        {{ USB_VENDOR_VIA, USB_PRODUCT_VIA_AR9271 }}
 };
 #define athn_usb_lookup(v, p)  \


--- usbdevs.orig        Wed Sep  1 01:55:56 2021
+++ usbdevs     Sun Oct 24 17:03:13 2021
@@ -3079,6 +3079,7 @@
 product MELCO WLIUCGNHP                0x0158  WLI-UC-GNHP
 product MELCO WLIUCGN          0x015d  WLI-UC-GN
 product MELCO WLIUCG301N       0x016f  WLI-UC-G301N
+product MELCO UWABR100         0x017f  SONY UWA-BR100
 product MELCO WLIUCGNM         0x01a2  WLI-UC-GNM
 product MELCO WLIUCGNM2                0x01ee  WLI-UC-GNM2


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, October 23, 2021 8:55 AM, Stefan Sperling <s...@stsp.name> wrote:

> On Fri, Oct 22, 2021 at 07:02:20PM +0000, Martin wrote:
>
> > Hi Stefan,
> > Dev. patches to implement into source tree to recognize automatically Sony 
> > UWA-BR100 devices based on AR9280+AR7010.
>
> This patch is changing the wrong files.
> It should change the files 'usbdevs' and if_athn_usb.c only.
>
> usbdevs.h is a generated file, it should not be patched.
> It can be re-generated by running 'make' in the sys/dev/usb directory.
>
> > --- if_athn_usb.c.orig Tue Jun 8 15:29:31 2021
> > +++ if_athn_usb.c Tue Jun 8 15:34:11 2021
> > @@ -91,6 +91,8 @@
> > ATHN_USB_FLAG_AR7010 },
> > {{ USB_VENDOR_PANASONIC, USB_PRODUCT_PANASONIC_N5HBZ0000055 },
> > ATHN_USB_FLAG_AR7010 },
> >
> > -   {{ USB_VENDOR_MELCO, USB_PRODUCT_MELCO_UWABR100 },
> > -   ATHN_USB_FLAG_AR7010 },
> >     {{ USB_VENDOR_VIA, USB_PRODUCT_VIA_AR9271 }}
> >     };
> >     #define athn_usb_lookup(v, p) \
> >     --- usbdevs.h.orig Tue Jun 1 09:40:48 2021
> >     +++ usbdevs.h Tue Jun 8 15:30:51 2021
> >     @@ -3077,6 +3077,7 @@
> >     #define USB_PRODUCT_MELCO_WLIUCGNHP 0x0158 /* WLI-UC-GNHP /
> >     #define USB_PRODUCT_MELCO_WLIUCGN 0x015d / WLI-UC-GN /
> >     #define USB_PRODUCT_MELCO_WLIUCG301N 0x016f / WLI-UC-G301N /
> >     +#define USB_PRODUCT_MELCO_UWABR100 0x017f / SONY UWA-BR100 /
> >     #define USB_PRODUCT_MELCO_WLIUCGNM 0x01a2 / WLI-UC-GNM /
> >     #define USB_PRODUCT_MELCO_WLIUCGNM2 0x01ee / WLI-UC-GNM2 */Thanks for 
> > your attention.
> >     Martin
> >


Reply via email to