On Fri, Oct 31, 2014 at 8:42 PM, Mike Larkin <[email protected]> wrote:
> On Fri, Oct 31, 2014 at 03:36:50PM -0400, Ted Unangst wrote:
>> On Fri, Oct 31, 2014 at 10:24, Matt Markfort wrote:
>> > I have made these recent changes to my personal code base of the
>> > OpenBSD_5_4-release kernel, and it may be useful to commit to -current.
>> >
>> > I found the information here for the ATHEROS UB94 USB 802.11a/b/g/n
>> > adapter, and I have tested it with my system.
>> >
>> > http://wireless.kernel.org/en/users/Drivers/ath9k_htc#Chipsets_supported
>> >
>> > Please reply with any pertinent comments.
>>
>> Inline patches are preferred, as below.
>>
>> Otherwise, pretty simple. Looks alright to me. (usbdevs.h will be
>> regenerated after usbdevs changes.)
>>
>> --- /var/tmp/src/sys/dev/usb/usbdevs.h Sun Jul 21 11:48:13 2013
>> +++ /usr/src/sys/dev/usb/usbdevs.h Thu Oct 30 21:26:03 2014
>> @@ -3115,6 +3115,7 @@
>> #define USB_PRODUCT_PANASONIC_LS120 0x0901 /* LS-120 */
>> #define USB_PRODUCT_PANASONIC_SDCAAE 0x1b00 /*
>> MultiMediaCard */
>> #define USB_PRODUCT_PANASONIC_TYTP50P6S 0x3900 /* TY-TP50P6-S
>> 50in Touch Panel */
>> +#define USB_PRODUCT_PANASONIC_N5HBZ0000055 0x3904 /* N5HBZ0000055
>> AR7010+AR9280 USB (UB94) */
>>
>
> Probably want to wrap that line for KNF.
>
>> /* Papouch products */
>> #define USB_PRODUCT_PAPOUCH_SB485_1 0x0100 /* SB485
>> USB-485/422 */
>>
>> --- /var/tmp/src/sys/dev/usb/usbdevs Sun Jul 21 11:48:13 2013
>> +++ /usr/src/sys/dev/usb/usbdevs Thu Oct 30 21:15:17 2014
>> @@ -3108,6 +3108,7 @@
>> product PANASONIC LS120 0x0901 LS-120
>> product PANASONIC SDCAAE 0x1b00 MultiMediaCard
>> product PANASONIC TYTP50P6S 0x3900 TY-TP50P6-S 50in Touch Panel
>> +product PANASONIC N5HBZ0000055 0x3904 UB94
>>
>> /* Papouch products */
>> product PAPOUCH SB485_1 0x0100 SB485 USB-485/422
>>
>>
>> --- /var/tmp/src/sys/dev/usb/if_athn_usb.c Sun Jul 7 11:22:36 2013
>> +++ /usr/src/sys/dev/usb/if_athn_usb.c Thu Oct 30 21:35:48 2014
>> @@ -80,6 +80,8 @@
>> ATHN_USB_FLAG_AR7010 },
>> {{ USB_VENDOR_ATHEROS2, USB_PRODUCT_ATHEROS2_AR9287 },
>> ATHN_USB_FLAG_AR7010 },
>> + {{ USB_VENDOR_PANASONIC, USB_PRODUCT_PANASONIC_N5HBZ0000055 },
>> + ATHN_USB_FLAG_AR7010 },
>> {{ USB_VENDOR_AZUREWAVE, USB_PRODUCT_AZUREWAVE_AR9271_1 }},
>> {{ USB_VENDOR_AZUREWAVE, USB_PRODUCT_AZUREWAVE_AR9271_2 }},
>> {{ USB_VENDOR_AZUREWAVE, USB_PRODUCT_AZUREWAVE_AR9271_3 }},
>>
And please keep the entries sorted alphabetically.
other than that, it's ok with me.
Ciao!
David
--
"If you try a few times and give up, you'll never get there. But if
you keep at it... There's a lot of problems in the world which can
really be solved by applying two or three times the persistence that
other people will."
-- Stewart Nelson