Skip to contentSkip to conversation

[2.4] forcedeth network driver

PATCH Applied Carl-Daniel Hailfinger 2 participants 2 messages Feb 5, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 [2.4] forcedeth network driver

Marcelo,

attached is the current version (0.23) of forcedeth, a network driver for nForce{,2,3} chipsets which are fairly common today.
So far, the only support for nForce chipsets has been a binary-only driver from NVidia.

The previous patch I sent generated some criticism from Jeff Garzik et al. which has been addressed in the current version.
The current version has been posted for review twice and nobody has complained about it for more than a week.

This driver has received testing by over 200 people on nForce1, nForce2 and nForce3 chipsets and has already been integrated into 2.6. Before that, it has been in -mm for a few weeks. We currently don't have any unresolved bug reports.

Credits for the driver go to:
Andrew de Quincey: Writing a spec for the chipset Carl-Daniel Hailfinger: Co-author of the spec, driver fixes Manfred Spraul: Writing the driver

The patch is against your current bk tree.
Please apply.

Carl-Daniel

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas:
# ChangeSet 1.1321 -> 1.1323
# drivers/net/Makefile 1.40.1.1 -> 1.42
# drivers/net/Config.in 1.72.1.1 -> 1.75
# Documentation/Configure.help 1.206.1.21 -> 1.210
# (new) -> 1.11 drivers/net/forcedeth.c
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 04/02/04 [email protected] 1.1322
# Merge 4100xcdt.local:/sources/linux-2.4

# into 4100xcdt.local:/sources/linux-2.4-forcedeth
# --------------------------------------------
# 04/02/05	[email protected]	1.1323
# update forcedeth from 0.22 to 0.23: cleanups, remove all compat macros
# --------------------------------------------
#
diff -Nru a/Documentation/Configure.help b/Documentation/Configure.help
--- a/Documentation/Configure.help	Thu Feb  5 01:11:12 2004
+++ b/Documentation/Configure.help	Thu Feb  5 01:11:13 2004
@@ -12358,6 +12358,16 @@
   <file:Documentation/networking/net-modules.txt>.  The module will be
   called b44.

+nForce Ethernet support (EXPERIMENTAL)
+CONFIG_FORCEDETH

+  If you have a network (Ethernet) controller of this type, say Y and
+  read the Ethernet-HOWTO, available from
+  <http://www.tldp.org/docs.html#howto>.
+
+  To compile this driver as a module, choose M here and read
+  <file:Documentation/networking/net-modules.txt>.  The module will be
+  called forcedeth.o.

+
CS89x0 support (Daynaport CS and LC cards) CONFIG_CS89x0
Support for CS89x0 chipset based Ethernet cards. If you have a

drivers/net/Config.in +1 -0
diff -Nru a/drivers/net/Config.in b/drivers/net/Config.in
@@ -198,6 +198,7 @@
       dep_tristate '    Myson MTD-8xx PCI Ethernet support' CONFIG_FEALNX $CONFIG_PCI
       dep_tristate '    National Semiconductor DP8381x series PCI Ethernet support' CONFIG_NATSEMI $CONFIG_PCI
       dep_tristate '    PCI NE2000 and clones support (see help)' CONFIG_NE2K_PCI $CONFIG_PCI
+      dep_tristate '    nForce Ethernet support (EXPERIMENTAL)' CONFIG_FORCEDETH $CONFIG_PCI $CONFIG_EXPERIMENTAL
       dep_tristate '    Novell/Eagle/Microdyne NE3210 EISA support (EXPERIMENTAL)' CONFIG_NE3210 $CONFIG_EISA $CONFIG_EXPERIMENTAL
       dep_tristate '    Racal-Interlan EISA ES3210 support (EXPERIMENTAL)' CONFIG_ES3210 $CONFIG_EISA $CONFIG_EXPERIMENTAL
       dep_tristate '    RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support (EXPERIMENTAL)' CONFIG_8139CP $CONFIG_PCI $CONFIG_EXPERIMENTAL
drivers/net/Makefile +1 -0
diff -Nru a/drivers/net/Makefile b/drivers/net/Makefile
@@ -154,6 +154,7 @@
 obj-$(CONFIG_NE3210) += ne3210.o 8390.o
 obj-$(CONFIG_NET_SB1250_MAC) += sb1250-mac.o
 obj-$(CONFIG_B44) += b44.o
+obj-$(CONFIG_FORCEDETH) += forcedeth.o
 
 obj-$(CONFIG_PPP) += ppp_generic.o slhc.o
 obj-$(CONFIG_PPP_ASYNC) += ppp_async.o
drivers/net/forcedeth.c new file +1576 -0

1,576 lines not on this page · raw message

Applied
#1 lore raw

Applied.

I'll send to Marcelo... but it's up to him whether he will include it in 2.4.25-pre ot 2.4.26-pre. He said he's planning on releasing 2.4.25-rc soon...

Jeff