summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] myri10ge: drop contiguous skb routinesBrice Goglin2006-12-111-204/+8
| | | | | | | | | Drop the old routines that used the physically contigous skb now that we use the physical pages. And rename myri10ge_page_rx_done() to myri10ge_rx_done() as it was previously. Signed-off-by: Brice Goglin <brice@myri.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] myri10ge: switch to page-based skbBrice Goglin2006-12-111-79/+93
| | | | | | | | Switch to physical page skb, by calling the new page-based allocation routines and using myri10ge_page_rx_done(). Signed-off-by: Brice Goglin <brice@myri.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] myri10ge: add page-based skb routinesBrice Goglin2006-12-111-0/+190
| | | | | | | | Add physical page skb allocation routines and page based rx_done, to be used by upcoming patches. Signed-off-by: Brice Goglin <brice@myri.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] myri10ge: indentation cleanupsBrice Goglin2006-12-111-4/+4
| | | | | | | | Indentation cleanups to synchronize to our tree which is automatically indent'ed. Signed-off-by: Brice Goglin <brice@myri.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] chelsio: working NAPIStephen Hemminger2006-12-114-83/+67
| | | | | | | | | This driver tries to enable/disable NAPI at runtime, but does so in an unsafe manner, and the NAPI interrupt handling is a mess. Replace it with a compile time selected NAPI implementation. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] MACB: Use __raw register accessHaavard Skinnemoen2006-12-112-3/+3
| | | | | | | | | Since macb is a chip-internal device, use __raw_readl and __raw_writel instead of readl/writel. This will perform native-endian accesses, which is the right thing to do on both AVR32 and ARM devices. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] MACB: Use struct delayed_work instead of struct work_structHaavard Skinnemoen2006-12-112-4/+4
| | | | | | | | | | | The macb driver calls schedule_delayed_work() and friends, so we need to use a struct delayed_work along with it. The conversion was explained by David Howells on lkml Dec 5 2006: http://lkml.org/lkml/2006/12/5/269 Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] ucc_geth: Initialize mdio_lock.Scott Wood2006-12-111-0/+2
| | | | | Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] ucc_geth: compilation error fixesScott Wood2006-12-111-5/+5
| | | | | | | | Fix compilation failures when building the ucc_geth driver with spinlock debugging. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [CRYPTO] dm-crypt: Select CRYPTO_CBCHerbert Xu2006-12-101-0/+1
| | | | | | | | As CBC is the default chaining method for cryptoloop, we should select it from cryptoloop to ease the transition. Spotted by Rene Herman. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Merge branch 'master' of ↵Linus Torvalds2006-12-10110-4156/+15543
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (132 commits) V4L/DVB 4949b: Fix container_of pointer retreival V4L/DVB (4949a): Fix INIT_WORK V4L/DVB (4949): Cxusb: codingstyle cleanups V4L/DVB (4948): Cxusb: Convert tuner functions to use dvb_pll_attach V4L/DVB (4947): Cx88: trivial cleanups V4L/DVB (4946): Cx88: Move cx88_dvb_bus_ctrl out of the card-specific area V4L/DVB (4945): Cx88: consolidate cx22702_config structs V4L/DVB (4944): Cx88: Convert DViCO FusionHDTV Hybrid to use dvb_pll_attach V4L/DVB (4943): Cx88: cleanup dvb_pll_attach for lgdt3302 tuners V4L/DVB (4953): Usbvision minor fixes V4L/DVB (4951): Add version.h, since it is required for VIDIOC_QUERYCAP V4L/DVB (4940): Or51211: Changed SNR and signal strength calculations V4L/DVB (4939): Or51132: Changed SNR and signal strength reporting V4L/DVB (4938): Cx88: Convert lgdt3302 tuning function to use dvb_pll_attach V4L/DVB (4941): Remove LINUX_VERSION_CODE and fix identations V4L/DVB (4942): Whitespace cleanups V4L/DVB (4937): Usbvision cleanup and code reorganization V4L/DVB (4936): Make MT4049FM5 tuner to set FM Gain to Normal V4L/DVB (4935): Added the capability of selecting fm gain by tuner V4L/DVB (4934): Usbvision radio requires GainNormal at e register ...
| * V4L/DVB 4949b: Fix container_of pointer retreivalThierry MERLE2006-12-102-3/+1
| | | | | | | | | | Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4949a): Fix INIT_WORKMauro Carvalho Chehab2006-12-103-5/+7
| | | | | | | | | | | | | | | | INIT_WORK syntax changed on kernel 2.6.19. Fixing it on usbvision and cx88-input. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4949): Cxusb: codingstyle cleanupsMichael Krufky2006-12-101-50/+60
| | | | | | | | | | | | | | Trivial whitespace / 80-column limit cleanups Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4948): Cxusb: Convert tuner functions to use dvb_pll_attachMichael Krufky2006-12-101-9/+5
| | | | | | | | | | | | | | | | Converted dee1601, lgz201 and dtt8579 to use dvb_pll_attach in dvb-usb-cxusb. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4947): Cx88: trivial cleanupsMichael Krufky2006-12-101-19/+13
| | | | | | | | | | | | | | | | | | - small whitespace cleanups - 80-column whitespace cleanups - remove unneeded brackets Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4946): Cx88: Move cx88_dvb_bus_ctrl out of the card-specific areaMichael Krufky2006-12-101-18/+20
| | | | | | | | | | | | | | This function should not be in the card-specific area of the file. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4945): Cx88: consolidate cx22702_config structsMichael Krufky2006-12-101-18/+5
| | | | | | | | | | | | | | | | | | There are five cx22702_config structs used by cx88-dvb, only two of which are unique. This patch removes the duplicates and sets each card to use one of the two remaining config structs. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4944): Cx88: Convert DViCO FusionHDTV Hybrid to use dvb_pll_attachMichael Krufky2006-12-101-32/+3
| | | | | | | | | | | | | | | | | | Converted DViCO FusionHDTV Hybrid to use dvb_pll_attach, removing another static dependency of cx88-dvb on dvb-pll. Acked-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4943): Cx88: cleanup dvb_pll_attach for lgdt3302 tunersMichael Krufky2006-12-101-8/+6
| | | | | | | | | | | | | | | | Since we're using dvb_pll_attach now, we dont have to populate dev->core->pll_addr or dev->core->pll_desc anymore. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4953): Usbvision minor fixesThierry MERLE2006-12-103-10/+26
| | | | | | | | | | | | | | | | | | - fix debug outputs - fix returned parameters on VIDIOC_G_FMT, VIDIOC_S_FMT and VIDIOC_TRY_FMT and mmap size setting Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4951): Add version.h, since it is required for VIDIOC_QUERYCAPMauro Carvalho Chehab2006-12-101-0/+1
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4940): Or51211: Changed SNR and signal strength calculationsRusty Scott2006-12-101-74/+50
| | | | | | | | | | | | | | | | | | | | Removes embedded log functions and makes use of the DVB math functions to provide SNR in dB. The changes are modeled after recent changes made to the LGDT330x frontends in lgdt330x.c Signed-off-by: Rusty Scott <rustys@ieee.org> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4939): Or51132: Changed SNR and signal strength reportingRusty Scott2006-12-101-85/+91
| | | | | | | | | | | | | | | | | | | | Removes embedded log functions and makes use of the DVB math functions to provide SNR in dB. The changes are modeled after recent changes made to the LGDT330x frontends in lgdt330x.c Signed-off-by: Rusty Scott <rustys@ieee.org> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4938): Cx88: Convert lgdt3302 tuning function to use dvb_pll_attachTrent Piepho2006-12-101-34/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a still a pre-dvb-pll set_params function for the lgdt3302 in the cx88-dvb driver. This patch removes that function and uses dvb_pll_attach() for the cards that were using it (Dvico FusionHDTV 3 GOLD {Q,T}). This way the set_params function from dvb-pll is used. dvb_attach() is in turn used on dvb_pll_attach(), eliminating some static dependencies on dvb-pll. There are still a couple static dependencies on dvb-pll remaining. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4941): Remove LINUX_VERSION_CODE and fix identationsMauro Carvalho Chehab2006-12-103-48/+14
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4942): Whitespace cleanupsMauro Carvalho Chehab2006-12-103-25/+25
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4937): Usbvision cleanup and code reorganizationThierry MERLE2006-12-107-3688/+2796
| | | | | | | | | | | | | | | | | | | | | | - removal of overlay stuff - reorganization of functions in 3 files: * usbvision-i2c for I2C-related stuff * usbvision-video for v4l2 entry points * usbvision-core for all peripheral controls and utilities Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4936): Make MT4049FM5 tuner to set FM Gain to NormalThierry MERLE2006-12-102-2/+1
| | | | | | | | | | | | | | | | - remove any specific TDA9887_SET_CONFIG of usbvision driver - add fm_gain_normal=1 to the MT4049FM5 tuner for radio functionality Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4935): Added the capability of selecting fm gain by tunerMauro Carvalho Chehab2006-12-101-0/+2
| | | | | | | | | | | | | | Some tuners require using cGainNormal instead of cGainLow for high sensibility on FM reception. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4934): Usbvision radio requires GainNormal at e registerMauro Carvalho Chehab2006-12-102-0/+9
| | | | | | | | | | | | | | Adds an option to select GainNormal at tda9887 and make usbvision to use it. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4933): Usbvision_v4l2: radio interface / tda9887 problem ?Thierry MERLE2006-12-101-167/+67
| | | | | | | | | | | | | | - implement the v4l2 radio interface Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4932): Usbvision_v4l2: fix norm setting problemsThierry MERLE2006-12-102-58/+46
| | | | | | | | | | | | | | | | | | Patch contents: - fix i2c command broadcast (caused problems for SECAM norm setting) - default input selection at driver open Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4931): Removed usbvision_ioctl.h, since it isn't required anymoreMauro Carvalho Chehab2006-12-101-34/+0
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4930): Usbvision_v4l2 : mmap corrected to get all framesThierry MERLE2006-12-101-46/+59
| | | | | | | | | | | | | | | | | | | | | | - private ioctls UVIOCSREG/UVIOCGREG translated to the VIDIOC_INT_G_REGISTER/VIDIOC_INT_S_REGISTER - lost frame bug corrected (mmap rework) - reset scratch buffer is no buffer is queued (prevents useless scratch overflow management) Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4929): Read() implementation + format set/get simplificationsThierry MERLE2006-12-101-156/+167
| | | | | | | | | | | | | | | | | | | | - implement read() entry point that works with linux list.h - rework of VIDIOC_ENUM_FMT/VIDIOC_S_FMT/VIDIOC_G_FMT - VIDIOC_STREAMON : allows streaming whereas there is no queued buffer (xdtv does VIDIOC_STREAMON before VIDIOC_QBUFs) Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4928): Usbvision_v4l2 robustness on disconnectThierry2006-12-102-12/+12
| | | | | | | | | | | | | | | | | | | | | | This patch corrects 2 bugs (causes kernel oops) that occur when unplugging the peripheral whereas nobody has opened it yet : - do not call usbvision_stop_isoc if usbvision_init_isoc has not been called - do not call wakeup_interruptible on waitqueues that did not have been initialized with init_waitqueue_head Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4927): Enhancements on usbvision driverThierry MERLE2006-12-103-332/+418
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enhance the buffer management of this driver + some corrections - linux list.h usage for buffer management - VIDIOC_ENUMSTD/VIDIOC_G_STD/VIDIOC_S_STD simplification (use of v4l2_video_std_construct) - create_sysfs : remove of warnings for video_device_create_file return code - make the driver compatible with 2.6.19 kernel version (remove slave_send and slave_recv in usbvision-i2c, change ctrlUrb_complete function prototype) - deactivated v4l2_read because this code was not the priority but working on it :) Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4926): Fix USBVision handling of VIDIOC_QUERYCTRLDwaine Garden2006-12-101-217/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's a better (and recommended) way for handling VIDIOC_QUERYCTRL. This patch will fix the issue where the hardware control values were invalid and stops the SAA7115 module from complaining about invalid values. saa7115 4-0024: invalid brightness setting 32768 saa7115 4-0024: invalid contrast setting 49152 saa7115 4-0024: invalid hue setting 32768 saa7115 4-0024: invalid saturation setting 32768 Signed-off-by: Dwaine Garden <dwainegarden@rogers.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4925): Corrected and separated the Kconfig for usbvisionThierry MERLE2006-12-102-11/+13
| | | | | | | | | | Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4924): Fix some bugs on usbvision due to the merge into one moduleThierry MERLE2006-12-102-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | Found the bug that prevented the driver from loading : a module param conflict between usbvision-i2c and usbvision-core (debug parameter). - correct the module param "debug" conflics in usbvision-i2c.c and usbvision-core.c - add some debug printouts in usbvision-core.c VDIOC_QBUF/VIDIOC_DQBUF - usbvision-core.c : add vb->field = V4L2_FIELD_NONE in VIDIOC_DQBUF Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4923): Splitted usbvision cards from usbvison.hMauro Carvalho Chehab2006-12-104-159/+196
| | | | | | | | | | | | | | | | Having the cards description into a separated file makes easier to maintain and follows the same standard as other drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4922): Add usbvision driverMauro Carvalho Chehab2006-12-108-0/+6849
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds usbvision into V4L/DVB HG tree. Usbvision driver is a GPL driver, made by: Joerg Heckenbach <joerg@heckenbach-aw.de> and Dwaine Garden <DwaineGarden@rogers.com> V4L2 migration made by: Thierry Merle <thierry.merle@free.fr> Kconfig/Makefile scripts by: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Joerg Heckenbach <joerg@heckenbach-aw.de> Signed-off-by: Dwaine Garden <dwainegarden@rogers.com> Signed-off-by: Thierry Merle <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4921): Budget-av, budget-ci: Fix MC1 register programmingHartmut Birr2006-12-102-6/+6
| | | | | | | | | | | | | | | | | | | | Remove bogus read during MC1 programming. A '1' bit could never be cleared using the old code. Use MASK_xx macros. Signed-off-by: Hartmut Birr <e9hack@gmail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4919): Budget-ci: Use SAA7146_IER_ENABLE/DISABLE to enable or ↵Hartmut Birr2006-12-101-4/+4
| | | | | | | | | | | | | | | | | | | | disable a hardware interrupt Use SAA7146_IER_ENABLE/DISABLE to enable or disable a hardware interrupt. Signed-off-by: Hartmut Birr <e9hack@gmail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4918): Budget-av: Add delay for frontend power-onHartmut Birr2006-12-101-0/+3
| | | | | | | | | | | | | | | | Added a delay to give the frontend a little bit time for power-on. Signed-off-by: Hartmut Birr <e9hack@googlemail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4916): Av7110,budget,budget-ci,budget-av: Use interrupt mode for ↵Oliver Endriss2006-12-104-4/+4
| | | | | | | | | | | | | | | | | | I2C transfers Use interrupt mode for I2C transfers. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4915): Saa7146: Add timeout protection for I2C interruptHartmut Birr2006-12-101-4/+12
| | | | | | | | | | | | | | | | | | | | Add a timeout to the wait for the i2c-interrupt. The timeout prevents from endless waiting if the interrupt gets lost. Signed-off-by: Hartmut Birr <e9hack@googlemail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4913): Fix broken TUNER_LG_NTSC_TAPE radio supportHans Verkuil2006-12-102-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | The TUNER_LG_NTSC_TAPE is identical in all respects to the TUNER_PHILIPS_FM1236_MK3. So use the params struct for the Philips tuner. Also add this LG_NTSC_TAPE tuner to the switches where radio specific parameters are set so it behaves like a TUNER_PHILIPS_FM1236_MK3. This change fixes the radio support for this tuner (the wrong bandswitch byte was used). Thanks to Andy Walls <cwalls@radix.net> for finding this bug. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4909): Add s/g_parm to cafe_ccicJonathan Corbet2006-12-102-6/+100
| | | | | | | | | | | | | | Add s/g_parm support allowing applications to tweak the frame rate. Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
OpenPOWER on IntegriCloud