Adam C Powell IV wrote: > I was thinking along the lines of a patch to drivers/net/Config.in to say > "PCI NE2000 and clones (see help)" and then put the list of clones in the > appropriate section of Documentation/Configure.help. > Also, in the rtl8139 section, it says something like "NOT 8029!", I'd make it > "NOT 8209, which is a PCI NE2000 clone".
Patches are attached vs. 2.2.17 and 2.4.0-test8. If they seem good (i.e. if nobody says they're bad :-), I'll forward them. > I'll post a diff vs. the Debian config early next week, based largely on the > i386 config, and see what people think. Or is there something special about > PPC or pmac such that we don't want to have > these things in the default kernel? Okay, was going to do something comprehensive, but am just focusing on networking options for now. The attached diff (vs shipping 2.2.17-pmac config) enables at least the dhcp-client and ipmasq packages to work out-of-box. I think it would also be nice to see some more net card driver modules. Others might want video, or joysticks, etc. Is there any reason not to include lots of modules? In Debian-i386 world, it's a luxury to have so many modules available, so very few people will need to build their own kernel, though of course it means more driver floppies and a large /lib/modules. BTW, I don't see any kernel config discussions in the archives, is this the place to discuss them? Just some ideas, -Adam P. Welcome to the best software in the world today cafe!
--- Documentation/Configure.help.bak Mon Sep 25 14:34:57 2000 +++ Documentation/Configure.help Mon Sep 25 14:47:56 2000 @@ -5915,6 +5915,11 @@ say Y and read the Ethernet-HOWTO, available via FTP (user: anonymous) in ftp://metalab.unc.edu/pub/Linux/docs/HOWTO. + This driver also works for the following NE2000 clone cards: + RealTek RTL-8029 Winbond 89C940 Compex RL2000 KTI ET32P2 + NetVin NV5000SC Via 86C926 SureCom NE34 Winbond + Holtek HT80232 Holtek HT80229 + This driver is also available as a module ( = code which can be inserted in and removed from the running kernel whenever you want). The module will be called ne2k-pci.o. If you want to compile it as a @@ -5988,6 +5993,8 @@ the RTL8129 and RTL8139 chips. If you have one of those, say Y and read the Ethernet-HOWTO, available via FTP (user: anonymous) in ftp://metalab.unc.edu/pub/Linux/docs/HOWTO. + + Note that the 8029 is a NE2000 PCI clone, use the NE2K-PCI driver. If you want to compile this driver as a module ( = code which can be inserted in and removed from the running kernel whenever you want), --- drivers/net/Config.in.bak Mon Sep 25 13:44:31 2000 +++ drivers/net/Config.in Mon Sep 25 13:45:29 2000 @@ -147,7 +147,7 @@ tristate 'Mylex EISA LNE390A/B support (EXPERIMENTAL)' CONFIG_LNE390 tristate 'Novell/Eagle/Microdyne NE3210 EISA support (EXPERIMENTAL)' CONFIG_NE3210 fi - tristate 'PCI NE2000 support' CONFIG_NE2K_PCI + tristate 'PCI NE2000 and clones support (see help)' CONFIG_NE2K_PCI tristate 'TI ThunderLAN support' CONFIG_TLAN tristate 'VIA Rhine support' CONFIG_VIA_RHINE tristate 'SiS 900/7016 PCI Fast Ethernet Adapter support' CONFIG_SIS900
--- 2.4.0-test8/Documentation/Configure.help Mon Sep 25 14:57:50 2000 +++ linux/Documentation/Configure.help Mon Sep 25 15:01:40 2000 @@ -8098,6 +8098,11 @@ say Y and read the Ethernet-HOWTO, available from http://www.linuxdoc.org/docs.html#howto . + This driver also works for the following NE2000 clone cards: + RealTek RTL-8029 Winbond 89C940 Compex RL2000 KTI ET32P2 + NetVin NV5000SC Via 86C926 SureCom NE34 Winbond + Holtek HT80232 Holtek HT80229 + This driver is also available as a module ( = code which can be inserted in and removed from the running kernel whenever you want). The module will be called ne2k-pci.o. If you want to compile it as a @@ -8158,6 +8163,8 @@ the RTL8129 chip. If you have one of those, say Y and read the Ethernet-HOWTO, available from http://www.linuxdoc.org/docs.html#howto . + + Note that the 8029 is a NE2000 PCI clone, use the NE2K-PCI driver. If you want to compile this driver as a module ( = code which can be inserted in and removed from the running kernel whenever you want), --- 2.4.0-test8/drivers/net/Config.in Mon Sep 25 14:56:53 2000 +++ linux/drivers/net/Config.in Mon Sep 25 14:59:33 2000 @@ -146,7 +146,7 @@ tristate ' Mylex EISA LNE390A/B support (EXPERIMENTAL)' CONFIG_LNE390 fi dep_tristate ' National Semiconductor DP83810 series PCI Ethernet support' CONFIG_NATSEMI $CONFIG_PCI - dep_tristate ' PCI NE2000 support' CONFIG_NE2K_PCI $CONFIG_PCI + dep_tristate ' PCI NE2000 and clones support (see help)' CONFIG_NE2K_PCI $CONFIG_PCI if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then tristate ' Novell/Eagle/Microdyne NE3210 EISA support (EXPERIMENTAL)' CONFIG_NE3210 fi
--- /boot/config-2.2.17 Tue Jul 18 20:50:17 2000 +++ .config Mon Sep 25 15:59:44 2000 @@ -114,27 +114,47 @@ CONFIG_PACKET=y CONFIG_NETLINK=y # CONFIG_RTNETLINK is not set -# CONFIG_NETLINK_DEV is not set -# CONFIG_FIREWALL is not set -# CONFIG_FILTER is not set -CONFIG_UNIX=y +CONFIG_NETLINK_DEV=m +CONFIG_FIREWALL=y +CONFIG_FILTER=y +CONFIG_UNIX=m CONFIG_INET=y CONFIG_IP_MULTICAST=y # CONFIG_IP_ADVANCED_ROUTER is not set # CONFIG_IP_PNP is not set +CONFIG_IP_FIREWALL=y +# CONFIG_IP_FIREWALL_NETLINK is not set +# CONFIG_IP_TRANSPARENT_PROXY is not set +CONFIG_IP_MASQUERADE=y + +# +# Protocol-specific masquerading support will be built as modules. +# +CONFIG_IP_MASQUERADE_ICMP=y + +# +# Protocol-specific masquerading support will be built as modules. +# +CONFIG_IP_MASQUERADE_MOD=y +CONFIG_IP_MASQUERADE_IPAUTOFW=m +CONFIG_IP_MASQUERADE_IPPORTFW=m +CONFIG_IP_MASQUERADE_MFW=m # CONFIG_IP_ROUTER is not set -# CONFIG_NET_IPIP is not set -# CONFIG_NET_IPGRE is not set +CONFIG_NET_IPIP=m +CONFIG_NET_IPGRE=m +# CONFIG_NET_IPGRE_BROADCAST is not set # CONFIG_IP_MROUTE is not set CONFIG_IP_ALIAS=y -# CONFIG_SYN_COOKIES is not set +CONFIG_SYN_COOKIES=y # # (it is safe to leave these untouched) # CONFIG_INET_RARP=y CONFIG_SKB_LARGE=y -# CONFIG_IPV6 is not set +CONFIG_IPV6=m +# CONFIG_IPV6_EUI64 is not set +# CONFIG_IPV6_NETLINK is not set # #