1. 12 10月, 2008 3 次提交
  2. 14 5月, 2008 2 次提交
  3. 26 4月, 2008 1 次提交
  4. 25 4月, 2008 24 次提交
  5. 26 1月, 2008 3 次提交
  6. 22 10月, 2007 1 次提交
  7. 10 10月, 2007 3 次提交
    • M
      V4L/DVB (6252): Adapt drivers to use the newer videobuf modules · c1accaa2
      Mauro Carvalho Chehab 提交于
      PCI-dependent videobuf_foo methods were renamed as videobuf_pci_foo.
      
      Also, videobuf_dmabuf is now part of videobuf-dma-sg private struct.
      So, to access it, a subroutine call is needed.
      
      This patch renames all occurences of those function calls to be
      consistent with the video-buf split.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981Reviewed-by: NRicardo Cerqueira <v4l@cerqueira.org>
      c1accaa2
    • T
      V4L/DVB (6023): cx88: Clean up some ugly and inconsistent printk()s · 5772f813
      Trent Piepho 提交于
      Get rid of the "CORE" prefix from cx88 printks.  It was only used a few times,
      and it makes it look like they're coming from the kernel core or something.
      
      Fix the message, "TV tuner 60 at 0x1fe, Radio tuner -1 at 0x1fe", by adding a
      "cx88[0]" prefix to be consistent, and to keep people who grep their dmesg
      output for cx88 from missing it.  Get rid of the addresses, which are always
      wrong.  The addresses are always set to -1, but because it's an unsigned 8-bit
      value, the left shift converts it to the nonsense address 0x1fe.
      
      In the cx8802 driver, some cut and pasted code prefixed lines with "CORE
      cx88[0]:", which has been changed to "cx88[0]/2:" like the other printks from
      the cx8802 driver.
      
      Also fix some ugly printks in the cx8802 driver that used __FUNCTION__ for
      KERN_INFO and KERN_ERR messages.
      
      The changed printks in cx88-mpeg.c also needed lots of whitespace and
      80-column fixes.
      
      A bunch of misc changes in cx88-dvb.c and cx88-video.c to add message levels
      or a consistent "cx88[?]/2" or "cx88[?]/0" prefix.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      5772f813
    • T
      V4L/DVB (6021): cx88: Copy board information into card state · 6a59d64c
      Trent Piepho 提交于
      The cx88 driver state stored the ID of the board type in core->board.  Every
      time the driver need to get some information about the board configuration, it
      uses the board number as an index into board configuration array.
      
      This patch changes it so that the board number is in core->boardnr, and
      core->board is a copy of the board configuration information.  This allows
      access to board information without the extra indirection.  e.g.
      cx88_boards[core->board].mpeg becomes core->board.mpeg.
      
      This has a number of advantages:
      - The code is simpler to write.
      
      - It compiles to be smaller and faster, without needing the extra array lookup
        to get at the board information.
      
      - The cx88_boards array no longer needs to be exported to all cx88 modules.
      
      - The boards array can be made const
      
      - It should be possible to avoid keeping the (large) cx88_boards array around
        after the module is loaded.
      
      - If module parameters or eeprom info override some board configuration
        setting, it's not necessary to modify the boards array, which would
        affect all boards of the same type.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      6a59d64c
  8. 19 7月, 2007 3 次提交
    • M
      V4L/DVB (5780): Dvb: Remove static dependencies on dvb-pll · 47a9991e
      Michael Krufky 提交于
      This patch removes all static dependencies on the dvb-pll module.
      All exported dvb_pll_desc's have been UNexported, and the caller
      will reference the individual dvb_pll_desc by it's index in the
      pll_list array.
      Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NPatrick Boettcher <pb@linuxtv.org>
      Acked-by: NOliver Endriss <o.endriss@gmx.de>
      Acked-by: NManu Abraham <manu@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      47a9991e
    • M
      V4L/DVB (5637): Cx88: kill core->pll_desc and core->pll_addr · 7b68814d
      Michael Krufky 提交于
      Now that dvb-pll is being used properly in all cx88-dvb instances,
      the cx88 driver no longer needs to store pll_desc nor pll_addr.
      Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      7b68814d
    • T
      V4L/DVB (5636): Integrate all users of the fmd1216 tuner with dvb-pll · b7754d74
      Trent Piepho 提交于
      Enhance the dvb-pll definition of the fmd1216 tuner by adding an init sequence
      and a sleep sequence.
      
      The init sequence sets the AGC control register to 0xa0, selecting the fast
      time constant and 112 dBuV take-over point.  This the recommended value for
      DVB-T operation.
      
      The sleep sequence sets bit P4 (which is believed to turn the analog
      demodulator on), turns off the tuning voltage, and sets the AGC control
      register to 0x60 (external AGC voltage, the recommended value for analog
      operation).
      
      The existing dvb-pll users in the cx88 driver, listed below, will gain these
      init and sleep sequences.
      
      CX88_BOARD_HAUPPAUGE_HVR1100    Hauppauge WinTV-HVR1100 DVB-T/Hybrid
      CX88_BOARD_HAUPPAUGE_HVR1100LP  Hauppauge WinTV-HVR1100 DVB-T/Hybrid (Low Profi
      CX88_BOARD_WINFAST_DTV2000H     WinFast DTV2000 H
      CX88_BOARD_HAUPPAUGE_HVR3000    Hauppauge WinTV-HVR3000 TriMode Analog/DVB-S/DV
      CX88_BOARD_HAUPPAUGE_HVR1300    Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encod
      
      This non-dvb-pll user in the cx88 driver should only gain the sleep sequence,
      as it already had an equivalent init sequence.  The non-dvb-pll code for this
      user is removed.
      
      X88_BOARD_DNTV_LIVE_DVB_T_PRO   digitalnow DNTV Live! DVB-T Pro
      
      In these saa7134 driver, these non-dvb-pll users are converted to use dvb-pll:
      
      SAA7134_BOARD_MD7134                    Medion 7134
      SAA7134_BOARD_ASUS_EUROPA2_HYBRID       Asus Europa2 OEM
      
      The saa7134 functions philips_fmd1216_tuner_init(),
      philips_fmd1216_tuner_sleep(), and philips_fmd1216_tuner_set_params() are
      deleted and the dvb-pll versions are used.
      
      This should result in equivalent sleep, init, and tuning sequences being sent
      to the tuner.
      
      For the cxusb driver, only one board is effected:
      
      USB_PID_MEDION_MD95700          	Medion MD95700
      
      This board used dvb_usb_tuner_init_i2c() and dvb_usb_tuner_set_params_i2c()
      for init and tuning, respectively.  These functions are effectively the same
      as the dvb-pll versions.  They call a tuner pass control function defined at
      the dvb-usb level, but this does not matter, as this card does not have a
      tuner pass control function (only the dib3000mb does).  This board will gain
      the sleep sequence, while init and tuning should be unchanged.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      b7754d74