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