[PATCH] skge: check the allocation of ring buffer
authorStephen Hemminger <shemminger@osdl.org>
Tue, 21 Mar 2006 18:57:01 +0000 (10:57 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 21 Mar 2006 21:00:50 +0000 (16:00 -0500)
commitc3da14474063e71686039d961d14785a9c2971ae
treee98f5e56f94abb911cc61df12e026e626c651c7c
parentcfc3ed796eda2c41fb20986d831ed56c0474279d
[PATCH] skge: check the allocation of ring buffer

The SysKonnect Genesis and Yukon chip sets have restrictions on the possible
control block area.  The memory needs to not cross 4 Gig boundary, and it needs
to be 8 byte aligned.  This patch checks and fails to bring the device up
if region is unacceptable.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/skge.c