Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2
[tpg/acess2.git] / UDI / drivers / gfx_bochs / bochsga_pio.h
diff --git a/UDI/drivers/gfx_bochs/bochsga_pio.h b/UDI/drivers/gfx_bochs/bochsga_pio.h
new file mode 100644 (file)
index 0000000..f5ddf26
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ * TODO
+ */
+#ifndef _BOCHSGA_PIO_H_
+#define _BOCHSGA_PIO_H_
+
+udi_pio_trans_t        bochsga_pio_enable[] = {
+       {UDI_PIO_END_IMM, UDI_PIO_2BYTE, 0},
+       };
+
+enum {
+       BOCHSGA_PIO_ENABLE,
+};
+
+const struct s_pio_ops bochsga_pio_ops[] = {
+       [BOCHSGA_PIO_ENABLE] = UDIH_PIO_OPS_ENTRY(bochsga_pio_enable, 0, UDI_PCI_BAR_2, 0x400, 0xB*2),
+//     UDIH_PIO_OPS_ENTRY(bochsga_pio_enable, 0, UDI_PCI_BAR_2, 0x400, 0xB*2),
+       };
+#define N_PIO  (sizeof(bochsga_pio_ops)/sizeof(struct s_pio_ops))
+
+#endif
+

UCC git Repository :: git.ucc.asn.au