vlsi driver update
Subsystems (2)
PATCH 1/1 vlsi driver update
ir2603_vlsi-05.diff :
~~~~~~~~~~~~~~~~~~~
<Patch from Martin Diehl>
* correct endianess conversion of hardware exposed fields
* we need to check crc16 of rx frames in SIR-mode
(hardware does this in MIR/FIR modes). Use irda_calc_crc16.
* get rid of BUG'gers - having them in interrupt path isn't fun.
* don't return NET_XMIT_DROP when we drop (dev_kfree_skb_any) frames. This value is meant to ask for retransmit so we would corrupt the skb slab.
* locking review, corrections and improvements: particularly focus on speed setting and start_xmit paths, but also reducing time we are staying with interrupts disabled.
* printk-cleanup: less/better syslog msgs, use IRDA_DEBUG and friends.
* default qos_mtt_bits should be 1ms or longer (0x07), not exactly 1ms
* rename IRENABLE_IREN -> IRENABLE_PHYANDCLOCK
* few minor improvements
* compatibility stuff to preserve 2.4 backport path
* it's a pci controller, so we should depend on CONFIG_PCI
* DRIVER_VERSION 0.5
drivers/net/irda/Kconfig renamed from drivers/net/irda/Kconfig.d2 +1 -1
@@ -333,7 +333,7 @@ config ALI_FIR config VLSI_FIR tristate "VLSI 82C147 SIR/MIR/FIR (EXPERIMENTAL)" - depends on EXPERIMENTAL && IRDA + depends on EXPERIMENTAL && IRDA && PCI help Say Y here if you want to build support for the VLSI 82C147 PCI-IrDA Controller. This controller is used by the HP OmniBook 800
include/net/irda/vlsi_ir.h renamed from include/net/irda/vlsi_ir.d2.h +69 -22
163 lines not on this page · raw message
drivers/net/irda/vlsi_ir.c renamed from drivers/net/irda/vlsi_ir.d2.c +260 -275
1,004 lines not on this page · raw message
Quoted 11 lines · Jean Tourrilhes
ir2603_vlsi-05.diff :
~~~~~~~~~~~~~~~~~~~
<Patch from Martin Diehl>
* correct endianess conversion of hardware exposed fields
* we need to check crc16 of rx frames in SIR-mode (hardware does this in MIR/FIR modes). Useirda_calc_crc16.
* get rid of BUG'gers - having them in interrupt path isn't fun.
* don't returnNET_XMIT_DROPwhen we drop (dev_kfree_skb_any) frames. This value is meant to ask for retransmit so we would corrupt the skb slab.
* locking review, corrections and improvements: particularly focus
Quoted 8 lines
on speed setting and
start_xmitpaths, but also reducing time we are staying with interrupts disabled.
* printk-cleanup: less/better syslog msgs, useIRDA_DEBUGand friends.
* defaultqos_mtt_bitsshould be 1ms or longer (0x07), not exactly 1ms
* renameIRENABLE_IREN->IRENABLE_PHYANDCLOCK
* few minor improvements * compatibility stuff to preserve 2.4 backport path
* it's a pci controller, so we should depend onCONFIG_PCI
*DRIVER_VERSION0.5
this patch needs splitting up
Quoted 6 lines · Jeff Garzik
Quoted 3 lines · Jean Tourrilhes
ir2603_vlsi-05.diff :
~~~~~~~~~~~~~~~~~~~
<Patch from Martin Diehl>this patch needs splitting up
Ok, maybe this is your answer to what I've pointed out in PM some days ago. But let me repeat just in case this was lost somehow.
During 2 months of repeatedly resending the patch the size was never an issue - just silently dropped and then asked for resubmit.
Due to 3rd party changes getting applied it is practically impossible to maintain this splitted into several parts over such a time.
Splitting it now - particularly after having it merged with such changes over time - would cause major work. This stuff was on the irda list and on Jean's page for several months without complains. In fact it would be even more important to get the whole thing back into 2.4.
There are not many users with this hardware so even in the unlikely case where it would break more than it fixes there are not many people involved. We are talking about a patch against a single driver which I do maintain actively.
I completely understand several smaller patches would be prefereable, but given the history of the patch let me ask again whether it could be applied to 2.6 in its current state. If not, I'd try to find some resources to break it down for 2.6 - but as this will take some time and I'm sure there will be other changes (both trivial an api-wise) meanwhile I think I'll better wait until things settle around 2.6.5 or so...
And what are your suggestions wrt. to 2.4. For the backport, splitting it up is absolutely impossible because it's merely a complete rewrite. The options I see are (order of personal preference):
1) apply single big patch, basically replacing the code
2) back out the existing driver and put in a new one resulting in the same code as above
3) do nothing, i.e. stay with vlsi_ir being worse and unsupported in 2.4 forever
Please advise!
Martin
Quoted 11 lines · Martin Diehl
Quoted 7 lines · Jeff Garzik
Quoted 3 lines · Jean Tourrilhes
ir2603_vlsi-05.diff :
~~~~~~~~~~~~~~~~~~~
<Patch from Martin Diehl>this patch needs splitting up
Quoted 7 lines
1) apply single big patch, basically replacing the code
2) back out the existing driver and put in a new one resulting in the same code as above
3) do nothing, i.e. stay withvlsi_irbeing worse and unsupported in 2.4 foreverPlease advise!
4) split up the patch, pretty please with sugar on it.
Jeff
Quoted 9 lines · Jeff Garzik
Quoted 7 lines
1) apply single big patch, basically replacing the code
2) back out the existing driver and put in a new one resulting in the same code as above
3) do nothing, i.e. stay withvlsi_irbeing worse and unsupported in 2.4 foreverPlease advise!
4) split up the patch, pretty please with sugar on it.
Ok, Thanks for the reply. As I don't want to suggest removing the driver from 2.6 at this point, I'll do the split-up when finding some time. As said, for 2.4 however this is not an option.
Given the time already wasted getting this into 2.5/2.6 this additional work forces me to consider 2.4 "don't care" for now - no problem. Jean, please tell me if you'd like some 2.4-backport to be put on your page so people can pull there.
Martin