summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_art.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-08-14 21:50:50 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-08-14 21:50:50 +0000
commit68a08cd3daa393fda25f32dfe2deba40e312691a (patch)
tree55fa28431fee7ffda402e87bc77367ea60565e52 /sys/dev/pci/if_art.c
parentb89c8a0d48c60ed6bf4440b7b3e217d8df068f42 (diff)
Kill the musyccbus/ebus device and use musycc for both functions of the
chip. Using two different devices for one card was a stupid idea. OK deraadt@
Diffstat (limited to 'sys/dev/pci/if_art.c')
-rw-r--r--sys/dev/pci/if_art.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_art.c b/sys/dev/pci/if_art.c
index 9973f8b9060..0549b6208ea 100644
--- a/sys/dev/pci/if_art.c
+++ b/sys/dev/pci/if_art.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_art.c,v 1.3 2005/08/13 23:52:49 claudio Exp $ */
+/* $OpenBSD: if_art.c,v 1.4 2005/08/14 21:50:49 claudio Exp $ */
/*
* Copyright (c) 2004,2005 Internet Business Solutions AG, Zurich, Switzerland
@@ -321,18 +321,18 @@ art_onesec(void *arg)
case 1:
link_state = LINK_STATE_UP;
/* set led green but ask sppp if red is needed */
- ebus_set_led(ac->art_channel->cc_group->mg_hdlc->mc_ebus, 1);
+ ebus_set_led(ac->art_channel->cc_group->mg_hdlc->mc_other, 1);
ac->art_status |= IFM_ACTIVE;
break;
case 0:
link_state = LINK_STATE_DOWN;
/* set led green & red */
- ebus_set_led(ac->art_channel->cc_group->mg_hdlc->mc_ebus, 3);
+ ebus_set_led(ac->art_channel->cc_group->mg_hdlc->mc_other, 3);
break;
default:
link_state = LINK_STATE_DOWN;
/* set led red */
- ebus_set_led(ac->art_channel->cc_group->mg_hdlc->mc_ebus, 2);
+ ebus_set_led(ac->art_channel->cc_group->mg_hdlc->mc_other, 2);
break;
}