aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorThibaut Varene <varenet@parisc-linux.org>2006-05-04 20:43:34 -0400
committerKyle McMartin <kyle@hera.kernel.org>2006-06-27 19:28:39 -0400
commitb0e8bfca2f6cdef6145e377ff0797fc42473b659 (patch)
treeb5b2baa64f9ca893a7320b054f26d036b1136cea /drivers
parent3f9edb53f74b4e18f92783da7b6f5ad1d36e05b2 (diff)
[PARISC] Reduce data footprint in pdc_stable.c
No code change - reduce data footprint. Signed-off-by: Thibaut VARENE <varenet@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/parisc/pdc_stable.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/parisc/pdc_stable.c b/drivers/parisc/pdc_stable.c
index 4b991d50e578..a1094210cd1f 100644
--- a/drivers/parisc/pdc_stable.c
+++ b/drivers/parisc/pdc_stable.c
@@ -628,16 +628,16 @@ pdcs_osid_read(struct subsystem *entry, char *buf)
628 return -EINVAL; 628 return -EINVAL;
629 629
630 switch (pdcs_osid) { 630 switch (pdcs_osid) {
631 case 0x0000: tmpstr = "No OS-dependent data"; break; 631 case 0x0000: tmpstr = "No OS"; break;
632 case 0x0001: tmpstr = "HP-UX dependent data"; break; 632 case 0x0001: tmpstr = "HP-UX"; break;
633 case 0x0002: tmpstr = "MPE-iX dependent data"; break; 633 case 0x0002: tmpstr = "MPE-iX"; break;
634 case 0x0003: tmpstr = "OSF dependent data"; break; 634 case 0x0003: tmpstr = "OSF"; break;
635 case 0x0004: tmpstr = "HP-RT dependent data"; break; 635 case 0x0004: tmpstr = "HP-RT"; break;
636 case 0x0005: tmpstr = "Novell Netware dependent data"; break; 636 case 0x0005: tmpstr = "Novell Netware"; break;
637 case 0x0006: tmpstr = "Linux dependent data"; break; 637 case 0x0006: tmpstr = "Linux"; break;
638 default: tmpstr = "Unknown"; break; 638 default: tmpstr = "Unknown"; break;
639 } 639 }
640 out += sprintf(out, "%s (0x%.4x)\n", tmpstr, pdcs_osid); 640 out += sprintf(out, "%s dependent data (0x%.4x)\n", tmpstr, pdcs_osid);
641 641
642 return out - buf; 642 return out - buf;
643} 643}