patch-2.3.14 linux/Documentation/mca.txt

Next file: linux/Documentation/networking/cs89x0.txt
Previous file: linux/Documentation/isdn/README.hfc-pci
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/Documentation/mca.txt linux/Documentation/mca.txt
@@ -19,7 +19,7 @@
 	#include <linux/mca.h>
 
 	unsigned char pos2, pos3, pos4, pos5;
-	struct device* dev;
+	struct net_device* dev;
 	int slot;
 
 	if( MCA_bus ) {
@@ -114,7 +114,7 @@
 
 	static int
 	dev_getinfo( char* buf, int slot, void* d ) {
-		struct device* dev = (struct device*) d;
+		struct net_device* dev = (struct net_device*) d;
 		int len = 0;
 
 		len += sprintf( buf+len, "Device: %s\n", dev->name );

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)