AT91_PIO_COUNT
static struct at91pio_softc *at91pio_softc[AT91_PIO_COUNT];
if (port < AT91_PIO_COUNT)
if (p < AT91_PIO_COUNT && !at91pio_softc[p])
AT91_PIO_INVALID = AT91_PIO_COUNT