Hi tech@,

Here is a diff to enable bwfm(4) on armv7 RAMDISK for SD/MMC and USB
devices. Discussed with patrick@.

Tested on a Cubieboard2 by building a RAMDISK kernel, which shows my
USB Wi-Fi dongle attaching when booting it.

I checked the miniroot images and they all have several megabytes of
free space:

Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/vnd0a    14.9M   12.0M    3.0M    80%    /mnt

Comments? OK?

Index: arch/armv7/conf/RAMDISK
===================================================================
RCS file: /cvs/src/sys/arch/armv7/conf/RAMDISK,v
retrieving revision 1.118
diff -u -p -r1.118 RAMDISK
--- arch/armv7/conf/RAMDISK     29 Apr 2020 19:30:58 -0000      1.118
+++ arch/armv7/conf/RAMDISK     17 Jun 2020 10:05:23 -0000
@@ -126,6 +126,7 @@ pci*                at pciecam?
 
 sdhc*          at fdt?
 sdmmc*         at sdhc?
+bwfm*          at sdmmc?               # Broadcom FullMAC
 
 psci*          at fdt? early 1
 syscon*                at fdt? early 1
@@ -272,6 +273,7 @@ rsu*                at uhub?                # Realtek 
RTL8188SU/RTL8
 uath*          at uhub?                # Atheros AR5005UG/AR5005UX
 otus*          at uhub?                # Atheros AR9001U
 athn*          at uhub?                # Atheros AR9002U
+bwfm*          at uhub?                # Broadcom FullMAC
 
 atphy*         at mii?                 # Attansic F1 PHYs
 rgephy*                at mii?                 # Realtek 8169S/8110S PHY

Reply via email to