1. 10 10月, 2007 2 次提交
    • 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
  2. 19 7月, 2007 6 次提交
  3. 28 4月, 2007 2 次提交
    • T
      V4L/DVB (5452): Cx88: merge identical boards · a5a2ecfc
      Trent Piepho 提交于
      The attach code for HAUPPAUGE_HVR3000 and HAUPPAUGE_HVR1300 is exactly
      the same as the code used by HAUPPAUGE_HVR1100, HAUPPAUGE_HVR1100LP, and
      WINFAST_DTV2000H.  So, those first two cards are added to the case block
      used by the last three.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      a5a2ecfc
    • T
      V4L/DVB (5363): Dvb: Remove lgh06xf driver · 6bdcc6e6
      Trent Piepho 提交于
      The code of the dvb-pll driver and the lgh06xf driver is nearly
      identical.  The main difference is that the lgh06xf driver would set the
      AGC TOP value on every tune call.  The dvb-pll driver now has the ability
      to set the AGC TOP when the front-end device is opened, which is a better
      way to go about it.  By using this ability of dvb-pll, the lgh06xf driver
      is made unnecessary.
      
      There is one other difference.  dvb-pll will probe for the presence of an
      I2C pll chip by doing a one byte read, the lgh06xf driver did not do
      this.  In some devices the PLL is not reachable over I2C at the timer the
      tuner is attached.  Some more initialization, such as firmware loading,
      must take place first.  None of the devices using a LG-H06xF should have
      this problem.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Acked-by: NMichael Krufky <mkrufky@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      6bdcc6e6
  4. 21 2月, 2007 1 次提交
    • T
      V4L/DVB (5166): Remove obsolete alias defines of CONFIG_* settings · 05ad3907
      Trent Piepho 提交于
      The out of tree v4l-dvb build system didn't always override the kernel's
      configuration settings with v4l-dvb's settings correctly.  To work around
      this, makefiles would define some new macro based on the setting of a
      config variable.  e.g. the pwc Makefile would define CONFIG_PWC_DEBUG if
      CONFIG_USB_PWC_DEBUG (which is defined via Kconfig) was set.
      The v4l-dvb build system should now always override correctly, and this
      is no longer necessary.  This patch gets ride of these extra defines and
      just uses the CONFIG_* settings directly.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      05ad3907
  5. 10 12月, 2006 8 次提交
  6. 14 10月, 2006 1 次提交
  7. 04 10月, 2006 2 次提交
  8. 26 9月, 2006 8 次提交
  9. 01 7月, 2006 1 次提交
  10. 25 6月, 2006 9 次提交