]> git.hungrycats.org Git - linux/commit
[netdrvr sis190] remove unneeded alignment code, other small fixes
authorFrançois Romieu <romieu@fr.zoreil.com>
Tue, 26 Aug 2003 14:24:15 +0000 (10:24 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 26 Aug 2003 14:24:15 +0000 (10:24 -0400)
commit7d8608b16ba77e80ce58fe4c6b89039e40275cba
tree2da389e60f617fedcaeebf4795d54949b8c52d56
parent1682bb120828bf146fa1fed42fc36a2c806b967b
[netdrvr sis190] remove unneeded alignment code, other small fixes

Driver does not need to enforce 256 byte alignment for data returned
from pci_alloc_consistent().
- {rx/tx}_dma_aligned and {rx/td}_dma_raw are both replaced by {rx/tx}_dma;
- {rx/tx}_desc_raw is replaced by direct use of {Rx/Tx}DescArray;
- SiS190_open()
  + fixup for a lack of kmalloc() failure handling;
  + (return status) there is no need for both retval/rc: merge them;
  + anonymous printk() fixup: the name of the guilty device is printed;
- define {RX/TX}_DESC_TOTAL_SIZE because I am too lazy to read twice the
  same lengthy arithmetic expression.
drivers/net/sis190.c