summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/stand/libsa/dev_hppa.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-04-15 18:07:33 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-04-15 18:07:33 +0000
commit674882c9999610cf15e254616fd1ccf9a5b70cf8 (patch)
tree7eba7654ec04dce6053e1f021acf0551ee456da4 /sys/arch/hppa/stand/libsa/dev_hppa.c
parent613867004b401967700ab20cacf7b9dd19641447 (diff)
rearrange devsw to place dk in the beginning. necessary glue hookups in cdboot
Diffstat (limited to 'sys/arch/hppa/stand/libsa/dev_hppa.c')
-rw-r--r--sys/arch/hppa/stand/libsa/dev_hppa.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/hppa/stand/libsa/dev_hppa.c b/sys/arch/hppa/stand/libsa/dev_hppa.c
index 71bbcc41fb3..0c38ac0c634 100644
--- a/sys/arch/hppa/stand/libsa/dev_hppa.c
+++ b/sys/arch/hppa/stand/libsa/dev_hppa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev_hppa.c,v 1.6 2003/01/14 11:38:56 mickey Exp $ */
+/* $OpenBSD: dev_hppa.c,v 1.7 2003/04/15 18:07:32 mickey Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -54,8 +54,8 @@ const struct pdc_devs {
char name[3];
int dev_type;
} pdc_devs[] = {
- { "ct", 0 },
- { "dk", 1 },
+ { "dk", 0 },
+ { "ct", 1 },
{ "lf", 2 },
{ "", -1 },
{ "rd", -1 },
@@ -133,11 +133,11 @@ devboot(dev, p)
switch (PAGE0->mem_boot.pz_class) {
case PCL_RANDOM:
- type = 1;
+ type = 0;
unit = PAGE0->mem_boot.pz_layers[0];
break;
case PCL_SEQU:
- type = 0;
+ type = 1;
unit = PAGE0->mem_boot.pz_layers[0];
break;
case PCL_NET_MASK|PCL_SEQU: