--- aoe.h.orig 2006-05-25 19:11:48 UTC +++ aoe.h @@ -41,7 +41,7 @@ #define DPRINTK(fmt, arg...) XPRINTK(LOG_DEBUG, fmt, ## arg) #define nelem(a) (sizeof (a) / sizeof (a)[0]) -#define MINPERMAJ 10 +#define MINPERMAJ 64 #define AOEMAJOR(unit) ((unit) / MINPERMAJ) #define AOEMINOR(unit) ((unit) % MINPERMAJ) #define AOEUNIT(maj, min) ((maj) * MINPERMAJ + (min)) @@ -152,10 +152,8 @@ DEVFL_WC_UPDATE = (1<<6), /* This device needs to update write cache status */ DEVFL_DESTROY = (1<<7), - MAXATADATA = 1024, /* max permissable data in frame */ FREETAG = -1, /* tag magic; denotes free frame */ INPROCTAG = -2, /* tag magic; denotes frame in processing */ - IFLISTSZ = 128, /* length of the aoe_iflist string */ }; #define AOEHDRSZ (sizeof(struct aoe_hdr) + sizeof(struct aoe_atahdr))