On Wed, 18 Sep 2002, Yuan Huailin-w19410 wrote: > I want to know how a network card driver code to supports > multi-network card on one linux host? > If there is a linux kernel mechanism to support multi-card or I should > add code in my card driver? There are many good examples. You first looked at 3c501.c, which is the worst example. It was converted to use modules by someone that didn't understand the need for multiple network interfaces, and was never fixed because no one in their right mind (Alan) uses 3c501 cards. I've published pci-skeleton.c as an example for many years, and before that skeleton.c (which should be considered "isa-skeleton.c") ftp://www.scyld.com/pub/network/pci-skeleton.c -- Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters Annapolis MD 21403 410-990-9993 - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html