History log of /src/sys/dev/pci/cxdtv.c |
Revision | | Date | Author | Comments |
1.23 |
| 15-Sep-2025 |
thorpej | Encapsulate what's needed to attach an I2C bus into a iicbus_attach() inline.
|
1.22 |
| 09-Feb-2024 |
andvar | s/discriptor/descriptor/ in comments.
|
1.21 |
| 10-May-2023 |
riastradh | cxdtv(4): Use config_detach_children.
|
1.20 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.19 |
| 24-Apr-2021 |
thorpej | branches: 1.19.8; 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?).
|
1.18 |
| 23-Dec-2019 |
thorpej | branches: 1.18.10; No need to use I2C_F_POLL here.
|
1.17 |
| 22-Dec-2019 |
thorpej | 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().
|
1.16 |
| 09-Dec-2018 |
jdolecek | use pci_intr_establish_xname() everywhere
|
1.15 |
| 01-Jun-2017 |
chs | branches: 1.15.8; 1.15.10; 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.
|
1.14 |
| 29-Mar-2014 |
christos | branches: 1.14.6; make pci_intr_string and eisa_intr_string take a buffer and a length instead of relying in local static storage.
|
1.13 |
| 16-Oct-2013 |
christos | remove unused variables.
|
1.12 |
| 27-Oct-2012 |
chs | branches: 1.12.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.11 |
| 30-Jan-2012 |
drochner | branches: 1.11.6; 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.
|
1.10 |
| 16-Jan-2012 |
jmcneill | Only match supported boards.
|
1.9 |
| 26-Sep-2011 |
jakllsch | branches: 1.9.2; 1.9.6; Define and use symbolic bits in registers.
|
1.8 |
| 29-Aug-2011 |
jmcneill | have pci register itself as a module, and make PCI driver modules depend on it
|
1.7 |
| 09-Aug-2011 |
jmcneill | modify the dtv device api so hardware drivers can be loaded independently of the dtv module
|
1.6 |
| 25-Jul-2011 |
jakllsch | Remove unconditional debugging code. Also, a few other cleanups.
|
1.5 |
| 15-Jul-2011 |
jmcneill | use lg3303_get_snr, lg3303_get_signal_strength
|
1.4 |
| 15-Jul-2011 |
jmcneill | add pcHDTV HD-5500 support:
cxdtv0 at pci0 dev 14 function 2: pcHDTV HD-5500 HDTV Video Capture (rev. 0x05) cxdtv0: interrupting at irq 10 cxdtv0: lg3303: found @ 0x59 cxdtv0: tvpll: LG TDVS-H06xF dtv0 at cxdtv0: CX23880 [ATSC]
|
1.3 |
| 15-Jul-2011 |
jmcneill | add detach support
|
1.2 |
| 14-Jul-2011 |
jmcneill | hook in lg3303 demod support and modularize
|
1.1 |
| 11-Jul-2011 |
jakllsch | Add cxdtv(4), a dtv(4) driver for Conexant CX23880-series DTV interface chips.
Initially supports digital reception on ATI HDTV Wonder card.
|
1.9.6.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.9.2.3 |
| 22-May-2014 |
yamt | 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")
|
1.9.2.2 |
| 30-Oct-2012 |
yamt | sync with head
|
1.9.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.11.6.3 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.11.6.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.11.6.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.12.2.1 |
| 18-May-2014 |
rmind | sync with head
|
1.14.6.1 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.15.10.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.15.10.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.15.8.1 |
| 26-Dec-2018 |
pgoyette | Sync with HEAD, resolve a few conflicts
|
1.18.10.1 |
| 02-Apr-2021 |
thorpej | config_found_ia() -> config_found() w/ CFARG_IATTR.
|
1.19.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|