summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-02-22 22:31:50 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-02-22 22:31:50 +0000
commit86e059e434e39336799fcc6c776782e0cb9c8543 (patch)
tree9af5d3fcaba7ceedc4f122fa573c1e79158ea040 /sys/arch
parent97a4c24cdbe25a5398fb463f770ab2c5d2f941e4 (diff)
Attach as scf0 as per the config(8) stanza, instead of sysconfig0.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/dev/scf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/scf.c b/sys/arch/sparc/dev/scf.c
index 9fbfeceb093..dc79a370fe2 100644
--- a/sys/arch/sparc/dev/scf.c
+++ b/sys/arch/sparc/dev/scf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scf.c,v 1.7 2005/06/01 22:31:22 miod Exp $ */
+/* $OpenBSD: scf.c,v 1.8 2006/02/22 22:31:49 miod Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -72,12 +72,12 @@ struct cfattach scf_ca = {
};
struct cfdriver scf_cd = {
- NULL, "sysconfig", DV_IFNET
+ NULL, "scf", DV_IFNET
};
extern int sparc_led_blink;
-static u_int8_t scf_pattern[] = {
+static const u_int8_t scf_pattern[] = {
SSLDCR_A|SSLDCR_B|SSLDCR_C|SSLDCR_D|SSLDCR_E|SSLDCR_F,
SSLDCR_B|SSLDCR_C,
SSLDCR_A|SSLDCR_B|SSLDCR_D|SSLDCR_E|SSLDCR_G,