|
@@ -97,6 +97,13 @@ struct bufdesc {
|
|
|
unsigned short cbd_sc; /* Control and status info */
|
|
|
unsigned long cbd_bufaddr; /* Buffer address */
|
|
|
};
|
|
|
+#else
|
|
|
+struct bufdesc {
|
|
|
+ unsigned short cbd_sc; /* Control and status info */
|
|
|
+ unsigned short cbd_datlen; /* Data length */
|
|
|
+ unsigned long cbd_bufaddr; /* Buffer address */
|
|
|
+};
|
|
|
+#endif
|
|
|
|
|
|
struct bufdesc_ex {
|
|
|
struct bufdesc desc;
|
|
@@ -107,14 +114,6 @@ struct bufdesc_ex {
|
|
|
unsigned short res0[4];
|
|
|
};
|
|
|
|
|
|
-#else
|
|
|
-struct bufdesc {
|
|
|
- unsigned short cbd_sc; /* Control and status info */
|
|
|
- unsigned short cbd_datlen; /* Data length */
|
|
|
- unsigned long cbd_bufaddr; /* Buffer address */
|
|
|
-};
|
|
|
-#endif
|
|
|
-
|
|
|
/*
|
|
|
* The following definitions courtesy of commproc.h, which where
|
|
|
* Copyright (c) 1997 Dan Malek (dmalek@jlc.net).
|