Up to [cvs.NetBSD.org] / src / sys / dev / pci
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.11 / (download) - annotate - [select for diffs], Thu Aug 26 21:33:36 2021 UTC (4 weeks, 4 days ago) by andvar
CVS Tags: HEAD
Changes since 1.10: +4 -1 lines
Diff to previous 1.10 (colored)
Add missing RCSID in header files and one __KERNEL_RCSID().
Revision 1.10 / (download) - annotate - [select for diffs], Sat May 8 00:27:02 2021 UTC (4 months, 3 weeks ago) by thorpej
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.9: +10 -15 lines
Diff to previous 1.9 (colored)
Revision 1.9 / (download) - annotate - [select for diffs], Sat May 30 15:55:47 2020 UTC (15 months, 4 weeks ago) by jdolecek
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs
Branch point for: thorpej-i2c-spi-conf
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Sat May 30 13:41:58 2020 UTC (15 months, 4 weeks ago) by jdolecek
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)
constify, and make static where possible
Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 25 03:44:45 2020 UTC (18 months ago) by thorpej
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.6: +75 -55 lines
Diff to previous 1.6 (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 Dec 9 11:14:02 2018 UTC (2 years, 9 months ago) by jdolecek
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)
use pci_intr_establish_xname() everywhere
Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 1 13:09:35 2018 UTC (2 years, 10 months ago) by martin
CVS Tags: pgoyette-compat-1126
Changes since 1.4: +14 -9 lines
Diff to previous 1.4 (colored)
Make this compilable with 32bit paddr_t.
Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 15 16:29:10 2018 UTC (2 years, 11 months ago) by maya
CVS Tags: pgoyette-compat-1020
Branch point for: netbsd-8
Changes since 1.3: +25 -2 lines
Diff to previous 1.3 (colored)
Apply OpenBSD if_bwfm_pci.c:1.25 by patrick: Add bus_dmamap_sync(9) calls to bwfm(4) so that we make sure the data is synced properly before the CPU or the WiFi chip access the supplied memory. Makes PCIe-connected bwfm(4) work on ARM-based machines.
Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:32 2018 UTC (3 years ago) by riastradh
CVS Tags: pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)
Rename min/max -> uimin/uimax for better honesty. These functions are defined on unsigned int. The generic name min/max should not silently truncate to 32 bits on 64-bit systems. This is purely a name change -- no functional change intended. HOWEVER! Some subsystems have #define min(a, b) ((a) < (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? (a) : (b)) even though our standard name for that is MIN/MAX. Although these may invite multiple evaluation bugs, these do _not_ cause integer truncation. To avoid `fixing' these cases, I first changed the name in libkern, and then compile-tested every file where min/max occurred in order to confirm that it failed -- and thus confirm that nothing shadowed min/max -- before changing it. I have left a handful of bootloaders that are too annoying to compile-test, and some dead code: cobalt ews4800mips hp300 hppa ia64 luna68k vax acorn32/if_ie.c (not included in any kernels) macppc/if_gm.c (superseded by gem(4)) It should be easy to fix the fallout once identified -- this way of doing things fails safe, and the goal here, after all, is to _avoid_ silent integer truncations, not introduce them. Maybe one day we can reintroduce min/max as type-generic things that never silently truncate. But we should avoid doing that for a while, so that existing code has a chance to be detected by the compiler for conversion to uimin/uimax without changing the semantics until we can properly audit it all. (Who knows, maybe in some cases integer truncation is actually intended!)
Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 1 22:01:03 2018 UTC (3 years ago) by riastradh
Changes since 1.1: +36 -19 lines
Diff to previous 1.1 (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 / (download) - annotate - [select for diffs], Fri May 11 07:42:22 2018 UTC (3 years, 4 months ago) by maya
CVS Tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi, pgoyette-compat
add bwfm pci support, from openbsd Tested on BCM43602.
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.