via-velocity: lean and clean velocity_init_rings
authorFrancois Romieu <romieu@fr.zoreil.com>
Thu, 10 Jul 2008 22:04:33 +0000 (00:04 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 11 Jul 2008 05:10:14 +0000 (01:10 -0400)
commit8ac53afccf7ab383fd97db8910117ae7892c72a7
tree622a36a9ee9bd762f70345545d73ed06223ccf16
parent580a690208321ed45addef5ef12e25b87f9f5dec
via-velocity: lean and clean velocity_init_rings

- PCI consistent areas need no memset
- use dev_err instead of plain printk
- avoid a few casts

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/via-velocity.c