sky2: fix ram buffer allocation settings
commit6d33b0b0227977ccc7201bf223e0314b3db93e0a
authorStephen Hemminger <shemminger@linux-foundation.org>
Mon, 26 Feb 2007 00:51:03 +0000 (26 01:51 +0100)
committerAdrian Bunk <bunk@stusta.de>
Mon, 26 Feb 2007 00:51:03 +0000 (26 01:51 +0100)
treea0ae74091909bf775b8ea1cc43f78035b3387897
parent4c8a6fed53c2c10604a7c762d1bd31388709c4ac
sky2: fix ram buffer allocation settings

Different chipsets have different amount of ram buffer (some have none),
so need to make sure that driver does proper setup for all cases from 0 on
to 48K, in units of 1K.

This is a backport of the code from 2.6.19 or later

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/net/sky2.c