summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/pdc.h
Commit message (Collapse)AuthorAgeFilesLines
* [PARISC] pdc_console: fix bizarre panic on bootKyle McMartin2008-03-151-1/+1
| | | | | | | | | | | | | Commit 721fdf34167580ff98263c74cead8871d76936e6 introduced a subtle bug by accidently removing the "static" from iodc_dbuf. This resulted in, what appeared to be, a trap without *current set to a task. Probably the result of a trap in real mode while calling firmware. Also do other misc clean ups. Since the only input from firmware is non blocking, share iodc_dbuf between input and output, and spinlock the only callers. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] remove unused pdc_iodc_printf functionKyle McMartin2008-03-151-1/+0
| | | | Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] print more than one character at a time for pdc consoleKyle McMartin2007-12-061-2/+1
| | | | | | | | There's really no reason not to print more than one character at a time to the PDC console... Booting is measurably speedier, and now I don't have to watch individual characters get drawn. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
* [PARISC] Clean up asm-parisc/pdc.hKyle McMartin2007-10-181-176/+137
| | | | | | | If we're going to export the header, at least let's organize it sensibly and not have a mishmash of userspace, assembly, and kernel visible defines. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
* [PARISC] Export pdc.h for paloJeff Bailey2007-10-181-6/+13
| | | | | Signed-off-by: Jeff Bailey <jbailey@raspberryginger.com> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
* [PARISC] convert to use CONFIG_64BIT instead of __LP64__Helge Deller2007-02-171-5/+5
| | | | | Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] pdc_init no longer existsMatthew Wilcox2006-10-071-2/+0
| | | | | | Just a stale prototype Signed-off-by: Matthew Wilcox <matthew@wil.cx>
* [PARISC] Move os_id_to_string() inside #ifndef __ASSEMBLY__Kyle McMartin2006-06-271-13/+12
| | | | | | | Assembly files should be protected from os_id_to_string()... Pass me a brown paper bag, please. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Add os_id_to_string helperKyle McMartin2006-06-271-0/+13
| | | | | | | Add a helper to asm/pdc.h to translate OS_ID values to strings and use it in the pdc_stable driver. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] OS_ID_LINUX == 0x0006Kyle McMartin2006-06-271-2/+1
| | | | | | | | We were assigned an OS_ID of 0x0006. Consistently use OS_ID_LINUX instead of using the magic number. Also update the OS_ID_ defines in asm/pdc.h to reflect this. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Ensure Space ID hashing is turned offKyle McMartin2006-06-271-0/+1
| | | | | | | | | | | Check PDC_CACHE to see if spaceid hashing is turned on, and fail to boot if that is the case. However, some old machines do not implement the PDC_CACHE_RET_SPID firmware call, so continue to boot if the call fails because of PDC_BAD_OPTION (but fail in all other error returns). Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Match show_cache_info with realityKyle McMartin2006-06-271-2/+2
| | | | | | | | show_cache_info and struct pdc_cache_cf were out of sync with published documentation. Fix the reporting of cache associativity and update the pdc_cache_cf bitfields to match documentation. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] PDC_CHASSIS is implemented on all machinesThibaut Varene2006-06-271-0/+1
| | | | | | | | | | | | | | | | | | | This patch removes a limitation of the original code, so that CHASSIS codes can be sent to all machines. On machines with a LCD panel, this code displays "INI" during bootup, "RUN" when the system is booted and running, "FLT" when a panic occurs, etc. This part of the code can be enabled/disabled through CONFIG_PDC_CHASSIS This patch also adds minimalistic support for Chassis warnings, through a proc entry '/proc/chassis', which will reflect the warnings status (PSU or fans failure when they happen, NVRAM battery level and temperature thresholds overflows). This part of the code can be enabled/disabled through CONFIG_PDC_CHASSIS_WARN Signed-off-by: Thibaut VARENE <varenet@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* Don't include linux/config.h from anywhere else in include/David Woodhouse2006-04-261-1/+0
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* [PATCH] Typo fixesAlexey Dobriyan2006-03-281-1/+1
| | | | | | | | Fix a lot of typos. Eyeballed by jmc@ in OpenBSD. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds2005-04-161-0/+781
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
OpenPOWER on IntegriCloud