Home | History | Annotate | Download | only in voyager
History log of /src/sys/dev/pci/voyager/pwmclock.c
RevisionDateAuthorComments
 1.12  29-May-2020  rin For struct timecounter, use C99 initializers.
Compile tested. No functional changes intended.
 1.11  26-Aug-2016  skrll Adjust evbmips_iointr to pass a clockframe pointer and use it for
pwmclock @ voyager.

Suggested by matt@

Hi macallan!
 1.10  14-May-2013  macallan branches: 1.10.10;
found the missing commit so put this back
am I the only one here with a Gdium?
 1.9  13-May-2013  christos make this compile again; macallan, please commit the right fix!
 1.8  16-Apr-2013  macallan unscrew this again
 1.7  15-Apr-2013  christos make this compile again; macallan, please commit the right fix!
 1.6  02-Jun-2012  dsl branches: 1.6.2;
Add some pre-processor magic to verify that the type of the data item
passed to sysctl_createv() actually matches the declared type for
the item itself.
In the places where the caller specifies a function and a structure
address (typically the 'softc') an explicit (void *) cast is now needed.
Fixes bugs in sys/dev/acpi/asus_acpi.c sys/dev/bluetooth/bcsp.c
sys/kern/vfs_bio.c sys/miscfs/syncfs/sync_subr.c and setting
AcpiGbl_EnableAmlDebugObject.
(mostly passing the address of a uint64_t when typed as CTLTYPE_INT).
I've test built quite a few kernels, but there may be some unfixed MD
fallout. Most likely passing &char[] to char *.
Also add CTLFLAG_UNSIGNED for unsiged decimals - not set yet.
 1.5  23-Feb-2012  macallan branches: 1.5.2;
break long lines
 1.4  23-Feb-2012  macallan set the CPU clock back to full speed on shutdown
this is necessary because PMON does not touch the clock scaling register on
reboot but still reports full CPU speed which confuses the clock code
 1.3  14-Feb-2012  macallan branches: 1.3.4;
another blah() -> blah(void)
ok riz
 1.2  13-Dec-2011  macallan define and use PWMCLOCK_DEBUG
 1.1  13-Dec-2011  macallan an alternative clock implementation for Loongson2F and SM502, mostly
Gdium-specific.
This supports Loongson2F frequency scaling. The problem is that Gdium has
no CPU clock independent high resolution timer we can use as a timecounter
so we use one of the SM502's PWMs to generate a 100Hz timer interrupt, use
the cp0 counter to measure time and adjust for frequency changes.
Other Loongson-based machines will need something similar but hopefully
less hackish.
 1.3.4.3  24-Feb-2012  mrg sync to -current.
 1.3.4.2  18-Feb-2012  mrg merge to -current.
 1.3.4.1  14-Feb-2012  mrg file pwmclock.c was added on branch jmcneill-usbmp on 2012-02-18 07:34:55 +0000
 1.5.2.4  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.5.2.3  30-Oct-2012  yamt sync with head
 1.5.2.2  17-Apr-2012  yamt sync with head
 1.5.2.1  23-Feb-2012  yamt file pwmclock.c was added on branch yamt-pagecache on 2012-04-17 00:07:59 +0000
 1.6.2.2  03-Dec-2017  jdolecek update from HEAD
 1.6.2.1  23-Jun-2013  tls resync from head
 1.10.10.1  05-Oct-2016  skrll Sync with HEAD

RSS XML Feed