android_kernel_xiaomi_sm8350/drivers/net/irda
Bjorn Helgaas d0d4f69bb6 smsc-ircc2: add PNP support
Claim devices using PNP, unless the user explicitly specified device
addresses.  This can be disabled with the "smsc-ircc2.nopnp" option.

This removes the need for probing legacy addresses and helps untangle IR
devices from serial8250 devices.

Sometimes the SMC device is at a legacy COM port address but does not use the
legacy COM IRQ.  In this case, claiming the device using PNP rather than 8250
legacy probe means we can automatically use the correct IRQ rather than
forcing the user to use "setserial" to set the IRQ manually.

If the PNP claim doesn't work, make sure you don't have a setserial init
script, e.g., /etc/init.d/setserial, configured to poke in legacy COM port
resources for the IRDA device.  That causes the serial driver to claim
resources needed by this driver.

Based on this patch by Ville Syrjälä:
    http://www.hpl.hp.com/personal/Jean_Tourrilhes/IrDA/ir260_smsc_pnp.diff

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Keith Owens <kaos@ocs.com.au>
Cc: Len Brown <lenb@kernel.org>
Cc: Adam Belay <ambx1@neo.rr.com>
Cc: Matthieu CASTET <castet.matthieu@free.fr>
Cc: Jean Tourrilhes <jt@hpl.hp.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Ville Syrjala <syrjala@sci.fi>
Cc: Russell King <rmk+serial@arm.linux.org.uk>
Acked-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 11:15:23 -07:00
..
act200l-sir.c
act200l.c
actisys-sir.c
actisys.c
ali-ircc.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
ali-ircc.h
au1k_ir.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
au1000_ircc.h
donauboe.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
donauboe.h
ep7211_ir.c
esi-sir.c
esi.c
girbil-sir.c
girbil.c
irda-usb.c [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} 2007-04-25 22:28:23 -07:00
irda-usb.h
irport.c
irport.h
irtty-sir.c
irtty-sir.h
Kconfig
litelink-sir.c
litelink.c
ma600-sir.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
ma600.c
Makefile
mcp2120-sir.c
mcp2120.c
mcs7780.c [IrDA]: Adding carriage returns to mcs7780 debug statements 2007-04-25 22:29:31 -07:00
mcs7780.h
nsc-ircc.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
nsc-ircc.h
old_belkin-sir.c
old_belkin.c
pxaficp_ir.c Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-05-06 13:20:10 -07:00
sa1100_ir.c [SK_BUFF]: Introduce skb_reset_mac_header(skb) 2007-04-25 22:24:32 -07:00
sir_dev.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sir_dongle.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sir-dev.h
smsc-ircc2.c smsc-ircc2: add PNP support 2007-05-08 11:15:23 -07:00
smsc-ircc2.h
smsc-sio.h
stir4200.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
tekram-sir.c
tekram.c
toim3232-sir.c
via-ircc.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
via-ircc.h
vlsi_ir.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
vlsi_ir.h
w83977af_ir.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
w83977af_ir.h
w83977af.h