Up to [cvs.NetBSD.org] / src / sys / dev / ic
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.14 / (download) - annotate - [select for diffs], Sat Dec 3 16:06:20 2022 UTC (15 months, 3 weeks ago) by mlelstv
Branch: MAIN
CVS Tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
HEAD
Changes since 1.13: +4 -1
lines
Diff to previous 1.13 (colored) to selected 1.5 (colored)
Fix bug in protocol parser that often caused fatal 'checksum error'. Defer power save setting to interface start. More verbose on errors. Allow build without FDT.
Revision 1.13 / (download) - annotate - [select for diffs], Mon Mar 14 06:40:12 2022 UTC (2 years ago) by mlelstv
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Changes since 1.12: +12 -2
lines
Diff to previous 1.12 (colored) to selected 1.5 (colored)
Add OpenBSD to code to optionally load CLM (Country Locale Matrix) files.
Revision 1.3.6.2 / (download) - annotate - [select for diffs], Mon Aug 17 11:22:45 2020 UTC (3 years, 7 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE
Changes since 1.3.6.1: +23 -4
lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.5 (colored)
Pull up following revision(s) (requested by mrg in ticket #1052): sys/dev/ic/bwfm.c: revision 1.28 sys/dev/ic/bwfm.c: revision 1.29 sys/dev/sdmmc/if_bwfm_sdio.c: revision 1.22 sys/dev/ic/bwfmreg.h: revision 1.7 sys/dev/ic/bwfmvar.h: revision 1.11 sys/dev/ic/bwfmvar.h: revision 1.12 (all via patch) Add include guards and appropriate includes to bwfmreg.h, bwfmvar.h. No functional change intended. Need <sys/kmem.h> for kmem_*. Currently accidentally side-loaded by <sys/pcq.h>. bwfm: Switch from pcq to pool_cache. pcq_get is required to be serialized, but it's far from clear that it is serialized here.
Revision 1.12 / (download) - annotate - [select for diffs], Wed Jul 22 17:23:52 2020 UTC (3 years, 8 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Changes since 1.11: +3 -4
lines
Diff to previous 1.11 (colored) to selected 1.5 (colored)
bwfm: Switch from pcq to pool_cache. pcq_get is required to be serialized, but it's far from clear that it is serialized here.
Revision 1.11 / (download) - annotate - [select for diffs], Wed Jul 22 17:21:25 2020 UTC (3 years, 8 months ago) by riastradh
Branch: MAIN
Changes since 1.10: +21 -2
lines
Diff to previous 1.10 (colored) to selected 1.5 (colored)
Add include guards and appropriate includes to bwfmreg.h, bwfmvar.h. No functional change intended.
Revision 1.10 / (download) - annotate - [select for diffs], Sat May 30 15:55:47 2020 UTC (3 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.9: +6 -1
lines
Diff to previous 1.9 (colored) to selected 1.5 (colored)
discussed with thorpej@, and it seems it's better to allocate the bss alignment buffer statically (as part of softc) just to be sure to not affect performance
Revision 1.9 / (download) - annotate - [select for diffs], Sat May 30 13:41:58 2020 UTC (3 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.8: +5 -5
lines
Diff to previous 1.8 (colored) to selected 1.5 (colored)
constify, and make static where possible
Revision 1.2.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:21 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.2.2.2: +7 -1
lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.5 (colored)
Mostly merge changes from HEAD upto 20200411
Revision 1.2.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:06 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.2.2.1: +55 -2
lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) to selected 1.5 (colored)
Merge changes from current as of 20200406
Revision 1.8 / (download) - annotate - [select for diffs], Wed Mar 25 04:53:11 2020 UTC (4 years ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Changes since 1.7: +3 -2
lines
Diff to previous 1.7 (colored) to selected 1.5 (colored)
Add a file type entry for CLM files.
Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 25 03:44:44 2020 UTC (4 years ago) by thorpej
Branch: MAIN
Changes since 1.6: +51 -2
lines
Diff to previous 1.6 (colored) to selected 1.5 (colored)
- Refactor the firmware loading code into a set of common routines in the core driver that understand how to find model-specific files before the generic files. This greatly simplifies the firmware loading procedure in each of the bus front ends. Adding additional firmware file types (such as CLM files) much simpler. - Make firmware image selection table-driven rather than a set of switch() and if() statements. - Add several additional firmware image entries.
Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 22 23:38:47 2020 UTC (4 years ago) by thorpej
Branch: MAIN
Changes since 1.5: +4 -1
lines
Diff to previous 1.5 (colored)
Add a few more chip ID.
Revision 1.3.6.1 / (download) - annotate - [select for diffs], Tue Feb 25 18:40:43 2020 UTC (4 years, 1 month ago) by martin
Branch: netbsd-9
Changes since 1.3: +8 -2
lines
Diff to previous 1.3 (colored) to selected 1.5 (colored)
Pull up following revision(s) (requested by mrg in ticket #717): sys/dev/fdt/dwcmmc_fdt.c 1.11 sys/dev/ic/bwfm.c 1.15-1.18 sys/dev/ic/bwfmreg.h 1.4-1.6 sys/dev/ic/bwfmvar.h 1.4,1.5 sys/dev/ic/dwc_mmc.c 1.21,1.22 sys/dev/ic/dwc_mmc_reg.h 1.8,1.9,1.12,1.13 sys/dev/pcmcia/pcmciareg.h 1.11 sys/dev/sdmmc/if_bwfm_sdio.c 1.4,1.6-1.12 sys/dev/sdmmc/if_bwfm_sdio.h 1.1,1.2 sys/dev/sdmmc/sdhc.c 1.105,1.106 sys/dev/sdmmc/sdmmc.c 1.37,1.39 sys/dev/sdmmc/sdmmc_cis.c 1.6,1.8 sys/dev/sdmmc/sdmmc_io.c 1.15-1.19 sys/dev/sdmmc/sdmmc_ioreg.h 1.4,1.5 sys/dev/sdmmc/sdmmc_mem.c 1.69-1.71 sys/dev/sdmmc/sdmmcdevs 1.5-1.8 sys/dev/sdmmc/sdmmcvar.h 1.31,1.33,1.34 sys/net/if_media.h 1.66 Add Broadcom devices - Fix typo - add PCMCIA_CISTPL_SDIO definition. - From OpenBSD: - move event handling to workqueue - check for save/restore capability - Tag work queue as MPsafe and increase length. - Juse use bpf_mtap(), the 802.11 encapsulation is handled by firmware. - From OpenBSD: - support block length per function - add functions to read/write regions - Decode (but not use) SDIO tuple in CIS. - Fix locking. - Add more SDIO defines (partially from version 3.0). - From OpenBSD: - All the missing pieces (firmware load, chip setup, protocol handling) TX queue and interrupt handling via sdmmc_task. - Fix locking. - Fix packet parsing. - Add parser for original firmware config files. - tagging work queue as MPSAFE was premature. Revert. - SD_IO_RW_EXTENDED is a data transfer command, so set ADTC flag instead of AC Use correct function to verify if a task has been queued. Avoids race that can corrupt the task queue. - More register definitions. - Add IFM_IEEE80211_VHT subtype, IFM_IEEE80211_11AC operating mode, and missing descriptions - If firmware is connected in HT or VHT mode, report it to SIOCGIFMEDIA - white space police. Skip setting power when the voltage doesn't change. Also increase some timeouts. - Add and use sdmmc_pause to avoid long-term busy waits. - Add sdio abort function. - Additional error messages. - Print parameters for SDIO devices. - Minor cosmetics. - Simplyfy sdmmc_io_set_blocklen function signature by dropping the extra softc pointer. Aligns with OpenBSD. - Missing commit for sdio abort function. - More code from OpenBSD - no need to splnet() when enqueing packets - explicit structure padding - make internal functions static - also prepare for GPIO interrupts. - Avoid warnings for tautological shifts as sole conditional. - Follow the Linux driver an use the FDT "compatible" property to build a filename for the nvram config file, fall back to the standard filename. E.g. [Caching 123 nodes and 1093 properties] compatible 73696e6f 766f6970 2c627069 2d6d322d "sinovoip,bpi-m2- 0010: 7a65726f 00...... ........ ........ zero" 0015: 616c6c77 696e6e65 722c7375 6e38692d "allwinner,sun8i- 0025: 68322d70 6c757300 ........ ........ h2-plus" interrupt-parent 00000001 ........ ........ ........ .... model 42616e61 6e612050 69204250 492d4d32 "Banana Pi BPI-M2 0010: 2d5a6572 6f00.... ........ ........ -Zero" name 00...... ........ ........ ........ "" serial-number 30326330 30303432 65636431 36376566 02c00042ecd167ef 0010: 00...... ........ ........ ........ . -rw-r--r-- 1 root wheel 875 Nov 2 12:06 brcmfmac43430-sdio.AP6212.txt lrwxr-xr-x 1 root wheel 29 Dec 30 16:19 brcmfmac43430-sdio.sinovoip,bpi-m2-zero.txt -> brcmfmac43430-sdio.AP6212.txt -rw-r--r-- 1 root wheel 874 Jun 30 2019 brcmfmac43430-sdio.raspberrypi,3-model-b.txt -rw-r--r-- 1 root wheel 1864 Jun 30 2019 brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt lrwxr-xr-x 1 root wheel 29 Dec 30 11:24 brcmfmac43455-sdio.raspberrypi,4-model-b-plus.txt -> brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt - Add product ID for Broadcom BCM43455 - Use correct firmware for BCM43456 - size check was backwards. - Be less noisy for some commands. - Fix DWC_MMC_INT_SDIO_INT bit - dwc_mmc fixes: - Rockchip uses a different SDIO int bit, so take this into consideration - Avoid unnecessary resets and always wait for resets to complete - kpause instead of delay while holding spinlock - Do not attempt autostop for SD_IO_RW_EXTENDED commands - Allow for sub-blklen byte counts for single block transfers - More SDIO stability and performance fixes
Revision 1.5 / (download) - annotate - [selected], Mon Oct 28 06:37:51 2019 UTC (4 years, 5 months ago) by mlelstv
Branch: MAIN
CVS Tags: phil-wifi-20191119,
is-mlppp-base,
is-mlppp,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Changes since 1.4: +3 -1
lines
Diff to previous 1.4 (colored)
More code from OpenBSD no need to splnet() when enqueing packets explicit structure padding make internal functions static also prepare for GPIO interrupts.
Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 1 05:40:39 2019 UTC (4 years, 6 months ago) by mlelstv
Branch: MAIN
Changes since 1.3: +6 -2
lines
Diff to previous 1.3 (colored) to selected 1.5 (colored)
From OpenBSD: - move event handling to workqueue - check for save/restore capability Tag work queue as MPsafe and increase length. Juse use bpf_mtap(), the 802.11 encapsulation is handled by firmware.
Revision 1.2.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:10 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored) to selected 1.5 (colored)
Sync with HEAD
Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Oct 31 09:23:00 2018 UTC (5 years, 4 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Changes since 1.3.2.1: +183 -0
lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.5 (colored)
Backport of bfwm code, requested by maya in ticket #1072: sys/dev/ic/bwfm.c 1.14 sys/dev/ic/bwfmreg.h 1.3 sys/dev/ic/bwfmvar.h 1.3 sys/dev/pci/if_bwfm_pci.c 1.4 sys/dev/pci/if_bwfm_pci.h 1.8 sys/dev/usb/if_bwfm_usb.c 1.8 via patch.
Revision 1.1.4.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:49 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.1.4.1: +2 -2
lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.5 (colored)
Sync with HEAD Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.3.2.1, Sat Sep 1 22:01:03 2018 UTC (5 years, 6 months ago) by martin
Branch: netbsd-8
Changes since 1.3: +0 -183
lines
FILE REMOVED
file bwfmvar.h was added on branch netbsd-8 on 2018-10-31 09:23:00 +0000
Revision 1.3 / (download) - annotate - [select for diffs], Sat Sep 1 22:01:03 2018 UTC (5 years, 6 months ago) by riastradh
Branch: MAIN
CVS Tags: phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
netbsd-9-base,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
isaki-audio2-base,
isaki-audio2
Branch point for: netbsd-9,
netbsd-8
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored) to selected 1.5 (colored)
bwfm has only one tx descriptor; limit mbuf chains to one segment. PR kern/53287 Can't use m_defrag because it always yields two segments. Discussion on tech-net: https://mail-index.netbsd.org/tech-net/2018/09/01/msg007031.html Diagnosed and tested by maya.
Revision 1.1.4.1 / (download) - annotate - [select for diffs], Mon May 21 04:36:05 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1: +16 -3
lines
Diff to previous 1.1 (colored) to selected 1.5 (colored)
Sync with HEAD
Revision 1.2 / (download) - annotate - [select for diffs], Fri May 11 07:41:11 2018 UTC (5 years, 10 months ago) by maya
Branch: MAIN
CVS Tags: phil-wifi-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.1: +16 -3
lines
Diff to previous 1.1 (colored) to selected 1.5 (colored)
sync with openbsd bwfm to some extent. add a txcheck set chip active/passive for more kinds of chips add wrapper around setting active/passive detect chip RAM make bwfm_rx take an mbuf
Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:03 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1.2.1: +170 -0
lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.5 (colored)
update from HEAD
Revision 1.1.2.1, Thu Oct 19 23:58:41 2017 UTC (6 years, 5 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1: +0 -170
lines
FILE REMOVED
file bwfmvar.h was added on branch tls-maxphys on 2017-12-03 11:37:03 +0000
Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 19 23:58:41 2017 UTC (6 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202,
pgoyette-compat-base,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: tls-maxphys,
pgoyette-compat
Diff to selected 1.5 (colored)
Add driver for Broadcom 802.11a/b/g/n/ac USB wireless devices, based on the OpenBSD bwfm(4) driver.