CVS log for src/sys/dev/pci/xmm7360.c
Up to [cvs.NetBSD.org] / src / sys / dev / pci
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.17.6.1: download - view: text, markup, annotated - select for diffs
Wed Nov 15 02:08:33 2023 UTC (12 months, 2 weeks ago) by thorpej
Branches: thorpej-ifq
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -3
lines
Rename ifq_enqueue() -> if_enqueue(), ifq_enqueue2() -> if_enqueue2().
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Oct 27 00:01:07 2022 UTC (2 years, 1 month ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
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
Branch point for: thorpej-ifq
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +24 -15
lines
wwanc(4): Convert to ttylock/ttyunlock.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Feb 12 16:21:27 2022 UTC (2 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +13 -9
lines
Don't dig into the guts of selinfo.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Feb 12 15:51:29 2022 UTC (2 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -6
lines
Add inline functions to manipulate the klists that link up knotes
via kn_selnext:
- klist_init()
- klist_fini()
- klist_insert()
- klist_remove()
These provide some API insulation from the implementation details of these
lists (but not completely; see vn_knote_attach() and vn_knote_detach()).
Currently just a wrapper around SLIST(9).
This will make it significantly easier to switch kn_selnext linkage
to a different kind of list.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Feb 12 03:24:36 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +14 -11
lines
sys: Fix various abuse of struct device internals.
Will help to make struct device opaque later.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Oct 18 08:15:00 2021 UTC (3 years, 1 month ago) by hannken
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +6 -3
lines
Use a local static variable to hold "pktq_rps_hash_default"
like the other devices do.
Kernel ALL/amd64 compiles again.
OK: Kengo NAKAHARA <knakahara@netbsd.org>
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Oct 11 05:13:10 2021 UTC (3 years, 1 month ago) by knakahara
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -7
lines
Make pktq_rps_hash() pluggable for each interface type. Reviewed by gdt@n.o, thorpej@n.o, and riastradh@n.o, thanks.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Oct 11 01:07:36 2021 UTC (3 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -3
lines
Setting EV_EOF requires modifying kn->kn_flags. However, that relies on
holding the kq_lock of that note's kq. Rather than exposing this directly,
add new knote_set_eof() and knote_clear_eof() functions that handle the
necessary locking and don't leak as many implementation details to modules.
NetBSD 9.99.91
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Sep 26 01:16:09 2021 UTC (3 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3
lines
Change the kqueue filterops::f_isfd field to filterops::f_flags, and
define a flag FILTEROP_ISFD that has the meaning of the prior f_isfd.
Field and flag name aligned with OpenBSD.
This does not constitute a functional or ABI change, as the field location
and size, and the value placed in that field, are the same as the previous
code, but we're bumping __NetBSD_Version__ so 3rd-party module source code
can adapt, as needed.
NetBSD 9.99.89
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:14 2021 UTC (3 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3
lines
Merge thorpej-cfargs2.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 21:27:00 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +3 -3
lines
Adapt to CFARGS().
Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:30 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +5 -4
lines
Sync with HEAD.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jul 16 12:20:01 2021 UTC (3 years, 4 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base
Branch point for: thorpej-cfargs2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -4
lines
Add missing RCSID, remove non-breaking space characters in copyright, remove vim modeline (from yambo in IRC).
ok riastradh
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:57 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.
Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)
Remove unnecessary or redundant interface attributes where they're not
needed.
There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:09:14 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +2 -2
lines
Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jul 29 13:03:36 2020 UTC (4 years, 4 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-futex,
thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -4
lines
fix xmm7360_os_msleep() macro to actually work when not wrapped inside a block
from genua
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jul 29 13:01:19 2020 UTC (4 years, 4 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4
lines
sprinkle __diagused so this compiles without DIAGNOSTIC
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jul 29 13:00:26 2020 UTC (4 years, 4 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +10 -1
lines
adjust OpenBSD mbuf handling so tcpdump(1) works there; from genua
keep code as-is for NetBSD, DLT_RAW works there
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jul 27 14:09:00 2020 UTC (4 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4
lines
Nix trailing whitespace.
Helpful hint:
(setq show-trailing-whitespace t)
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jul 26 17:12:41 2020 UTC (4 years, 4 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3
lines
fix attribution - I was confused what was the correct final version
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jul 26 14:51:18 2020 UTC (4 years, 4 months ago) by jdolecek
Branches: MAIN
Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci
This version works on Linux, OpenBSD, and NetBSD.
OpenBSD port written for genua GmbH
Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly
CVSweb <webmaster@jp.NetBSD.org>