Comment out some register initialization which the firmware should have taken
care of anyway. Apparently doing this here disrupts newport's blitter operations and causes a deadlock.
This commit is contained in:
parent
d0ac537904
commit
74c35b5de8
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ioc.c,v 1.7 2007/10/17 19:57:05 garbled Exp $ */
|
||||
/* $NetBSD: ioc.c,v 1.8 2009/03/03 19:45:55 macallan Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2003 Christopher Sekiya
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ioc.c,v 1.7 2007/10/17 19:57:05 garbled Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ioc.c,v 1.8 2009/03/03 19:45:55 macallan Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -140,10 +140,13 @@ ioc_attach(struct device * parent, struct device * self, void *aux)
|
|||
IOC_WRITE_ENET_AUTO | IOC_WRITE_ENET_UTP |
|
||||
IOC_WRITE_PC_UART2 | IOC_WRITE_PC_UART1);
|
||||
|
||||
/* XXX: the firmware should have taken care of this already */
|
||||
#if 0
|
||||
if (mach_subtype == MACH_SGI_IP22_GUINNESS) {
|
||||
bus_space_write_4(sc->sc_iot, sc->sc_ioh, IOC_GCSEL, 0xff);
|
||||
bus_space_write_4(sc->sc_iot, sc->sc_ioh, IOC_GCREG, 0xff);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(BLINK)
|
||||
ioc_blink(sc);
|
||||
|
|
Loading…
Reference in New Issue