History log of /src/sys/arch/mips/ingenic/ingenic_dwctwo.c |
Revision | | Date | Author | Comments |
1.15 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.14 |
| 24-Apr-2021 |
thorpej | branches: 1.14.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.13 |
| 23-Apr-2016 |
skrll | branches: 1.13.16; 1.13.34; Merge nick-nhusb
- API / infrastructure changes to support memory management changes. - Memory management improvements and bug fixes. - HCDs should now be MP safe - conversion to KERNHIST based debug - FS/LS isoc support on ehci(4). - conversion to kmem(9) - Some USB 3 support - mostly from Takahiro HAYASHI (t-hash). - interrupt transfers now get proper DMA operations - general bug fixes - kern/48308 - uhub status notification improvements - umass(4) probe fix (applied to HEAD already) - ohci(4) short transfer fix
|
1.12 |
| 30-Aug-2015 |
skrll | Update for latest dwc2
|
1.11 |
| 18-May-2015 |
macallan | explicitly un-suspend the OTG port after PHY reset
|
1.10 |
| 28-Apr-2015 |
macallan | 'USB' -> 'USB OTG' to distinguish this one from the other USB hosts
|
1.9 |
| 17-Mar-2015 |
macallan | branches: 1.9.2; set root hub vendor IDs
|
1.8 |
| 17-Mar-2015 |
macallan | - keep a list of devices, addresses and interrupts in apbus.c - pass irq numbers to devices - reduce magic numbers in device drivers - allow multiple instances of device drivers
|
1.7 |
| 10-Mar-2015 |
macallan | flash the LED to show we're doing something ( and as a side effect make sure the USB PHY is powered up )
|
1.6 |
| 09-Mar-2015 |
macallan | magic number reduction
|
1.5 |
| 27-Dec-2014 |
macallan | restrict DMA buffers to the lower 256MB -> now dwc2 DMA works
|
1.4 |
| 25-Dec-2014 |
macallan | - use the same parameter block as the linux driver, only with DMA disabled - reset the chip before handing it to dwc2/ now it actually detects some devices
|
1.3 |
| 23-Dec-2014 |
macallan | appease nick
|
1.2 |
| 23-Dec-2014 |
macallan | establish interrupt do some PHY setup, now the hardware actually responds
|
1.1 |
| 06-Dec-2014 |
macallan | dwc2 attachment, doesn't do much yet
|
1.9.2.4 |
| 22-Sep-2015 |
skrll | Sync with HEAD
|
1.9.2.3 |
| 06-Jun-2015 |
skrll | Sync with HEAD
|
1.9.2.2 |
| 06-Apr-2015 |
skrll | Sync with HEAD
|
1.9.2.1 |
| 17-Mar-2015 |
skrll | file ingenic_dwctwo.c was added on branch nick-nhusb on 2015-04-06 15:17:59 +0000
|
1.13.34.1 |
| 21-Mar-2021 |
thorpej | 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.
|
1.13.16.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.13.16.1 |
| 23-Apr-2016 |
jdolecek | file ingenic_dwctwo.c was added on branch tls-maxphys on 2017-12-03 11:36:28 +0000
|
1.14.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|