summaryrefslogtreecommitdiff
path: root/include/net/irda
AgeCommit message (Collapse)Author
2006-05-24Merge branch 'master' of ↵David Woodhouse
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 Conflicts: include/asm-powerpc/unistd.h include/asm-sparc/unistd.h include/asm-sparc64/unistd.h Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-05-22[IRDA]: fixup type of ->lsap_stateAlexey Dobriyan
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2006-04-26Don't include linux/config.h from anywhere else in include/David Woodhouse
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-02-13[IRDA]: Ratelimit messages.Joe Perches
From: Joe Perches <joe@perches.com> Based upon a patch by Dave Jones. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2006-02-09[IRDA]: Set proper IrLAP device address lengthSamuel Ortiz
This patch set IrDA's addr_len properly, i.e to 4 bytes, the size of the IrLAP device address. Signed-off-by: Samuel Ortiz <samuel.ortiz@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-09-05[IRDA]: IrDA prototype fixesAdrian Bunk
Every file should #include the header files containing the prototypes of it's global functions. In this case this showed that the prototype of irlan_print_filter() was wrong which is also corrected in this patch. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-07-08[NET]: Transform skb_queue_len() binary tests into skb_queue_empty()David S. Miller
This is part of the grand scheme to eliminate the qlen member of skb_queue_head, and subsequently remove the 'list' member of sk_buff. Most users of skb_queue_len() want to know if the queue is empty or not, and that's trivially done with skb_queue_empty() which doesn't use the skb_queue_head->qlen member and instead uses the queue list emptyness as the test. Signed-off-by: David S. Miller <davem@davemloft.net>
2005-04-16[PATCH] x86_64: Make IRDA devices are not really ISA devices not depend on ↵Andi Kleen
CONFIG_ISA This allows to use them on x86-64 Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-22[IRDA]: Squash warnings introduced by DEBUG cleanups.David S. Miller
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-22[IRDA]: DEBUG macro fixesJean Tourrilhes
o [CRITICA] Eliminate all 'ASSERT(..., break;)' -> use goto; That would compile differenty with/without CONFIG_IRDA_DEBUG o [CORRECT] Add '()' to IRDA_DEBUG macro to avoid side effects o [CORRECT] Add 'do {} while(0)' to IRDA_ASSERT to avoid side effects o [FEATURE] Rename ASSERT to IRDA_ASSERT (namespace pollution) o [FEATURE] Rename MESSAGE to IRDA_MESSAGE (namespace pollution) o [FEATURE] Rename ERROR to IRDA_ERROR (namespace pollution) o [FEATURE] Disable IRDA_ASSERT when no CONFIG_IRDA_DEBUG -> footprint Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>'
2005-01-20[IRDA] stop using sk_protinfoArnaldo Carvalho de Melo
Required to introduce struct connection_sock. Signed-off-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-12-27[IRDA]: Staticize and remove unnecessary exports.Adrian Bunk
The patch below contains the following possible cleanups: - make some needlessly global code static - remove the following unused global functions: - discovery.c: irlmp_find_device - ircomm/ircomm_param.c: ircomm_param_flush - irda_device.c: irda_device_set_dtr_rts - irda_device.c: irda_device_change_speed - irda_device.c: irda_device_set_mode - iriap.c: iriap_getinfobasedetails_request - iriap.c: iriap_getinfobasedetails_confirm - iriap.c: iriap_getobjects_request - iriap.c: iriap_getobjects_confirm - iriap.c: iriap_getvalue - irlan_client.c: irlan_client_reconnect_data_channel - irlap_frame.c: irlap_send_frmr_frame - irlmp.c: irlmp_status_request - remove the follwong unused global variables: - irnet/irnet_ppp.c: irnet_ppp_ops - irsysctl.c: sysctl_compression - qos.c: #ifndef CONFIG_IRDA_DYNAMIC_WINDOW irlap_requested_line_capacity Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-10-21[IRDA]: IrCOMM IAS object fixJean Tourrilhes
o [CORRECT] Restore properly the IAS object when IrCOMM disconnect. Allow 'pppd passive persist' to work properly. Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-10-21[IRDA]: Adaptive discovery query timerJean Tourrilhes
o [FEATURE] Adapt to the rate of the peer discovery (passive discovery) o [FEATURE] Add extra safety margin in passive discovery Allow to interoperate properly with device performing slow discovery Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-10-21[IRDA]: IAS safety commentsJean Tourrilhes
o [FEATURE] Make optional the del of IAS object when del IAS attrib o [FEATURE] Clarify when/why it's safe to to the above Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-10-21[IRDA]: Fix lmp_lsap_inuse()Jean Tourrilhes
o [CRITICA] Fix locking in error path in IrLMP (Stanford checker) o [CORRECT] Don't reuse unconnected LSAPs (listening sockets) o [CORRECT] Make sure the LSAP we are picking has just not been grabed o [CORRECT] Wrap around the LSAP space properly back to 0x10 Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-07-29[PATCH 5/8] gcc-3.5 fixesAndrew Morton
From: Andi Kleen <ak@muc.de> Trivial gcc-3.5 build fixes. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@redhat.com>
2004-07-10[PATCH] CRC16 renaming in IRDA driversAndrey Panin
Signed-off-by: Andrey Panin <pazke@donpac.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-06-26[PATCH] crc: use it in IRDA driversAndrey Panin
This patch makes IRDA subsystem use common crc16 code. Signed-off-by: Andrey Panin <pazke@donpac.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-06-18[IRDA]: Remove usage of isa_virt_to_bus()William Lee Irwin III
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@redhat.com>
2004-05-28[IRDA]: Fix NULL-ptr dereference in irlmp_get_saddr().Patrick McHardy
2004-05-14[PATCH] MSEC_TO_JIFFIES consolidationAndrew Morton
From: Ingo Molnar <mingo@elte.hu> We have various different implementations of MSEC[S]_TO_JIFFIES and JIFFIES_TO_MSEC[S]. We recently had a compile-time clash in USB. Fix all that up. - The SCTP version was very inefficient. Hopefully this version is accurate enough. - Optimise for the HZ=100 and HZ=1000 cases - This version does round-up, so sleep(9 milliseconds) works OK on 100HZ. - We still have lots of jiffies_to_msec and msec_to_jiffies implementations. From: William Lee Irwin III <wli@holomorphy.com> Optimize the cases where HZ is a divisor of 1000 or vice-versa in JIFFIES_TO_MSECS() and MSECS_TO_JIFFIES() by allowing the nonvanishing(!) integral ratios to appear as a parenthesized expressions eligible for constant folding optimizations. From: me Use typesafe inlines for the jiffies-to-millisecond conversion functions. This means that milliseconds officially takes the type `unsigned int'. All current callers seem to be OK with that. Drivers need to be fixed up to use this instead of their private versions.
2004-04-16[IRDA]: irlan_eth cleanup.Jean Tourrilhes
Use IrTTP flow control to stop/wake netif From Stephen Hemminger. Change irlan_eth device initialization: *bug* address never set in DIRECT mode because access not set in alloc_netdev -> irlan_eth_setup path + make eth_XXX handles static and provide alloc_irlandev hook + use netdev_priv (and get rid of truly impossible ASSERT's) + use skb_queue_purge
2004-04-16[IRDA]: Rename handle_filter_request to irlan_filter_request.Jean Tourrilhes
From Stephen Hemminger.
2004-04-16[IRDA]: Fix namespace pollution of print_ret_code.Jean Tourrilhes
From Stephen Hemminger.
2004-04-09[IRDA]: Move IRDA device headers to more appropriate place.Jean Tourrilhes
2004-03-13[PATCH] DMA: Fill gaping hole in DMA API interfaces.Andrew Morton
From: "David S. Miller" <davem@redhat.com> Currently, for an existing DMA mapping, there is a way to transfer buffer ownership back to the cpu, yet there is no way to give it back to the device again explicitly. The latter really is needed on platforms where the PCI subsystem does not snoop the cpu caches, MIPS is one example. Many drivers were expecting the existing DMA sync interface to handle both directions, which was wrong. Now, with this change, we have explicit interfaces for DMA syncing to/from the device and the cpu.
2004-03-08[IRDA]: Move last of irsyms.c to irmod.cJean Tourrilhes
Original patch from Stephen Hemminger Move last bits of code out of irsyms and onto irmod.c where initialization happens. Move irda_debug parameter out of irsyms.c into irmod.c and make it a new style module parameter.
2004-03-08[IRDA]: Make irda_get_mtt et al. inline and not defines for better type ↵Stephen Hemminger
checking. irda_device_setup can now be static, only called from alloc_irdadev.
2004-03-08[IRDA]: Make irda_start_timer inline rather than exporting.Stephen Hemminger
2004-03-08[IRDA]: Move crc16 exports out of irsyms.Stephen Hemminger
Also, make type __u16 rather than unsigned short to match input parameter.
2004-03-08[IRDA]: Move irlmp routines out of irsyms.Stephen Hemminger
Also, make get_{saddr,daddr} inline and rename lmp_reasons to irlmp_reasons.
2004-03-08[IRDA]: Move iriap routines out of irsyms, rename missing to irias_missing.Stephen Hemminger
2004-02-25[IRDA]: Make irda_device_txqueue_empty inline.Stephen Hemminger
2004-02-25[IRDA]: Hashbin cleanups, remove unused code and add const where needed.Stephen Hemminger
2004-02-25[IRDA]: Kill dev_flags, unused.Stephen Hemminger
2004-02-25[IRDA]: Kill infrared_mode, unused.Stephen Hemminger
2004-02-25[IRDA]: No need for volatile type when using set/test_bit.Stephen Hemminger
2004-02-25[IRDA]: Make more symbols static, to avoid namespace pollution.Stephen Hemminger
2004-02-25[IRDA]: Rename setup_dma to irda_setup_dma.Stephen Hemminger
2004-02-09[IRDA]: IrLAP disconnection pending race.Jean Tourrilhes
o [FEATURE] Don't drop IrLAP connection is we *just* received an incomming IrLMP connection request.
2004-02-09[IRDA]: Ultra sendto support.Jean Tourrilhes
<Original patch from Stephen Hemminger> o [CORRECT] Always initialise Ultra packet/header size. o [CORRECT] Don't allow Ultra send on unbound sockets if no dest address is given. o [FEATURE] Properly support Ultra sendto on unbound sockets.
2004-01-24[IRDA]: Do not use lvalue in assignment.Andrew Morton
2004-01-14[IRDA]: Migrate TIOCMGET and TIOCMSET ioctls in IrCOMM to the new TTY API.Jean Tourrilhes
Patch from Russell King.
2004-01-08[IRDA]: Proper calculation for F-timer. Improve interoperability.Jean Tourrilhes
2004-01-05[IRDA]: Fix locking in the ircomm-shutdown path.Jean Tourrilhes
2003-10-04[IRDA]: Missing header file change from dongle owner changes.Stephen Hemminger
2003-09-30[IRDA]: Add alloc_irdadev() interface.Stephen Hemminger
2003-09-05[irda] irtty cleanupJean Tourrilhes
o [FEATURE] Finish removing traces of old irtty driver
2003-09-05[irda] NSC 3839x probe fixesJean Tourrilhes
<Patch from Jan Frey> o [CORRECT] Make NSC 3839x probe and init *really* work The new 3839x code was totally broken. Won't affect code for regular 38108/38338 chips.