Re: revert mv643xx change from ubuntu tree

From: Ben Collins
Date: Fri Oct 20 2006 - 00:35:42 EST


On Thu, 2006-10-19 at 14:18 +0200, Olaf Hering wrote:
> Somehow the Ubuntu guys managed to sneak this compile error into the
> tree:
>
> commit ce9e3d9953c8cb67001719b5516da2928e956be4
>
> [mv643xx] Add pci device table for auto module loading.
>
> drivers/net/mv643xx_eth.c:1560: error: array type has incomplete element type
> drivers/net/mv643xx_eth.c:1561: warning: implicit declaration of function âPCI_DEVICEâ
> drivers/net/mv643xx_eth.c:1561: error: âPCI_VENDOR_ID_MARVELLâ undeclared here (not in a function)
> drivers/net/mv643xx_eth.c:1561: error: âPCI_DEVICE_ID_MARVELL_MV64360â undeclared here (not in a function)

Correct, I missed the include for linux/pci.h.

This patch has been trailing our tree since 2.6.12. Could you help me to
understand what in this driver will cause it to be autoloaded by udev
when compiled as a module?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/