Remove temporary workaround for hpcmips. Now it works without it.
This commit is contained in:
parent
d6554f3e25
commit
1102c5ed1d
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: i82365.c,v 1.39 2000/02/03 08:59:20 enami Exp $ */
|
||||
/* $NetBSD: i82365.c,v 1.40 2000/02/03 09:00:39 enami Exp $ */
|
||||
|
||||
#define PCICDEBUG
|
||||
|
||||
@ -95,15 +95,6 @@ static void pcic_delay __P((struct pcic_handle *, int, const char *));
|
||||
static u_int8_t st_pcic_read __P((struct pcic_handle *, int));
|
||||
static void st_pcic_write __P((struct pcic_handle *, int, u_int8_t));
|
||||
|
||||
#if !defined(PCIC_DELAY_SLEEP)
|
||||
#if defined(__hpcmips__)
|
||||
#define PCIC_DELAY_SLEEP 0
|
||||
#else
|
||||
#define PCIC_DELAY_SLEEP 1
|
||||
#endif
|
||||
#endif
|
||||
int pcic_delay_sleep = PCIC_DELAY_SLEEP;
|
||||
|
||||
int
|
||||
pcic_ident_ok(ident)
|
||||
int ident;
|
||||
@ -1330,11 +1321,7 @@ pcic_delay(h, timo, wmesg)
|
||||
}
|
||||
#endif
|
||||
DPRINTF(("pcic_delay: %p, sleep %d ms\n", h->event_thread, timo));
|
||||
if (pcic_delay_sleep)
|
||||
tsleep(pcic_delay, PWAIT, wmesg,
|
||||
roundup(timo * hz, 1000) / 1000);
|
||||
else
|
||||
delay(timo * 1000);
|
||||
tsleep(pcic_delay, PWAIT, wmesg, roundup(timo * hz, 1000) / 1000);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user