X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=UDI%2Fdrivers%2Fnet_ne2000%2Fne2000_pio.h;fp=UDI%2Fdrivers%2Fnet_ne2000%2Fne2000_pio.h;h=71a3d060f7699f76012fc811777481a61b06203a;hb=ba60880472a507ff724595f29830753ec8aad40e;hp=b862fe87c266460ab408a2e21e2f67abb1416ab4;hpb=5446b4e5d2c1a91ab20159c304da2dd3c7c4aa52;p=tpg%2Facess2.git diff --git a/UDI/drivers/net_ne2000/ne2000_pio.h b/UDI/drivers/net_ne2000/ne2000_pio.h index b862fe87..71a3d060 100644 --- a/UDI/drivers/net_ne2000/ne2000_pio.h +++ b/UDI/drivers/net_ne2000/ne2000_pio.h @@ -192,21 +192,22 @@ udi_pio_trans_t ne2k_pio_irqack[] = { {UDI_PIO_LABEL, 0, 3}, {UDI_PIO_END_IMM, UDI_PIO_2BYTE, 0}, }; +// +// +// +udi_pio_trans_t ne2k_pio_tx[] = { + +}; struct { udi_pio_trans_t *trans_list; udi_ubit16_t list_length; udi_ubit16_t pio_attributes; } ne2k_pio_ops[] = { - {ne2k_pio_reset, ARRAY_SIZEOF(ne2k_pio_reset), 0}, - {ne2k_pio_enable, ARRAY_SIZEOF(ne2k_pio_enable), 0}, - {ne2k_pio_rx, ARRAY_SIZEOF(ne2k_pio_rx), 0}, - {ne2k_pio_irqack, ARRAY_SIZEOF(ne2k_pio_irqack), 0}, + [NE2K_PIO_RESET] = {ne2k_pio_reset, ARRAY_SIZEOF(ne2k_pio_reset), 0}, + [NE2K_PIO_ENABLE] = {ne2k_pio_enable, ARRAY_SIZEOF(ne2k_pio_enable), 0}, + [NE2K_PIO_RX] = {ne2k_pio_rx, ARRAY_SIZEOF(ne2k_pio_rx), 0}, + [NE2K_PIO_IRQACK] = {ne2k_pio_irqack, ARRAY_SIZEOF(ne2k_pio_irqack), 0}, + [NE2K_PIO_TX] = {ne2k_pio_tx, ARRAY_SIZEOF(ne2k_pio_tx), 0}, }; const int NE2K_NUM_PIO_OPS = ARRAY_SIZEOF(ne2k_pio_ops); -enum { - NE2K_PIO_RESET, - NE2K_PIO_ENABLE, - NE2K_PIO_RX, - NE2K_PIO_IRQACK, -};