From 674882c9999610cf15e254616fd1ccf9a5b70cf8 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 15 Apr 2003 18:07:33 +0000 Subject: rearrange devsw to place dk in the beginning. necessary glue hookups in cdboot --- sys/arch/hppa/stand/libsa/dev_hppa.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/arch/hppa/stand/libsa/dev_hppa.c') 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: -- cgit v1.2.3