Home | History | Annotate | Download | only in sa11x0
History log of /src/sys/arch/arm/sa11x0/sa11x0_ost.c
RevisionDateAuthorComments
 1.33  13-Nov-2019  tsutsui Fix another attach failure of zaudio(4) WM8731 on Zaurus SL-C7x0/860.

When kernels were configured for both CPU_XSCALE_PXA270 and
CPU_XSCALE_PXA250, the OST freq value was not set until tc_init(9)
then all delay(9) during configure(9) returned immediately.
While here, use proper macro with description for readability.

Should be pulled up to netbsd-8 and netbsd-9.
(though zaudio(4) won't work on netbsd-8)
 1.32  09-Oct-2016  christos branches: 1.32.8; 1.32.16; 1.32.20;
PR/51540: Henning Petersen: replace , with ;
 1.31  17-Dec-2013  joerg branches: 1.31.6; 1.31.10;
Initialiase nop count to avoid uninitalised use warnings from Clang.
XXX Nop should be spelled in a better way
 1.30  12-Aug-2012  nonaka branches: 1.30.2; 1.30.4;
Added watchdog timer reset function.
 1.29  01-Jul-2011  dyoung branches: 1.29.2;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.28  09-Aug-2009  kiyohara Fix matching by improper driver.
see http://mail-index.netbsd.org/port-arm/2009/07/08/msg000807.html

And remove some white-spaces.
 1.27  01-Aug-2009  kiyohara Support run-time configuration for PXA25x and PXA27x.
 1.26  29-May-2009  rjs Make the following changes:

struct device * -> device_t
struct cfdata * -> cfdata_t
printf -> aprint_
device_t/softc split
 1.25  10-May-2008  martin Backout previous: the license sweep touched these files in error, so
restore the old license.
 1.24  28-Apr-2008  martin branches: 1.24.2;
Remove clause 3 and 4 from TNF licenses
 1.23  20-Apr-2008  chris branches: 1.23.2;
PXA270 uses a 3.25Mhz clock for OS timers, not 3.6864Mhz.

Also while here fix the delay loop used before timers are enabled to
cause a delay, by using a volatile int to do a countdown. gcc has become
intelligent enough to optimize an empty loop away.

For delay on PXA270 we should use one of the other counters, and a 1Mhz
clock, so that we don't have to computer the counter increment.

XXX: also looks like there's a bug if the counter wraps, as delay doesn't
look like it allows for that.
 1.22  20-Jan-2008  joerg branches: 1.22.6; 1.22.8;
Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.
 1.21  20-Jan-2008  joerg Convert evbarm to timecounter. Only one of the systems was tested, the
rest of the patch is compile-time tested only.
 1.20  24-Sep-2006  peter branches: 1.20.24; 1.20.28; 1.20.30; 1.20.36; 1.20.44;
Various cleanup & KNF.
 1.19  24-Sep-2006  peter Add support for timecounter and generic todr.
#ifdef'ed for now until all consumers are using it.
 1.18  27-Jun-2006  peter branches: 1.18.4; 1.18.6;
KNF. Correct some spelling errors.
 1.17  18-Apr-2006  peter branches: 1.17.4;
Back out my rev 1.14, the printf is actually quite useful and
all other arm code show this information too.
And while here, prettify the output a bit.
 1.16  04-Mar-2006  peter branches: 1.16.2; 1.16.4; 1.16.6;
s/u_intN_t/uintN_t/
 1.15  04-Mar-2006  peter Use ANSI function decls.
 1.14  04-Mar-2006  peter Put a printf into OST_DEBUG.
 1.13  11-Dec-2005  christos branches: 1.13.4; 1.13.6;
merge ktrace-lwp.
 1.12  02-Jun-2005  uwe branches: 1.12.2;
Rename local vars to avoid shadowing.
 1.11  15-Jul-2003  lukem __KERNEL_RCSID()
 1.10  23-Mar-2003  bsh branches: 1.10.2;
don't make kernels with options DEBUG print too much debug messages.
 1.9  02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.8  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.7  27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.6  08-Jan-2002  rjs Establish interrupt handlers before enabling the clocks.
 1.5  08-Jan-2002  rjs Add check for microtime() being called before clock is initialized.
 1.4  23-Nov-2001  thorpej Use <arm/cpufunc.h>, not <machine/cpufunc.h>.
 1.3  22-Nov-2001  thorpej Kill <machine/katelib.h>. Any place that still uses it should just
reference <arm/arm32/katelib.h> until such time as all use of this
file has been purged from the face of the earth.
 1.2  05-Sep-2001  matt branches: 1.2.6;
Change <machine/irqhandler.h> to <machine/intr.h> since the latter always
includes the former and is a standard include file.
 1.1  08-Jul-2001  rjs branches: 1.1.2;
Initial copy of SA11x0 support from hpcarm.
 1.1.2.3  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.2.6.5  18-Oct-2002  nathanw Catch up to -current.
 1.2.6.4  28-Feb-2002  nathanw Catch up to -current.
 1.2.6.3  11-Jan-2002  nathanw More catchup.
 1.2.6.2  08-Jan-2002  nathanw Catch up to -current.
 1.2.6.1  05-Sep-2001  nathanw file sa11x0_ost.c was added on branch nathanw_sa on 2002-01-08 00:23:18 +0000
 1.10.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.10.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.10.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.10.2.1  03-Aug-2004  skrll Sync with HEAD
 1.12.2.3  21-Jan-2008  yamt sync with head
 1.12.2.2  30-Dec-2006  yamt sync with head.
 1.12.2.1  21-Jun-2006  yamt sync with head.
 1.13.6.1  22-Apr-2006  simonb Sync with head.
 1.13.4.1  09-Sep-2006  rpaulo sync with head
 1.16.6.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.16.4.1  11-May-2006  elad sync with head
 1.16.2.2  11-Aug-2006  yamt sync with head
 1.16.2.1  24-May-2006  yamt sync with head.
 1.17.4.1  13-Jul-2006  gdamore Merge from HEAD.
 1.18.6.1  22-Oct-2006  yamt sync with head
 1.18.4.1  18-Nov-2006  ad Sync with head.
 1.20.44.2  23-Jan-2008  bouyer Sync with HEAD.
 1.20.44.1  20-Jan-2008  bouyer Sync with HEAD
 1.20.36.1  18-Feb-2008  mjf Sync with HEAD.
 1.20.30.1  23-Mar-2008  matt sync with HEAD
 1.20.28.1  27-Jan-2008  chris Sync to HEAD.
 1.20.24.2  28-Feb-2008  rjs Sync with HEAD.
 1.20.24.1  06-Oct-2007  rjs Switch to new interrupt code.
 1.22.8.1  18-May-2008  yamt sync with head.
 1.22.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.23.2.2  19-Aug-2009  yamt sync with head.
 1.23.2.1  20-Jun-2009  yamt sync with head
 1.24.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.29.2.2  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.29.2.1  30-Oct-2012  yamt sync with head
 1.30.4.1  18-May-2014  rmind sync with head
 1.30.2.2  03-Dec-2017  jdolecek update from HEAD
 1.30.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.31.10.1  04-Nov-2016  pgoyette Sync with HEAD
 1.31.6.1  05-Dec-2016  skrll Sync with HEAD
 1.32.20.1  16-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #430):

sys/arch/arm/sa11x0/sa11x0_ost.c: revision 1.33
sys/arch/zaurus/zaurus/autoconf.c: revision 1.13

Fix attach failure of zaudio(4) WM8731 (C7x0/860) and WM8750 (C1000/3x00).

The new MI iic(4) layer requires an explicit quirk info of PROBE_STRATEGY
via device properties. Fixes PR kern/54658.

Should be pulled up to netbsd-9.

-

Fix another attach failure of zaudio(4) WM8731 on Zaurus SL-C7x0/860.

When kernels were configured for both CPU_XSCALE_PXA270 and
CPU_XSCALE_PXA250, the OST freq value was not set until tc_init(9)
then all delay(9) during configure(9) returned immediately.

While here, use proper macro with description for readability.

Should be pulled up to netbsd-8 and netbsd-9.
(though zaudio(4) won't work on netbsd-8)
 1.32.16.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.32.8.1  16-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #1445):

sys/arch/arm/sa11x0/sa11x0_ost.c: revision 1.33

Fix another attach failure of zaudio(4) WM8731 on Zaurus SL-C7x0/860.

When kernels were configured for both CPU_XSCALE_PXA270 and
CPU_XSCALE_PXA250, the OST freq value was not set until tc_init(9)
then all delay(9) during configure(9) returned immediately.

While here, use proper macro with description for readability.

Should be pulled up to netbsd-8 and netbsd-9.
(though zaudio(4) won't work on netbsd-8)

RSS XML Feed