> Do you have a diff(1) file of your changes? That makes reviewing and applying > your changes easier and less error-prone on our end because it can be applied > by a tool instead of manually searching line 1474 in a file and modifying it. > If you use git, hg or any other version control system, they should have an > option to export a diff. Attaching a diff against a NetBSD-current CVS checkout dated 2026-10-19 09:38:27 UTC (because I'm using Jun Ebihara's image from that date). The changes have been tested on a Raspberry Pi Zero 2 W running NetBSD 11.99.9. > > The bcmgpio change looks ok, although I think you can lower it to pass 2? The > gpio driver depends on interrupts, which are initialized in pass 1. Generally, > try to keep the pass number as low as possible. > I've tested this with pass 2 and it works. > Lastly, in your last message you mentioned your using LLMs for this project. > Please be aware of the NetBSD LLM policy on writing code. For one-line fixes > like the bcmgpio change, I’d let it pass because there is only one way to do it, > but bigger changes must be human written. (debugging is not forbidden though) Yes, I'm using LLMs only to help me understand the code that already exists in the NetBSD code base, debugging and troubleshooting, not to generate code, the attached code is mine.
Attachment:
rpi-zero2w-bluetooth.diff
Description: Binary data