[parisc-linux-cvs] PDC snake
Matthew Wilcox
willy@debian.org
Mon, 29 Oct 2001 17:58:21 +0000
No -pa number; doesn't change the output binary.
Index: arch/parisc/kernel/inventory.c
===================================================================
RCS file: /var/cvs/linux/arch/parisc/kernel/inventory.c,v
retrieving revision 1.44
diff -u -p -r1.44 inventory.c
--- arch/parisc/kernel/inventory.c 2001/10/22 21:38:05 1.44
+++ arch/parisc/kernel/inventory.c 2001/10/29 17:09:15
@@ -93,7 +93,7 @@ void __init setup_pdc(void)
case 0xA: /* 712 and similiar */
case 0xC: /* 715/64, at least */
- pdc_type = PDC_TYPE_LEGACY;
+ pdc_type = PDC_TYPE_SNAKE;
printk("Snake.\n");
return;
@@ -564,7 +564,7 @@ void __init do_memory_inventory(void)
sprockets_memconfig();
break;
- case PDC_TYPE_LEGACY:
+ case PDC_TYPE_SNAKE:
pagezero_memconfig();
return;
@@ -593,7 +593,7 @@ void __init do_device_inventory(void)
system_map_inventory();
break;
- case PDC_TYPE_LEGACY:
+ case PDC_TYPE_SNAKE:
snake_inventory();
break;
Index: include/asm-parisc/pdc.h
===================================================================
RCS file: /var/cvs/linux/include/asm-parisc/pdc.h,v
retrieving revision 1.35
diff -u -p -r1.35 pdc.h
--- include/asm-parisc/pdc.h 2001/10/22 21:38:06 1.35
+++ include/asm-parisc/pdc.h 2001/10/29 17:09:29
@@ -344,10 +344,10 @@ extern int pdc_type;
/* Values for pdc_type */
-#define PDC_TYPE_ILLEGAL -1
-#define PDC_TYPE_PAT 0 /* Newer PAT PDC box (64 bit only */
-#define PDC_TYPE_SYSTEM_MAP 1 /* Legacy box that supports PDC_SYSTEM_MAP */
-#define PDC_TYPE_LEGACY 2 /* Older Legacy box */
+#define PDC_TYPE_ILLEGAL -1
+#define PDC_TYPE_PAT 0 /* 64-bit PAT-PDC */
+#define PDC_TYPE_SYSTEM_MAP 1 /* 32-bit, but supports PDC_SYSTEM_MAP */
+#define PDC_TYPE_SNAKE 2 /* Doesn't support SYSTEM_MAP */
#define is_pdc_pat() (pdc_type == PDC_TYPE_PAT)
--
Revolutions do not require corporate support.