NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/54070: urtwn(4) does not work on OHCI
The following reply was made to PR kern/54070; it has been noted by GNATS.
From: Nick Hudson <nick.hudson%gmx.co.uk@localhost>
To: gnats-bugs%netbsd.org@localhost, kern-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
Andreas Gustafsson <gson%gson.org@localhost>
Cc:
Subject: Re: kern/54070: urtwn(4) does not work on OHCI
Date: Thu, 28 Nov 2019 07:36:30 +0000
This is a multi-part message in MIME format.
--------------C60D37FCA30B99AC048D2B86
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
How about this untested patch?
I think it might help 50278 as well.
Nick
--------------C60D37FCA30B99AC048D2B86
Content-Type: text/plain; charset=UTF-8;
name="ohci.c.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="ohci.c.diff"
SW5kZXg6IHN5cy9kZXYvdXNiL29oY2kuYwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvY3Zz
cm9vdC9zcmMvc3lzL2Rldi91c2Ivb2hjaS5jLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjI5
MApkaWZmIC11IC1wIC1yMS4yOTAgb2hjaS5jCi0tLSBzeXMvZGV2L3VzYi9vaGNpLmMJMTEg
QXVnIDIwMTkgMjI6NTU6MDMgLTAwMDAJMS4yOTAKKysrIHN5cy9kZXYvdXNiL29oY2kuYwky
OCBOb3YgMjAxOSAwNzozNToxMyAtMDAwMApAQCAtMTUxNSw4ICsxNTE1LDkgQEAgb2hjaV9z
b2Z0aW50cih2b2lkICp2KQogCiAJCQlvaGNpX3NvZnRfZWRfdCAqc2VkID0gb3BpcGUtPnNl
ZDsKIAotCQkJLyogY2xlYXIgaGFsdCBhbmQgVEQgY2hhaW4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