2.6.x net driver fixes
Subsystems (3)
PATCH 1/1 2.6.x net driver fixes
Here's a first experimental git push from me. The git URL is rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git
but it should be noted that I would like you to pull the 'misc-fixes' branch. I'm told that branches are supposed to live in .git/refs/heads, so there you will find netdev-2.6.git/refs/heads/misc-fixes.
Does that work?
Changelog and patch for review attached.
Jeff, still afraid of trying a 'tough' merge
commit c8920ba041c8934b29370f5d62ab9ea8f147966b
tree 6e0e12acd812f221906289348bc4e08cd1047df6
parent c4cc26d3310a6614a20e32276228a5d44159fc9b
author Daniel Andersen <[email protected]> Fri, 06 May 2005 05:14:09 -0700 committer Jeff Garzik <[email protected]> Mon, 16 May 2005 08:04:29 -0400
[PATCH] wireless: 3CRWE154G72 Kconfig help fix
Version 2 of the 3com OfficeConnect 11g Cardbus Card aka 3CRWE154G72 is not supported by the prism54 project. To stop confusion, the kernel documentation should state so as 3com made a good job hiding the version.
diff -puN drivers/net/wireless/Kconfig~wireless-3crwe154g72-kconfig-help-fix drivers/net/wireless/Kconfig
--------------------------
commit c4cc26d3310a6614a20e32276228a5d44159fc9b
tree 35246410bf048fb6a0aa455b272f2a2933dbacad
parent 99718699f5746cc365f3a9ab4769568a1da97635
author Jiri Benc <[email protected]> Wed, 27 Apr 2005 12:48:56 +0200 committer Jeff Garzik <[email protected]> Mon, 16 May 2005 07:18:48 -0400
[PATCH] Typo in tulip driver
This patch fixes a typo in tulip driver in 2.6.12-rc3.
--------------------------
commit 99718699f5746cc365f3a9ab4769568a1da97635
tree 6f8f9ad590b14514ad88c3478328795148c91e46
parent f7a3aae1723e7ffc9c4fcdb489365da7a3d81255
author Geoff Levand <[email protected]> Fri, 15 Apr 2005 01:20:32 -0700 committer Jeff Garzik <[email protected]> Mon, 16 May 2005 06:44:26 -0400
[PATCH] {PATCH] Fix IBM EMAC driver ioctl bug
Fix IBM EMAC driver ioctl bug.
I found IBM EMAC driver bug.
So mii-tool command print wrong status.
# mii-tool eth0: 10 Mbit, half duplex, no link eth1: 10 Mbit, half duplex, no link
I can get correct status on fixed kernel.
# mii-tool eth0: negotiated 100baseTx-FD, link okZZ eth1: negotiated 100baseTx-FD, link ok
Hiroaki Fuse
--------------------------
commit f7a3aae1723e7ffc9c4fcdb489365da7a3d81255
tree 2c0a93d730060f63670d3e7f130ee12e26b3ed8f
parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5
author Al Viro <[email protected]> Sun, 03 Apr 2005 09:15:52 +0100 committer Jeff Garzik <[email protected]> Mon, 16 May 2005 06:22:32 -0400
[PATCH] drivers/net/wireless enabled by wrong option
NET_WIRELESS is only a subset of the stuff in drivers/net/wireless;
NET_RADIO is what covers all of them.
--------------------------
drivers/net/Makefile +1 -1
@@ -187,7 +187,7 @@ obj-$(CONFIG_TR) += tokenring/ obj-$(CONFIG_WAN) += wan/ obj-$(CONFIG_ARCNET) += arcnet/ obj-$(CONFIG_NET_PCMCIA) += pcmcia/ -obj-$(CONFIG_NET_WIRELESS) += wireless/ +obj-$(CONFIG_NET_RADIO) += wireless/ obj-$(CONFIG_NET_TULIP) += tulip/ obj-$(CONFIG_HAMRADIO) += hamradio/ obj-$(CONFIG_IRDA) += irda/
drivers/net/ibm_emac/ibm_emac_core.c +1 -1
@@ -1595,7 +1595,7 @@ static struct ethtool_ops emac_ethtool_ostatic int emac_ioctl (struct net_device *dev,struct ifreq *rq,int cmd) {struct ocp_enet_private *fep = dev->priv; -uint *data = (uint *) & rq->ifr_ifru; +uint16_t *data = (uint16_t *) & rq->ifr_ifru;switch (cmd) {case SIOCGMIIPHY :
drivers/net/tulip/tulip_core.c +1 -1
@@ -1104,7 +1104,7 @@ static void set_rx_mode(struct net_devicif (entry !=0 ) {/* Avoid a chip errata by prefixing a dummy entry. Don't do this on the ULI526X as it triggers a different problem */ -if (!(tp->chip_id ==ULI526X && (tp->revision =0x40 || tp->revision ==0x50 ))) { +if (!(tp->chip_id ==ULI526X && (tp->revision ==0x40 || tp->revision ==0x50 ))) { tp->tx_buffers[entry].skb =NULL ; tp->tx_buffers[entry].mapping =0 ; tp->tx_ring[entry].length =
drivers/net/wireless/Kconfig +1 -1
@@ -323,7 +323,7 @@ config PRISM54 For a complete list of supported cards visit <http://prism54.org>. Here is the latest confirmed list of supported cards: - 3com OfficeConnect 11g Cardbus Card aka 3CRWE154G72 + 3com OfficeConnect 11g Cardbus Card aka 3CRWE154G72 (version 1) Allnet ALL0271 PCI Card Compex WL54G Cardbus Card Corega CG-WLCB54GT Cardbus Card
Quoted 9 lines · Jeff Garzik
Here's a first experimental git push from me. The git URL is rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git
but it should be noted that I would like you to pull the 'misc-fixes' branch. I'm told that branches are supposed to live in .git/refs/heads, so there you will find netdev-2.6.git/refs/heads/misc-fixes.
Does that work?
Yes. Merged and pushed out.
Quoted 1 line
Changelog and patch for review attached.
It's wonderful if you also do a "diffstat" on the thing, since my merge scripts will always show that to me, and I can verify at a glance that it matches what you thought you sent me.
Also, if you are really nervous, the "git-diff-tree" thing is actually quite good at generating changelogs, so you can do something like this:
git-rev-tree HEAD ^ORIG_HEAD | cut -d' ' -f2 | git-diff-tree -v -p --stdin | less -S
which means: give me a list of all commits that are in HEAD but not in ORIG_HEAD (replace with whatever markers you have, in this case you'd use "misc-fixes" instead of HEAD and some marker - maybe the SHA1 - for my last base), then take just the SHA1 of that list of commits, and show a verbose diff of each of the commits with the patch.
For example, the output of the above command (after I merged from you) is appended, so you can see exactly what I merged.
Linus
----
diff-tree 99718699f5746cc365f3a9ab4769568a1da97635 (from f7a3aae1723e7ffc9c4fcdb489365da7a3d81255)
Author: Geoff Levand <[email protected]> Date: Thu Apr 14 11:20:32 2005 -0700
[PATCH] {PATCH] Fix IBM EMAC driver ioctl bug
Fix IBM EMAC driver ioctl bug.
I found IBM EMAC driver bug.
So mii-tool command print wrong status.
# mii-tool
eth0: 10 Mbit, half duplex, no link
eth1: 10 Mbit, half duplex, no link
I can get correct status on fixed kernel.
# mii-tool
eth0: negotiated 100baseTx-FD, link okZZ
eth1: negotiated 100baseTx-FD, link ok
Hiroaki Fuse
drivers/net/ibm_emac/ibm_emac_core.c +1 -1
@@ -1595,7 +1595,7 @@ static struct ethtool_ops emac_ethtool_ostatic int emac_ioctl (struct net_device *dev,struct ifreq *rq,int cmd) {struct ocp_enet_private *fep = dev->priv; -uint *data = (uint *) & rq->ifr_ifru; +uint16_t *data = (uint16_t *) & rq->ifr_ifru;switch (cmd) {case SIOCGMIIPHY :
diff-tree c4cc26d3310a6614a20e32276228a5d44159fc9b (from 99718699f5746cc365f3a9ab4769568a1da97635)
Author: Jiri Benc <[email protected]> Date: Wed Apr 27 08:48:56 2005 +0200
[PATCH] Typo in tulip driver
This patch fixes a typo in tulip driver in 2.6.12-rc3.
drivers/net/tulip/tulip_core.c +1 -1
@@ -1104,7 +1104,7 @@ static void set_rx_mode(struct net_devicif (entry !=0 ) {/* Avoid a chip errata by prefixing a dummy entry. Don't do this on the ULI526X as it triggers a different problem */ -if (!(tp->chip_id ==ULI526X && (tp->revision =0x40 || tp->revision ==0x50 ))) { +if (!(tp->chip_id ==ULI526X && (tp->revision ==0x40 || tp->revision ==0x50 ))) { tp->tx_buffers[entry].skb =NULL ; tp->tx_buffers[entry].mapping =0 ; tp->tx_ring[entry].length =
diff-tree c8920ba041c8934b29370f5d62ab9ea8f147966b (from c4cc26d3310a6614a20e32276228a5d44159fc9b)
Author: Daniel Andersen <[email protected]> Date: Thu May 5 15:14:09 2005 -0700
[PATCH] wireless: 3CRWE154G72 Kconfig help fix
Version 2 of the 3com OfficeConnect 11g Cardbus Card aka 3CRWE154G72 is not supported by the prism54 project. To stop confusion, the kernel documentation should state so as 3com made a good job hiding the version.
diff -puN drivers/net/wireless/Kconfig~wireless-3crwe154g72-kconfig-help-fix drivers/net/wireless/Kconfig
drivers/net/wireless/Kconfig +1 -1
@@ -323,7 +323,7 @@ config PRISM54 For a complete list of supported cards visit <http://prism54.org>. Here is the latest confirmed list of supported cards: - 3com OfficeConnect 11g Cardbus Card aka 3CRWE154G72 + 3com OfficeConnect 11g Cardbus Card aka 3CRWE154G72 (version 1) Allnet ALL0271 PCI Card Compex WL54G Cardbus Card Corega CG-WLCB54GT Cardbus Card
diff-tree f7a3aae1723e7ffc9c4fcdb489365da7a3d81255 (from 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5)
Author: Al Viro <[email protected]> Date: Sun Apr 3 07:15:52 2005 +0100
[PATCH] drivers/net/wireless enabled by wrong option
NET_WIRELESS is only a subset of the stuff in drivers/net/wireless;
NET_RADIO is what covers all of them.
drivers/net/Makefile +1 -1
@@ -187,7 +187,7 @@ obj-$(CONFIG_TR) += tokenring/ obj-$(CONFIG_WAN) += wan/ obj-$(CONFIG_ARCNET) += arcnet/ obj-$(CONFIG_NET_PCMCIA) += pcmcia/ -obj-$(CONFIG_NET_WIRELESS) += wireless/ +obj-$(CONFIG_NET_RADIO) += wireless/ obj-$(CONFIG_NET_TULIP) += tulip/ obj-$(CONFIG_HAMRADIO) += hamradio/ obj-$(CONFIG_IRDA) += irda/