1. 10 10月, 2007 1 次提交
    • 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 2 次提交
  3. 04 7月, 2007 1 次提交
  4. 03 3月, 2007 1 次提交
  5. 21 2月, 2007 7 次提交
  6. 13 2月, 2007 1 次提交
  7. 10 12月, 2006 2 次提交
    • J
      V4L/DVB (4838): Fix cx88-blackbird null pointer · 49c6b46a
      Jelle Foks 提交于
      Allows 'debug=1' for cx88-blackbird module (dev needs to be valid for
      dprintk). Fixes a null-pointer dereference when using debug=1.
      Signed-off-by: NJelle Foks <jelle@foks.8m.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      49c6b46a
    • S
      V4L/DVB (4676): Dynamic cx88 mpeg port management for HVR1300 MPEG2/DVB-T support. · 6c5be74c
      Steven Toth 提交于
      A series of patches to change the cx88 framework to allow the
      PCI mpeg port to be shared dynamically between different
      types of drivers or applications. This patch changes the cx88-dvb
      and cx88-blackbird drivers to become 'sub drivers' of a higher
      single cx88-mpeg driver.
      The cx88-mpeg driver is a superset of the previous cx88-mpeg/blackbird
      drivers and now owns the IRQ. cx88-dvb/blackbird now become mini drivers,
      registering themselves with cx88-mpeg through a standard interface with
      callbacks.
      Sub drivers request access to hardware via the cx88-mpeg driver. In turn
      the cx88-mpeg driver determines whether the hardware is busy and accepts
      or refuses the request, grant access using callbacks into the sub drivers.
      The net effect is that you are no longer able to tamper with the mpeg port
      from multiple different applications at the same time, potentially breaking
      a live mpeg2 hardware encoding or dvb stream.
      The mechanism extends to enable multiple dvb frontends to be registered
      and share the single resource.
      Signed-off-by: NSteven Toth <stoth@hauppauge.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      6c5be74c
  8. 04 10月, 2006 3 次提交
  9. 26 9月, 2006 1 次提交
  10. 11 7月, 2006 1 次提交
  11. 01 7月, 2006 1 次提交
  12. 27 6月, 2006 2 次提交
  13. 26 6月, 2006 1 次提交
    • A
      V4L/DVB (4213): Cx88: cleanups · dff47bf2
      Adrian Bunk 提交于
      remove the following unused hooks:
      - cx88-blackbird.c: cx88_ioctl_hook()
      - cx88-blackbird.c: cx88_ioctl_translator()
      make the following needlessly global functions static:
      - cx88-tvaudio.c: cx88_detect_nicam()
      remove the following unused EXPORT_SYMBOL's:
      - cx88-cards.c: cx88_bcount
      - cx88-cards.c: cx88_subids
      - cx88-cards.c: cx88_idcount
      - cx88-cards.c: cx88_card_list
      - cx88-cards.c: cx88_card_setup
      - cx88-core.c: cx88_start_audio_dma
      - cx88-core.c: cx88_stop_audio_dma
      - cx88-i2c.c: cx88_i2c_init
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      dff47bf2
  14. 25 6月, 2006 13 次提交
  15. 25 3月, 2006 1 次提交
  16. 12 1月, 2006 1 次提交
  17. 10 1月, 2006 1 次提交