sram_io
struct sram_io *sram_io;
sram_io = (struct sram_io *)data;
if (sram_io == NULL)
("Sram ioctl SIOGSRAM offset=%x\n", sram_io->offset));
if (sram_io->offset + SRAM_IO_SIZE > SRAM_SIZE)
bus_space_read_region_1(sc->sc_iot, sc->sc_ioh, sram_io->offset,
(uint8_t *)&sram_io->sram, SRAM_IO_SIZE);
("Sram ioctl SIOPSRAM offset=%x\n", sram_io->offset));
if (sram_io->offset + SRAM_IO_SIZE > SRAM_SIZE)
sram_io->offset, (uint8_t *)&sram_io->sram,
#define SIOPSRAM _IOW('V', 0x0, struct sram_io)
#define SIOGSRAM _IOWR('V', 0x1, struct sram_io)
struct sram_io buffer;
struct sram_io buffer;
struct sram_io buffer;