CVS log for src/sys/dev/pci/coram.c
Up to [cvs.NetBSD.org] / src / sys / dev / pci
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.20.12.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:22:04 2026 UTC (11 days, 14 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +3 -9
lines
Sync with HEAD
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Sep 15 13:23:03 2025 UTC (14 months ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
HEAD
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -9
lines
Encapsulate what's needed to attach an I2C bus into a iicbus_attach()
inline.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:14 2021 UTC (5 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
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,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: perseant-exfatfs
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -6
lines
Merge thorpej-cfargs2.
Revision 1.19.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 21:27:00 2021 UTC (5 years, 3 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +4 -6
lines
Adapt to CFARGS().
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:57 2021 UTC (5 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-cfargs2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +8 -6
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.18.10.1: download - view: text, markup, annotated - select for diffs
Fri Apr 2 22:17:44 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +8 -6
lines
config_found_ia() -> config_found() w/ CFARG_IATTR.
Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:09 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +7 -42
lines
Merge changes from current as of 20200406
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Dec 23 15:31:31 2019 UTC (6 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-futex,
thorpej-cfargs-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: thorpej-cfargs
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -5
lines
No need to use I2C_F_POLL here.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Dec 22 23:23:32 2019 UTC (6 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -39
lines
Cleanup i2c bus acquire / release, centralizing all of the logic into
iic_acquire_bus() / iic_release_bus(). "acquire" and "release" hooks
no longer need to be provided by back-end controller drivers (only if
they need special handling, e.g. powering on the i2c controller).
This results in the removal of a bunch of rendundant code from each
back-end controller driver.
Assert that we are not in hard interrupt context in iic_acquire_bus(),
iic_exec(), and iic_release_bus().
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:15 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -3
lines
Sync with HEAD
Revision 1.14.8.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:49 2018 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.14.8.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.8.1: +4 -3
lines
Sync with HEAD, resolve a few conflicts
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Dec 9 11:14:01 2018 UTC (7 years, 11 months ago) by jdolecek
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
netbsd-9-base,
netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
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
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -3
lines
use pci_intr_establish_xname() everywhere
Revision 1.14.8.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:51 2018 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3
lines
Sync with HEAD
Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Jun 6 01:49:08 2018 UTC (8 years, 5 months ago) by maya
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes
Branch point for: phil-wifi
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3
lines
Remove duplicate ;
Revision 1.10.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:07 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.10.6.2: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.6.2: +0 -5
lines
update from HEAD
Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:05 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +2 -7
lines
Sync with HEAD
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:11 2017 UTC (9 years, 5 months ago) by chs
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
pgoyette-compat-base,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Branch point for: pgoyette-compat
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -7
lines
remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP
kmem_zalloc() with KM_SLEEP
percpu_alloc()
pserialize_create()
psref_class_create()
all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.
Revision 1.10.6.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:42 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.10.6.1: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.6.1: +4 -10
lines
Rebase to HEAD as of a few days ago.
Revision 1.9.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:24 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.9.2.2: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.2: +4 -10
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:39 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +4 -10
lines
sync with head
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Mar 29 19:28:24 2014 UTC (12 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: nick-nhusb
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -3
lines
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Oct 16 18:20:16 2013 UTC (13 years, 1 month ago) by christos
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -9
lines
remove unused variables.
Revision 1.10.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:14 2012 UTC (13 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +11 -10
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:24 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.1: +11 -10
lines
sync with head
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Oct 29 12:59:43 2012 UTC (14 years ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +11 -10
lines
remove an unnecessary cast.
use the standard name for the third arg to attach.
adjust some whitespace.
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:44 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -6
lines
sync with head
Revision 1.9.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:36 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +3 -6
lines
merge to -current.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Jan 30 19:41:18 2012 UTC (14 years, 9 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10
Branch point for: tls-maxphys
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -6
lines
Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Aug 29 14:47:08 2011 UTC (15 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3
lines
have pci register itself as a module, and make PCI driver modules depend on it
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Aug 9 01:42:24 2011 UTC (15 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +38 -13
lines
modify the dtv device api so hardware drivers can be loaded independently
of the dtv module
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Aug 6 19:21:27 2011 UTC (15 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -7
lines
build fix: forgot to add sc_board to softc
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Aug 6 11:51:11 2011 UTC (15 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +42 -22
lines
print devname not subdevname on attach, and report the board name to dtv
subsystem instead of generic CX23885
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Aug 6 11:37:56 2011 UTC (15 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -6
lines
don't attach iic@coram unless CORAM_ATTACH_I2C is defined
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Aug 5 21:20:27 2011 UTC (15 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +25 -5
lines
hide debug messages under CORAM_DEBUG
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Aug 5 20:33:17 2011 UTC (15 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -6
lines
return status from demod instead of 0, and don't ignore errors when setting
demod parameters
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Aug 4 22:25:08 2011 UTC (15 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +113 -11
lines
modularize coram and add detach + childdet methods
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Aug 4 14:43:55 2011 UTC (15 years, 3 months ago) by jakllsch
Branches: MAIN
Add coram(4).
A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.
Currently only supports ATSC 8VSB reception.
CVSweb <webmaster@jp.NetBSD.org>