diff --git a/sys/arch/hp300/dev/rd.c b/sys/arch/hp300/dev/rd.c index b814e6f4572d..43e0f6f00478 100644 --- a/sys/arch/hp300/dev/rd.c +++ b/sys/arch/hp300/dev/rd.c @@ -1,4 +1,4 @@ -/* $NetBSD: rd.c,v 1.30 1997/04/09 20:01:04 thorpej Exp $ */ +/* $NetBSD: rd.c,v 1.31 1997/05/05 21:07:31 thorpej Exp $ */ /* * Copyright (c) 1996, 1997 Jason R. Thorpe. All rights reserved. @@ -64,15 +64,17 @@ #include #include -#ifdef USELEDS -#include -#endif - #include #include #include #include +#include "opt_useleds.h" + +#ifdef USELEDS +#include +#endif + int rderrthresh = RDRETRY-1; /* when to start reporting errors */ #ifdef DEBUG @@ -829,8 +831,7 @@ rdgo(arg) disk_busy(&rs->sc_dkdev); #ifdef USELEDS - if (inledcontrol == 0) - ledcontrol(0, 0, LED_DISK); + ledcontrol(0, 0, LED_DISK); #endif hpibgo(ctlr, slave, C_EXEC, rs->sc_addr, rs->sc_resid, rw, rw != 0); }