patch-2.4.22 linux-2.4.22/arch/ppc/kernel/prep_nvram.c
Next file: linux-2.4.22/arch/ppc/kernel/process.c
Previous file: linux-2.4.22/arch/ppc/kernel/pplus_common.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/ppc/kernel/prep_nvram.c
- Orig date:
2003-06-13 07:51:31.000000000 -0700
diff -urN linux-2.4.21/arch/ppc/kernel/prep_nvram.c linux-2.4.22/arch/ppc/kernel/prep_nvram.c
@@ -25,7 +25,7 @@
outb(addr>>8, PREP_NVRAM_AS1);
return inb(PREP_NVRAM_DATA);
}
-
+
void __prep prep_nvram_write_val(int addr,
unsigned char val)
{
@@ -33,7 +33,7 @@
outb(addr>>8, PREP_NVRAM_AS1);
outb(val, PREP_NVRAM_DATA);
}
-
+
void __init init_prep_nvram(void)
{
unsigned char *nvp;
@@ -51,7 +51,7 @@
*nvp = ppc_md.nvram_read_val(i);
nvp++;
}
-
+
/*
* The PReP NvRAM may be any size so read in the header to
* determine how much we must read in order to get the complete
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)