User Details
- User Since
- May 14 2014, 7:33 AM (596 w, 13 h)
Sat, Sep 27
Fri, Sep 26
Wed, Sep 24
Tue, Sep 16
Sep 4 2025
Aug 25 2025
A snd_hda driver is split into multiple child devices but there's only one PCI device with one interrupt handler. The child devices are just the way the driver organizes itself internally but they aren't real devices if you ask me. They all share the same lock for example. The bus_*_intr interface isn't used.
Use DRIVER_MODULE_ORDERED
Aug 22 2025
It's just to respect AR and CC. I discovered this on a system where everything is built with ports llvm (no base system compiler installed).
Aug 19 2025
Aug 2 2025
Jul 14 2025
Jul 7 2025
May 31 2025
May 25 2025
May 18 2025
Yes, when unloading a kernel module the drivers defined with DRIVER_MODULE appear to be deleted in reverse order.
May 17 2025
Drain callout and taskqueue before shutting down child devices
May 12 2025
Mar 24 2025
Mar 23 2025
Mar 17 2025
Feb 11 2025
Feb 10 2025
Feb 8 2025
Jan 17 2025
Jan 7 2025
Jan 2 2025
Jan 1 2025
Dec 31 2024
Dec 29 2024
Dec 28 2024
Dec 26 2024
Dec 23 2024
Dec 3 2024
Nov 30 2024
Nov 26 2024
Oct 11 2024
Oct 2 2024
Sep 27 2024
Sep 24 2024
Sep 23 2024
Sep 15 2024
Sep 1 2024
bmake calls uname(3) to define MACHINE and that returns the value of environment variable UNAME_m which is defined by poudriere so MACHINE should be correct. MACHINE_ARCH cannot be obtained through uname(3) so bmake has to call sysctl which will indeed return the native architecture. I think it's best to add MACHINE_ARCH=${ARCH} to WRK_ENV in Mk/bsd.port.mk so it applies to all ports not just kmod ports.