The NetBSD Project

CVS log for src/sys/arch/arm/omap/Attic/omap3_ehci.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / omap

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.17, Sat Oct 29 13:37:59 2022 UTC (16 months, 2 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +2 -2 lines
FILE REMOVED

Remove old OMAP port.

This code was a mess and full of unmaintainable SoC and board specific
ifdefs. A modern devicetree port for OMAP3530 and AM335x based boards
now lives in arch/arm/ti. If someone is interested in bringing back
support for any boards lost in this transition, feel free, but please
do so using the new devicetree based model.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Aug 7 16:18:45 2021 UTC (2 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Merge thorpej-cfargs2.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jun 21 03:18:40 2021 UTC (2 years, 8 months ago) by christos
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.14: +3 -3 lines
Diff to previous 1.14 (colored)

fix proplib deprecation

Revision 1.14 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:28 2021 UTC (2 years, 10 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.13: +4 -3 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Mon Apr 9 16:21:09 2018 UTC (5 years, 11 months ago) by jakllsch
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, netbsd-9-base, 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, 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
Changes since 1.12: +2 -6 lines
Diff to previous 1.12 (colored)

Stop potential misuse of vendor names and USB vendor IDs in root hub
device and string descriptors.

Firstly: Few vendors have identical PCI-SIG vendor IDs and USB-IF vendor
IDs.  As such, using the PCI vendor ID as a USB vendor ID may trample
on whomever is allocated that USB vendor ID.

Secondly: The vendor of the host controller hardware implementation has
little to nothing to do with our usbroothub implementation.  Thus we
should not potentially associate any problems therewith to such third
party.

This change will result in root hubs being identified by USB Vendor ID
0x0000.  Root hub vendor string will now be "NetBSD" (or, specifically:
ostype). Product ID (0x0000) and product strings remain unchanged.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Oct 4 15:59:36 2016 UTC (7 years, 5 months ago) by kiyohara
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, netbsd-8-base, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.11: +46 -10 lines
Diff to previous 1.11 (colored)

Support extclk.  This value get from prop-dictionary "port?-extclk".

Revision 1.11 / (download) - annotate - [select for diffs], Sat Apr 23 10:15:28 2016 UTC (7 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.10: +22 -22 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Sat Mar 29 23:32:41 2014 UTC (9 years, 11 months ago) by matt
Branch: 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, 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-base, 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
Branch point for: nick-nhusb, netbsd-7-nhusb, netbsd-7
Changes since 1.9: +145 -26 lines
Diff to previous 1.9 (colored)

OMAP4/OMAP5 changes.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 18 15:23:18 2013 UTC (10 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.8: +65 -36 lines
Diff to previous 1.8 (colored)

Add OMAP4 support.  (Incomplete).

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jun 16 17:47:54 2013 UTC (10 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

#include <arm/omap/omap_var.h> where appropriate
Remove unneeded frequency check

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jun 16 16:42:13 2013 UTC (10 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.6: +32 -14 lines
Diff to previous 1.6 (colored)

OMAP4 EHCI enhancements

Revision 1.6 / (download) - annotate - [select for diffs], Mon Dec 24 06:41:02 2012 UTC (11 years, 2 months ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-pagecache-base8, khorben-n900, agc-symver-base, agc-symver
Changes since 1.5: +7 -14 lines
Diff to previous 1.5 (colored)

Don't wait DPLL5 lock, if set to automatic mode.  It is locked by 120 MHz
being supplied.
Also enable EN_USBHOST2(120MHz) in usbhost_init().

Revision 1.5 / (download) - annotate - [select for diffs], Wed Dec 12 00:33:45 2012 UTC (11 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.4: +594 -164 lines
Diff to previous 1.4 (colored)

Improved USB EHCI support OMAP3 variants.
From jmcneill.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Oct 27 17:17:40 2012 UTC (11 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base6, matt-nb6-plus-nbase, matt-nb6-plus-base
Branch point for: yamt-pagecache, matt-nb6-plus
Changes since 1.3: +6 -6 lines
Diff to previous 1.3 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Sep 5 00:19:59 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.2: +24 -89 lines
Diff to previous 1.2 (colored)

Get USB closer to working on OMAP3 and OMAP4.
Get OMAP4430 closer to working.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 20 02:14:01 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

EHCI_USBINTR is 4 bytes long so use EOWRITE4

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 12 03:38:50 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN

First pass at an EHCI attachment.  It does compile.  Untested.

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>