1. 12 10月, 2008 6 次提交
  2. 26 7月, 2008 1 次提交
  3. 05 6月, 2008 1 次提交
  4. 30 4月, 2008 1 次提交
    • M
      V4L/DVB (7749): cx88: fix tuner setup · 4bf1226a
      Mauro Carvalho Chehab 提交于
      Tuner setup were happening during i2c attach callback. This means that it would
      happen on two conditions:
      
      	1) if tuner module weren't load, it will happen at request_module("tuner");
      
      	2) if tuner is not compiled as a module, or it is already loaded
      	   (for example, on setups with more than one tuner), it will happen
      	   when cx88 registers I2C bus.
      
      Due to that, if tuner were loaded, tuner setup will happen _before_ reading
      the proper values at tuner eeprom. Since set_addr refuses to change for a tuner
      that were previously defined (except if the tuner_addr is set), this were making
      eeprom tuner detection useless.
      
      This patch removes tuner type setup from cx88-i2c, moving it to the proper
      place, after taking eeprom into account.
      Reviewed-by: NGert Vervoort <gert.vervoort@hccnet.nl>
      Reviewed-by: NIan Pickworth <ian@pickworth.me.uk>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      4bf1226a
  5. 26 4月, 2008 1 次提交
  6. 25 4月, 2008 21 次提交
  7. 20 3月, 2008 1 次提交
  8. 26 1月, 2008 5 次提交
  9. 10 10月, 2007 3 次提交
    • T
      V4L/DVB (6064): cx88: Add symbolic names for the PCI interrupt bits · 8ddac9ee
      Trent Piepho 提交于
      Used for the PCI_INTMSK and PCI_INT_STAT registers.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      8ddac9ee
    • 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 (6022): cx88: Move card core creation from cx88-core.c to cx88-cards.c · bbc83597
      Trent Piepho 提交于
      A lot of code in cx88-cards.c was only used by cx88-core.c when the core state
      is first allocated and initialized.  Moving that task to cx88-cards makes the
      driver simpler and the files more self contained.
      
      - Module parameters tuner, radio, card, and latency move to cx88-cards.c
      - cx88_boards is made static
      - cx88_subids is made static and const
      - cx88_bcount is eliminated
      - cx88_idcount is eliminated
      - cx88_card_list() is made static
      - cx88_card_setup_pre_i2c() is made static
      - cx88_card_setup() is made static
      - cx88_pci_quirks() is moved from cx88-core to cx88-cards
        The function argument "char *name" is made const too
      - get_ressources() is moved from cx88-core to cx88-cards, and renamed to
        cx88_get_resources()
      - The code to allocate and initialize the core state struct and the chip is
        moved out of cx88-core.c:cx88_get_core() and into a new function in
        cx88-cards.c, cx88_core_create().  This makes both functions simpler.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      bbc83597