Initialization of Extended GPIOs

This commit is contained in:
ichiro 2001-07-07 15:50:37 +00:00
parent 975265e67e
commit f9d2eac504
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sa11x0.c,v 1.14 2001/07/07 07:04:56 ichiro Exp $ */
/* $NetBSD: sa11x0.c,v 1.15 2001/07/07 15:50:37 ichiro Exp $ */
/*-
* Copyright (c) 2001, The NetBSD Foundation, Inc. All rights reserved.
@ -154,6 +154,7 @@ sa11x0_attach(parent, self, aux)
if (bus_space_map(sc->sc_iot, SAEGPIO_BASE, 1, 0, &sc->sc_egpioh))
panic("%s: unable to map Extended GPIO registers\n",
self->dv_xname);
bus_space_write_4(sc->sc_iot, sc->sc_egpioh, 0, EGPIO_INIT);
#endif
/* Map the PPC registers */