The NetBSD Project

CVS log for src/sys/dev/pci/xmm7360.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / pci

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.17 / (download) - annotate - [select for diffs], Thu Oct 27 00:01:07 2022 UTC (3 months ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.16: +24 -15 lines
Diff to previous 1.16 (colored)

wwanc(4): Convert to ttylock/ttyunlock.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Feb 12 16:21:27 2022 UTC (11 months, 2 weeks ago) by thorpej
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.15: +13 -9 lines
Diff to previous 1.15 (colored)

Don't dig into the guts of selinfo.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Feb 12 15:51:29 2022 UTC (11 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.14: +2 -6 lines
Diff to previous 1.14 (colored)

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) - annotate - [select for diffs], Sat Feb 12 03:24:36 2022 UTC (11 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.13: +14 -11 lines
Diff to previous 1.13 (colored)

sys: Fix various abuse of struct device internals.

Will help to make struct device opaque later.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Oct 18 08:15:00 2021 UTC (15 months, 1 week ago) by hannken
Branch: MAIN
Changes since 1.12: +6 -3 lines
Diff to previous 1.12 (colored)

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) - annotate - [select for diffs], Mon Oct 11 05:13:10 2021 UTC (15 months, 2 weeks ago) by knakahara
Branch: MAIN
Changes since 1.11: +3 -7 lines
Diff to previous 1.11 (colored)

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) - annotate - [select for diffs], Mon Oct 11 01:07:36 2021 UTC (15 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored)

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) - annotate - [select for diffs], Sun Sep 26 01:16:09 2021 UTC (16 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

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) - annotate - [select for diffs], Sat Aug 7 16:19:14 2021 UTC (17 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Merge thorpej-cfargs2.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Wed Aug 4 21:27:00 2021 UTC (17 months, 3 weeks ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Adapt to CFARGS().

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:30 2021 UTC (17 months, 4 weeks ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.7: +5 -4 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 16 12:20:01 2021 UTC (18 months, 2 weeks ago) by andvar
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base
Branch point for: thorpej-cfargs2
Changes since 1.7: +5 -4 lines
Diff to previous 1.7 (colored)

Add missing RCSID, remove non-breaking space characters in copyright, remove vim modeline (from yambo in IRC).
ok riastradh

Revision 1.7 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:57 2021 UTC (21 months ago) by thorpej
Branch: 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
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

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) - annotate - [select for diffs], Sun Mar 21 21:09:14 2021 UTC (22 months, 1 week ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

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) - annotate - [select for diffs], Wed Jul 29 13:03:36 2020 UTC (2 years, 6 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.5: +6 -4 lines
Diff to previous 1.5 (colored)

fix xmm7360_os_msleep() macro to actually work when not wrapped inside a block

from genua

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 29 13:01:19 2020 UTC (2 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

sprinkle __diagused so this compiles without DIAGNOSTIC

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jul 29 13:00:26 2020 UTC (2 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.3: +10 -1 lines
Diff to previous 1.3 (colored)

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) - annotate - [select for diffs], Mon Jul 27 14:09:00 2020 UTC (2 years, 6 months ago) by riastradh
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

Nix trailing whitespace.

Helpful hint:

(setq show-trailing-whitespace t)

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jul 26 17:12:41 2020 UTC (2 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

fix attribution - I was confused what was the correct final version

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jul 26 14:51:18 2020 UTC (2 years, 6 months ago) by jdolecek
Branch: 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

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.




CVSweb <webmaster@jp.NetBSD.org>