{
struct gpioiic_softc *sc = device_get_softc(dev);
int error, how;
int iic_how;
how = GPIOBUS_DONTWAIT;
if (data != NULL && (int)*data == IIC_WAIT)
if (data != NULL) {
how = GPIOBUS_WAIT;
memcpy(&iic_how, data, sizeof(iic_how));
if (iic_how == IIC_WAIT)
}
error = 0;
switch (index) {
case IIC_REQUEST_BUS: