The NetBSD Project

CVS log for src/sys/arch/sandpoint/sandpoint/satmgr.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.24 / (download) - annotate - [select for diffs], Tue Feb 19 15:58:19 2013 UTC (3 months, 4 weeks ago) by phx
Branch: MAIN
CVS Tags: tls-maxphys-nbase, tls-maxphys-base, khorben-n900, agc-symver-base, agc-symver, HEAD
Changes since 1.23: +5 -2 lines
Diff to previous 1.23 (colored)

Implement real hardware power-off for DSM-G600 using the "ZWC" command.
It seems that not all microcontrollers support the command, though, so
the old solution to flash the power LED is still present as a fallback.

Revision 1.23 / (download) - annotate - [select for diffs], Tue May 15 02:14:13 2012 UTC (13 months ago) by nisimura
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)


A temporaly fix to avoid a lockup by KBT4 DISP button.  Not sure
the real fix.  Curse on the every poorly written engineering
documents on Earth.

Revision 1.22 / (download) - annotate - [select for diffs], Fri May 11 21:40:49 2012 UTC (13 months, 1 week ago) by nisimura
Branch: MAIN
Changes since 1.21: +2 -5 lines
Diff to previous 1.21 (colored)


A temporary solution to have KURO-BOX/T4 two way "dialogue" style
sat protocol. Need more work for robustness. Unbreak the previous
commit made by accident.

Revision 1.21 / (download) - annotate - [select for diffs], Fri May 11 21:12:34 2012 UTC (13 months, 1 week ago) by nisimura
Branch: MAIN
Changes since 1.20: +122 -131 lines
Diff to previous 1.20 (colored)


make sure to have the correct I2C TOD attached for KURO-BOX/T4.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Apr 24 10:09:06 2012 UTC (13 months, 3 weeks ago) by nisimura
Branch: MAIN
CVS Tags: jmcneill-usbmp-base9
Changes since 1.19: +6 -4 lines
Diff to previous 1.19 (colored)


Quick fixes to make KURO-BOX/T4 "miconv2" power management work.
The patch was supplied by mef@.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 16 14:30:42 2012 UTC (14 months ago) by nisimura
Branch: MAIN
Changes since 1.18: +100 -7 lines
Diff to previous 1.18 (colored)


Preliminary support of TS-TGL/KBT4 power down operation.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Apr 9 13:26:37 2012 UTC (14 months, 1 week ago) by nisimura
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)


Change to use "kurot4" product name for Terastation TGL and
KuroBox/T4.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Apr 8 12:11:57 2012 UTC (14 months, 1 week ago) by nisimura
Branch: MAIN
Changes since 1.16: +9 -1 lines
Diff to previous 1.16 (colored)


Add an entry for "miconv2" satellite processor control.  The button
press event handler remains unimplemented for now.  Use /dev/satmgr
to talk the processor.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 22 22:56:44 2012 UTC (15 months, 3 weeks ago) by nisimura
Branch: MAIN
CVS Tags: jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3
Changes since 1.15: +11 -11 lines
Diff to previous 1.15 (colored)


- fix an error which prevents satmgr from sending NUL bytes.
- a bit cosmetic change for IOMEGA multibyte control sequence.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jan 23 16:22:58 2012 UTC (16 months, 3 weeks ago) by phx
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Insert some missing aprint_naive().

Revision 1.14 / (download) - annotate - [select for diffs], Thu Dec 29 10:27:36 2011 UTC (17 months, 2 weeks ago) by phx
Branch: MAIN
Changes since 1.13: +4 -3 lines
Diff to previous 1.13 (colored)

Replaced 16 by I8259_ICU in intr_establish().

Revision 1.13 / (download) - annotate - [select for diffs], Sat Nov 12 23:57:55 2011 UTC (19 months ago) by phx
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: jmcneill-usbmp
Changes since 1.12: +201 -15 lines
Diff to previous 1.12 (colored)

Add Iomega support (init, reboot, poweroff).
Make new sysctl-nodes for Iomega fan control in machdep.satmgr.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 1 19:16:06 2011 UTC (23 months, 2 weeks ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Apr 19 18:16:03 2011 UTC (2 years, 2 months ago) by phx
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.10: +9 -7 lines
Diff to previous 1.10 (colored)

It is probably better to flash the power LED after power-off on a DSM-G600,
to make the user aware that he needs to remove power manually.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 17 14:05:59 2011 UTC (2 years, 2 months ago) by phx
Branch: MAIN
Changes since 1.9: +14 -2 lines
Diff to previous 1.9 (colored)

DSM-G600: Turn off all LEDs when shutting down, to indicate the device
can be switched off.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Apr 10 16:30:32 2011 UTC (2 years, 2 months ago) by phx
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Missing comma. Make it compile again.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Apr 8 14:09:24 2011 UTC (2 years, 2 months ago) by nisimura
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Minor format knots; sort a model list in alphabetical order and adjust
spacing.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Mar 26 22:36:34 2011 UTC (2 years, 2 months ago) by phx
Branch: MAIN
Changes since 1.6: +36 -9 lines
Diff to previous 1.6 (colored)

Add QNAP reboot, reset and button handling functions.
Introduced an optional init function per board, which can set LEDs and other
special hardware to an initial state using the satellite processor.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Mar 12 16:49:16 2011 UTC (2 years, 3 months ago) by phx
Branch: MAIN
Changes since 1.5: +12 -23 lines
Diff to previous 1.5 (colored)

The DSM-G600's satellite microcontroller provides no possibility to reboot
or powerdown the board, so we can only support reboot by falling back to
a default reboot procedure.
The default procedure will turn off interrupts and the MMU, then jump
through the firmware's reset vector (0xfff00100).

Revision 1.5 / (download) - annotate - [select for diffs], Wed Mar 9 20:33:57 2011 UTC (2 years, 3 months ago) by phx
Branch: MAIN
Changes since 1.4: +44 -5 lines
Diff to previous 1.4 (colored)

DLink DSM-G600 button handling.
There are no commands to reboot or poweroff a G600, though.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 24 19:32:34 2011 UTC (2 years, 3 months ago) by phx
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.3: +18 -15 lines
Diff to previous 1.3 (colored)

Print "interrupting at". Improved style guide conformance.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 10 13:54:45 2011 UTC (2 years, 4 months ago) by nisimura
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Changes since 1.2: +73 -20 lines
Diff to previous 1.2 (colored)

- add D-Link EPIC defition to pci_machdep.c
- change the way to reboot/pwroff to make satmgr.c more flexible for
  a multiple byte sat protocol.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jun 3 10:44:21 2010 UTC (3 years ago) by phx
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: yamt-nfs-mp, uebayasi-xip, jruoho-x86intr, bouyer-quota2
Changes since 1.1: +42 -21 lines
Diff to previous 1.1 (colored)

Applied a patch by Toru Nishimura:
Fixed kmutex usage error and replaced tsleep by cv_waitsig.
Now "cat /dev/satmgr" no longer panics when pressing a button.

Revision 1.1 / (download) - annotate - [select for diffs], Sat May 29 22:47:02 2010 UTC (3 years ago) by phx
Branch: MAIN
Branch point for: rmind-uvmplock

'satmgr' device for communicating with the satellite processor found on many
MPC824x-based systems. It registers the power button to sysmon and sets
a reboot/shutdown callback for cpu_reboot(). Other functions can be controlled
through /dev/satmgr.
Currently there is support for KuroBox and Synology, which will be extended
as soon more platforms have been reasearched.
This patch was submitted by Toru Nishimura.

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>