[netdrvr sis190] use PCI DMA API for RX buffers
commitcacde53e16447545f06a8a06674fa12e8bf244fa
authorFrançois Romieu <romieu@fr.zoreil.com>
Wed, 27 Aug 2003 14:09:50 +0000 (27 10:09 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 27 Aug 2003 14:09:50 +0000 (27 10:09 -0400)
tree0fa7183c85a1158ca15f007c9528168fa5fce2c6
parentdfb4fdc99535f9971b3b0026cfdf8ee40086b26f
[netdrvr sis190] use PCI DMA API for RX buffers

Missing pieces for DMA-API on the Rx side:
- SiS190_init_ring: the global area for the received data is mapped.
  This area is persistent during the whole driver's life.
  It only needs to be unmapped in SiS190_close() as no other exit/error
  path exists.
- SiS190_rx_interrupt: no map/unmap for received data buffer. A single
  sync operation is done. Btw, there is no need to store the same value
  in RxDescArray[cur_rx].buf_addr over and over again.
- Remove driver dependancy on CONFIG_BROKEN.
drivers/net/Kconfig
drivers/net/sis190.c