1. 08 9月, 2005 1 次提交
    • D
      [PATCH] yenta: make ToPIC95 bridges work with 16bit cards · ea2f1590
      Daniel Ritz 提交于
      ToPIC95 brides (and maybe some other too) require to use the ExCA registers
      to power up the socket if a 16bit card is pluged.  allow socket drivers to
      set a flag so that yenta does just that.  also clean up yenta_get_status()
      a bit to use the new yenta_get_power() function.
      
      Side note: ToPIC97 bridges (at least in Rev.5 i have) don't require this.
      
      Ryan Underwood <nemesis-lists@icequake.net> said:
      
       According to the mail that David Hinds received from a Toshiba engineer,
       ToPIC95 and 97 do require this, and ToPIC100 does not.  Maybe you have a
       later revision.
      
       For all chips, 16-bit cards can be enabled through ExCA.  So doesn't it
       make sense just to make this the default behavior for all Toshiba chips,
       to avoid corner cases showing up later?
      
      Daniel responded:
      
       I disagree with ryan to change anything for topic97 bridges.  they work.
       and I couldn't find (read google) any report of a topic97 breaking on
       applying power with the CB registers.
      
       I'm having several toshba notebooks at work (and home) with topic95,97,100
       bridges.  Only the ones with a topic95 didn't work.
      Signed-off-by: NDaniel Ritz <daniel.ritz@gmx.ch>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      ea2f1590
  2. 05 8月, 2005 1 次提交
  3. 02 8月, 2005 1 次提交
    • P
      [PATCH] Obvious bugfix for yenta resource allocation · f7d1d23c
      Paul Mackerras 提交于
      Recent changes (well, dating from 12 July) have broken cardbus on my
      powerbook: I get 3 messages saying "no resource of type xxx available,
      trying to continue", and if I plug in my wireless card, it complains
      that there are no resources allocated to the card.  This all worked in
      2.6.12.
      
      Looking at the code in yenta_socket.c, function yenta_allocate_res,
      it's obvious what is wrong: if we get to line 639 (i.e. there wasn't a
      usable preassigned resource), we will always flow through to line 668,
      which is the printk that I was seeing, even if a resource was
      successfully allocated.  It looks to me as though there should be a
      return statement after the two config_writel's in each of the 3
      branches of the if statements, so that the function returns after
      successfully setting up the resource.
      
      The patch below adds these return statements, and with this patch,
      cardbus works on my powerbook once again.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      Acked-by: NDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      f7d1d23c
  4. 31 7月, 2005 1 次提交
  5. 30 7月, 2005 1 次提交
  6. 28 7月, 2005 1 次提交
  7. 13 7月, 2005 3 次提交
  8. 12 7月, 2005 1 次提交
  9. 08 7月, 2005 2 次提交
  10. 28 6月, 2005 1 次提交
    • I
      [PATCH] pci: yenta cardbus fix · 7925407a
      Ivan Kokshaysky 提交于
      On Mon, Jun 20, 2005 at 07:15:34PM +1000, Grant Coady wrote:
      > Yenta: CardBus bridge found at 0000:00:0b.0 [1179:0001]
      > yenta 0000:00:0b.0: Preassigned resource 0 busy, reconfiguring...
      
      In -mm1 the cardbus resources might be assigned in
      pci_assign_unassigned_resources() pass. From your dmesg:
      PCI: Bus 2, cardbus bridge: 0000:00:0b.0
        IO window: 00002000-00002fff
        IO window: 00003000-00003fff
        PREFETCH window: 12000000-13ffffff
        MEM window: 14000000-15ffffff
      
      Then yenta_allocate_res() tries to assign these resources again and,
      naturally, fails.
      
      This adds check for already assigned cardbus resources.
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      7925407a
  11. 24 6月, 2005 1 次提交
    • D
      [PATCH] yenta TI: turn off interrupts during card power-on #2 · fa912bcb
      Daniel Ritz 提交于
      - make boot-up card recognition more reliable (ie.  redo interrogation
        always if there is no valid 'card inserted' state) (and yes, i saw it
        happening on an o2micro controller that both CB_CBARD and CB_16BITCARD
        bits were set at the same time)
      
      - also redo interrogation before probing the ISA interrupts.  it's safer
        to do the probing with the socket in a clean state.
      
      - make card insert detect more reliable.  yenta_get_status() now returns
        SS_PENDING as long as the card is not completley inserted and one of the
        voltage bits is set.  also !CB_CBARD doesn't mean CB_16BITCARD.  there is
        CB_NOTACARD as well, so make an explicit check for CB_16BITCARD.
      
      - for TI bridges: disable IRQs during power-on.  in all-serial and tied
        interrupt mode the interrupts are always disabled for single-slot
        controllers.  for two-slot contollers the disabling is only done when the
        other slot is empty.  to force disabling there is a new module parameter
        now: pwr_irqs_off=Y (which is a regression for working setups.  that's
        why it's an option, only use when required)
      
      - modparm to disable ISA interrupt probing (isa_probe, defaults to on)
      
      - remove unneeded code/cleanups (ie.  merge yenta_events() into
        yenta_interrupts())
      Signed-off-by: NDaniel Ritz <daniel.ritz@gmx.ch>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      fa912bcb
  12. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4