1. 13 2月, 2007 1 次提交
    • O
      [POWERPC] Mark winbond IDE PCI resources with start 0 as unassigned · 2d99c41f
      Olaf Hering 提交于
      libata calls pci_request_regions to claim PCI BAR 0 - 5
      pci_request_regions fails if one of the regions cant be claimed.
      bar 5 has start == 0,  __request_resource will fail.
      
      Tested on a p630 in SMP mode with pata_sl82c105
      
       00:03.1 IDE interface: Symphony Labs SL82c105 (rev 05) (prog-if 8f [Master SecP SecO PriP PriO])
               Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
               Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
               Interrupt: pin A routed to IRQ 86
               Region 0: I/O ports at 3fd3000f000 [size=8]
               Region 1: I/O ports at 3fd3000f010 [size=4]
               Region 2: I/O ports at 3fd3000f020 [size=8]
               Region 3: I/O ports at 3fd3000f030 [size=4]
               Region 4: I/O ports at 3fd3000f040 [size=16]
               Region 5: I/O ports at 3fd30000000 [size=16]
       00: ad 10 05 01 41 01 80 02 05 8f 01 01 08 48 80 00
       10: 01 f0 00 00 11 f0 00 00 21 f0 00 00 31 f0 00 00
       20: 41 f0 00 00 01 00 00 00 00 00 00 00 00 00 00 00
       30: 00 00 00 00 00 00 00 00 00 00 00 00 56 01 02 28
       40: b3 08 ff 00 09 09 00 00 09 09 00 00 09 09 00 00
       50: 09 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       70: 00 00 00 00 00 00 00 00 00 00 00 00 ff 00 00 00
       80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      
       name             "ide"
       linux,phandle    00d5cdc0 (14011840)
       assigned-addresses 81001910 00000000 0000f000 00000000 00000008 81001914
                        00000000 0000f010 00000000 00000004 81001918 00000000
                        0000f020 00000000 00000008 8100191c 00000000 0000f030
                        00000000 00000004 81001920 00000000 0000f040 00000000
                        00000010 81001924 00000000 00000000 00000000 00000010
       interrupts       00000003
       built-in
       #size-cells      00000000
       #address-cells   00000001
       device_type      "ide"
       reg              00001900 00000000 00000000 00000000 00000000
                        41001910 00000000 00000000 00000000 00000008
                        41001914 00000000 00000000 00000000 00000004
                        41001918 00000000 00000000 00000000 00000008
                        4100191c 00000000 00000000 00000000 00000004
                        41001920 00000000 00000000 00000000 00000010
                        41001924 00000000 00000000 00000000 00000010
       compatible       "pci10ad,105"
                        "pciclass,01018f"
       ibm,fw-slot-number 00000000
       fast-back-to-back
       devsel-speed     00000001
       max-latency      00000028 (40)
       min-grant        00000002
       class-code       0001018f (65935)
       revision-id      00000005
       device-id        00000105 (261)
       vendor-id        000010ad (4269)
       ibm,loc-code     "U0.1-P1/Q6"
      Signed-off-by: NOlaf Hering <olaf@aepfle.de>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      2d99c41f
  2. 24 1月, 2007 1 次提交
  3. 04 12月, 2006 1 次提交
    • B
      [POWERPC] Make pci_read_irq_line the default · f90bb153
      Benjamin Herrenschmidt 提交于
      This patch reworks the way IRQs are fixed up on PCI for arch powerpc.
      
      It makes pci_read_irq_line() called by default in the PCI code for
      devices that are probed, and add an optional per-device fixup in
      ppc_md for platforms that really need to correct what they obtain
      from pci_read_irq_line().
      
      It also removes ppc_md.irq_bus_setup which was only used by pSeries
      and should not be needed anymore.
      
      I've also removed the pSeries s7a workaround as it can't work with
      the current interrupt code anyway. I'm trying to get one of these
      machines working so I can test a proper fix for that problem.
      
      I also haven't updated the old-style fixup code from 85xx_cds.c
      because it's actually buggy :) It assigns pci_dev->irq hard coded
      numbers which is no good with the new IRQ mapping code. It should
      at least use irq_create_mapping(NULL, hard_coded_number); and possibly
      also set_irq_type() to set them as level low.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f90bb153
  4. 31 7月, 2006 1 次提交
  5. 28 3月, 2006 1 次提交
  6. 10 2月, 2006 1 次提交
  7. 10 11月, 2005 2 次提交
  8. 10 10月, 2005 1 次提交
  9. 28 9月, 2005 1 次提交
  10. 23 6月, 2005 2 次提交
    • J
      [PATCH] pSeries - read irqs dynamically · dad32bbf
      John Rose 提交于
      For I/O DLPAR to work properly, the kernel needs to allow for dynamic
      assignment of the irq field of the pci_dev structure upon dynamic bus
      addition.  This patch moves the assignment of that field from
      pSeries_final_fixup() to pcibios_fixup_bus(), which enables dynamic
      assignment for the children of a newly added bus.
      
      Currently, pci_devs receive their irq numbers in one of two ways.  The
      irq line is either read at boot for all pci_devs, or read by the rpaphp
      module at slot enable time.  The latter is no longer sufficient for
      DLPAR addition of slots that don't qualify as PCI-hotplug capable.
      This solution handles the cases of boot and dynamic add.
      Signed-off-by: NJohn Rose <johnrose@austin.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      dad32bbf
    • A
      [PATCH] ppc64: Split out generic rtas code from pSeries_pci.c. · c5a3c2e5
      Arnd Bergmann 提交于
      BPA is using rtas for PCI but should not be confused by
      pSeries code. This also avoids some #ifdefs. Other
      platforms that want to use rtas_pci.c could create
      their own platform_pci.c with platform specific fixups.
      Signed-off-by: NArnd Bergmann <arndb@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      c5a3c2e5
  11. 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