summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorThibaut Varene <varenet@parisc-linux.org>2006-05-04 18:43:34 -0600
committerKyle McMartin <kyle@hera.kernel.org>2006-06-27 23:28:38 +0000
commit3f9edb53f74b4e18f92783da7b6f5ad1d36e05b2 (patch)
tree7cb0b21f835122d0de3c25e49c770cb0694cfb26 /arch/parisc
parent9b0703fed7ca1af95d4454f45e2f25733f0afa76 (diff)
downloadtalos-obmc-linux-3f9edb53f74b4e18f92783da7b6f5ad1d36e05b2.tar.gz
talos-obmc-linux-3f9edb53f74b4e18f92783da7b6f5ad1d36e05b2.zip
[PARISC] pdc_stable version 0.30
pdc_stable v0.30: This patch introduces 3 more files to the /sys/firmware/stable tree: - diagnostic, which contains a cryptic hex string - osdep1, a 16 bytes os-dependent storage area always available - osdep2, another os-dependent storage area which existence/size depends on hversion. This patch also adds code to setup the "Linux" signature in stable storage. That is to say that starting with this patch, the kernel will now sign its OSID (0x0006, thx LaMont) in Stable Storage upon boot, whether pdc_stable is enabled or not. Signed-off-by: Thibaut VARENE <varenet@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/parisc/kernel/setup.c b/arch/parisc/kernel/setup.c
index 4a36ec3f6ac1..8471486a7565 100644
--- a/arch/parisc/kernel/setup.c
+++ b/arch/parisc/kernel/setup.c
@@ -303,6 +303,8 @@ extern void eisa_init(void);
static int __init parisc_init(void)
{
+ u32 osid = (0x0006 << 16);
+
parisc_proc_mkdir();
parisc_init_resources();
do_device_inventory(); /* probe for hardware */
@@ -311,6 +313,9 @@ static int __init parisc_init(void)
/* set up a new led state on systems shipped LED State panel */
pdc_chassis_send_status(PDC_CHASSIS_DIRECT_BSTART);
+
+ /* tell PDC we're Linux. Nevermind failure. */
+ pdc_stable_write(0x40, &osid, sizeof(osid));
processor_init();
printk(KERN_INFO "CPU(s): %d x %s at %d.%06d MHz\n",
OpenPOWER on IntegriCloud