1. 25 4月, 2008 4 次提交
  2. 20 3月, 2008 1 次提交
  3. 26 1月, 2008 5 次提交
  4. 10 10月, 2007 5 次提交
    • 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
    • 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
    • T
      V4L/DVB (5975): cx88: Wrong values used for HD-3000 radio mode · 19dc74b7
      Trent Piepho 提交于
      After some tedious work with a logic probe and a magnifying glass, I've
      determined that GPIO 7 is used to switch between the DTT7612's Sound 4.5 MHz
      IF output on pin 12 and the FM 10.7MHz If output on pin 11.  GPIO 2 is used to
      switch the card's analog sound output from from the analog input connector to
      the CX23883's audio DACs.
      
      So, in radio mode GPIO2 = 1 and GPIO7 = 0.
      
      Add some comments about how the HD-3000's GPIOs are connected.
      
      Delete the vmux setting for the radio, as vmux doesn't apply to radio mode.
      Also delete the lines setting unused gpio words to zero; it's not necessary as
      0 is the default value for uninitialized fields.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      19dc74b7
  5. 19 7月, 2007 1 次提交
  6. 28 4月, 2007 4 次提交
  7. 21 2月, 2007 1 次提交
  8. 28 12月, 2006 1 次提交
  9. 10 12月, 2006 6 次提交
  10. 14 10月, 2006 1 次提交
  11. 04 10月, 2006 5 次提交
  12. 26 9月, 2006 6 次提交