1. 10 5月, 2007 2 次提交
    • B
      ide: legacy PCI bus order probing fixes · 6d208b39
      Bartlomiej Zolnierkiewicz 提交于
      IDE PCI host drivers should register themselves with IDE core only when
      IDE driver is built-in, otherwise (IDE driver is modular and thus IDE PCI
      host drivers are also modular) the code has no effect and just complicates
      the probing.
      
      Fix it by adding new config option CONFIG_IDEPCI_PCIBUS (defined only when
      needed and invisible to the user) and covering by #ifdef/#endif the code
      in question.  It turned out that "ide=reverse" was silently accepted but did
      nothing in case when IDE driver was modular, this is fixed now.
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      6d208b39
    • B
      ide: make /proc/ide/ optional · ecfd80e4
      Bartlomiej Zolnierkiewicz 提交于
      All important information/features should be already available through
      sysfs and ioctl interfaces.
      
      Add CONFIG_IDE_PROC_FS (CONFIG_SCSI_PROC_FS rip-off) config option,
      disabling it makes IDE driver ~5 kB smaller (on x86-32).
      
      While at it add CONFIG_PROC_FS=n versions of proc_ide_{create,destroy}()
      and remove no longer needed #ifdefs.
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      ecfd80e4
  2. 21 4月, 2007 1 次提交
  3. 27 3月, 2007 1 次提交
  4. 18 3月, 2007 2 次提交
  5. 15 3月, 2007 1 次提交
  6. 04 3月, 2007 1 次提交
  7. 18 2月, 2007 1 次提交
  8. 17 2月, 2007 1 次提交
    • K
      drivers/ide: PATA driver for Celleb · bde18a2e
      Kou Ishizaki 提交于
      This is the patch (based on 2.6.19-rc4) for PATA controller of
      Toshiba Cell reference set(Celleb). The reference set consists
      of Cell, 512MB memory, Super Companion Chip(SCC) and some
      peripherals such as HDD, GbE, etc. You can see brief explanation
      and picture of Cell reference set at following URLs.
      
          http://www.toshiba.co.jp/about/press/2005_09/pr2001.htm
          http://cell-industries.com/toshiba_announces.php
      
      We use a drivers/ide driver because its design is more suitable for
      SCC IDE controller than libata driver. Since SCC supports only 32bit
      read/write, we must override many callbacks of ata_port_operations
      by modifying generic helpers. Each time the libata common code is
      updated, we must update those modified helpers. It is very hard for us.
      But we will try to implement the libata driver as needed.
      
      Signed-off-by: Kou Ishizaki <kou.ishizaki at toshiba.co.jp>
      Signed-off-by: Akira Iguchi <akira2.iguchi at toshiba.co.jp>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      bde18a2e
  9. 08 2月, 2007 4 次提交
    • H
      ACPI support for IDE devices · e3a59b4d
      Hannes Reinecke 提交于
      This patch implements ACPI integration for generic IDE devices.
      The ACPI spec mandates that some methods are called during suspend and
      resume. And consequently there most modern Laptops cannot resume
      properly without it.
      
      According to the spec, we should call '_GTM' (Get Timing) upon suspend
      to store the current IDE adapter settings.
      Upon resume we should call '_STM' (Set Timing) to initialize the
      adapter with the stored settings; afterwards '_GTF' (Get Taskfile)
      should be called which returns a buffer with some IDE initialisation
      commands. Those commands should be passed to the drive.
      
      There are two module params which control the behaviour of this patch:
      
      'ide=noacpi'
      	Do not call any ACPI methods (Disables any ACPI method calls)
      'ide=acpigtf'
      	Enable execution of _GTF methods upon resume.
      	Has no effect if 'ide=noacpi' is set.
      'ide=acpionboot'
      	Enable execution of ACPI methods during boot.
      	This might be required on some machines if 'ide=acpigtf' is
      	selected as some machines modify the _GTF information
      	depending on the drive identification passed down with _STM.
      Signed-off-by: NHannes Reinecke <hare@suse.de>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      e3a59b4d
    • M
      IDE Driver for Delkin/Lexar/etc.. cardbus CF adapter · 78281c53
      Mark Lord 提交于
      On Thursday 11 January 2007 23:17, Bartlomiej Zolnierkiewicz wrote:
      > 
      > My working IDE tree (against Linus' tree) now resides here:
      > 
      > 	http://kernel.org/pub/linux/kernel/people/bart/pata-2.6/patches/
      
      Bart, here's a driver I've been keeping out-of-tree for the past couple
      of years.  This is for the Delking/Lexar/ASKA/etc.. 32-bit cardbus IDE
      CompactFlash adapter card.
      
      It's probably way out of sync with the latest driver model (??), but it
      still builds/works.  I'm not interested in doing much of a rewrite, other
      than for libata someday, as I no longer use the card myself.
      
      But lots of other people do seem to use it, so it might be nice to see it
      "in-tree".
      Signed-off-by: NMark Lord <mlord@pobox.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      78281c53
    • J
      ide: add it8213 IDE driver · 9c6712c0
      Jack Lee 提交于
      From: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      9c6712c0
    • S
      ide: add Toshiba TC86C001 IDE driver (take 2) · 33dced2e
      Sergei Shtylyov 提交于
      This is the driver for the Toshiba TC86C001 GOKU-S PCI IDE controller,
      completely reworked from the original brain-damaged Toshiba's 2.4 version.
      
      This single channel UltraDMA/66 controller is very simple in programming,
      yet Toshiba managed to plant many interesting bugs in it.  The particularly
      nasty "limitation 5" (as they call the errata) caused me to abuse the IDE
      core in a possibly most interesting way so far.  However, this is still
      better than the #ifdef mess in drivers/ide/ide-io.c that the original
      version included (well, it had much more mess)...
      Signed-off-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Acked-by: NAlan Cox <alan@redhat.com>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      33dced2e
  10. 13 12月, 2006 1 次提交
  11. 08 12月, 2006 1 次提交
    • O
      [PATCH] winbond IDE depends on IDEDMA · 9468f687
      Olaf Hering 提交于
      winbond ide depends on idedma.
      Move the option into the IDEDMA section.
      
        drivers/built-in.o: In function `.sl82c105_ide_dma_timeout':
        sl82c105.c:(.text+0x624d0): undefined reference to `.__ide_dma_timeout'
        drivers/built-in.o: In function `.sl82c105_ide_dma_off_quietly':
        sl82c105.c:(.text+0x6274c): undefined reference to `.__ide_dma_off_quietly'
        drivers/built-in.o: In function `.sl82c105_ide_dma_on':
        sl82c105.c:(.text+0x6284c): undefined reference to `.__ide_dma_on'
        drivers/built-in.o: In function `.sl82c105_check_drive':
        sl82c105.c:(.text+0x628ec): undefined reference to `.__ide_dma_bad_drive'
        sl82c105.c:(.text+0x62934): undefined reference to `.__ide_dma_good_drive'
        drivers/built-in.o: In function `.sl82c105_ide_dma_start':
        sl82c105.c:(.text+0x62c24): undefined reference to `.ide_dma_start'
        make[1]: *** [.tmp_vmlinux1] Error 1
      Signed-off-by: NOlaf Hering <olaf@aepfle.de>
      Acked-by: N"Bartlomiej Zolnierkiewicz" <bzolnier@gmail.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9468f687
  12. 04 10月, 2006 1 次提交
  13. 03 10月, 2006 2 次提交
  14. 01 10月, 2006 1 次提交
    • D
      [PATCH] BLOCK: Make it possible to disable the block layer [try #6] · 9361401e
      David Howells 提交于
      Make it possible to disable the block layer.  Not all embedded devices require
      it, some can make do with just JFFS2, NFS, ramfs, etc - none of which require
      the block layer to be present.
      
      This patch does the following:
      
       (*) Introduces CONFIG_BLOCK to disable the block layer, buffering and blockdev
           support.
      
       (*) Adds dependencies on CONFIG_BLOCK to any configuration item that controls
           an item that uses the block layer.  This includes:
      
           (*) Block I/O tracing.
      
           (*) Disk partition code.
      
           (*) All filesystems that are block based, eg: Ext3, ReiserFS, ISOFS.
      
           (*) The SCSI layer.  As far as I can tell, even SCSI chardevs use the
           	 block layer to do scheduling.  Some drivers that use SCSI facilities -
           	 such as USB storage - end up disabled indirectly from this.
      
           (*) Various block-based device drivers, such as IDE and the old CDROM
           	 drivers.
      
           (*) MTD blockdev handling and FTL.
      
           (*) JFFS - which uses set_bdev_super(), something it could avoid doing by
           	 taking a leaf out of JFFS2's book.
      
       (*) Makes most of the contents of linux/blkdev.h, linux/buffer_head.h and
           linux/elevator.h contingent on CONFIG_BLOCK being set.  sector_div() is,
           however, still used in places, and so is still available.
      
       (*) Also made contingent are the contents of linux/mpage.h, linux/genhd.h and
           parts of linux/fs.h.
      
       (*) Makes a number of files in fs/ contingent on CONFIG_BLOCK.
      
       (*) Makes mm/bounce.c (bounce buffering) contingent on CONFIG_BLOCK.
      
       (*) set_page_dirty() doesn't call __set_page_dirty_buffers() if CONFIG_BLOCK
           is not enabled.
      
       (*) fs/no-block.c is created to hold out-of-line stubs and things that are
           required when CONFIG_BLOCK is not set:
      
           (*) Default blockdev file operations (to give error ENODEV on opening).
      
       (*) Makes some /proc changes:
      
           (*) /proc/devices does not list any blockdevs.
      
           (*) /proc/diskstats and /proc/partitions are contingent on CONFIG_BLOCK.
      
       (*) Makes some compat ioctl handling contingent on CONFIG_BLOCK.
      
       (*) If CONFIG_BLOCK is not defined, makes sys_quotactl() return -ENODEV if
           given command other than Q_SYNC or if a special device is specified.
      
       (*) In init/do_mounts.c, no reference is made to the blockdev routines if
           CONFIG_BLOCK is not defined.  This does not prohibit NFS roots or JFFS2.
      
       (*) The bdflush, ioprio_set and ioprio_get syscalls can now be absent (return
           error ENOSYS by way of cond_syscall if so).
      
       (*) The seclvl_bd_claim() and seclvl_bd_release() security calls do nothing if
           CONFIG_BLOCK is not set, since they can't then happen.
      Signed-Off-By: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      9361401e
  15. 01 8月, 2006 1 次提交
  16. 25 7月, 2006 1 次提交
  17. 07 7月, 2006 1 次提交
  18. 28 6月, 2006 1 次提交
  19. 04 2月, 2006 3 次提交
  20. 15 12月, 2005 2 次提交
  21. 19 11月, 2005 1 次提交
  22. 18 11月, 2005 1 次提交
  23. 10 11月, 2005 1 次提交
  24. 30 10月, 2005 1 次提交
    • P
      Cleaned up AMD Au1200 IDE driver: · 26a940e2
      Pete Popov 提交于
      - converted to platform bus
      - removed pci dependencies
      - removed virt_to_phys/phys_to_virt calls
          
      System now can root off of a disk.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      
      diff --git a/Documentation/mips/AU1xxx_IDE.README b/Documentation/mips/AU1xxx_IDE.README
      new file mode 100644
      26a940e2
  25. 19 8月, 2005 1 次提交
  26. 28 6月, 2005 1 次提交
    • A
      [PATCH] ide: it8212 backport for Bartlomiej IDE · da9091ee
      Alan Cox 提交于
      This lets you throw out the iteraid stuff that has ended up back in due
      to stupid goings on in the IDE world. Its the same heavily tested code
      shipped in Fedora/Red Hat products but without the other dependancies on
      the Bartlomiej IDE layer.
      
      Pre-requisite: the ide-disk patch I sent to handle pure LBA devices.
      
      Obviously you lose things like hot unplug with the Bartlomiej IDE layer
      at the moment but that won't matter to most users.
      
      The patch does the following
      - Add IT8211/12 to pci_ids.h
      - Add Makefile/Kconfig entry
      - Add it8212 driver
      
      No core IDE code is touched by this diff
      
      Embedded system testing and the ability to force raid mode off by David
      Howells
      
      Made possible by the ite reference code, documentation and also several
      clarifications and pieces of assistance provided by ITE themselves
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Acked-by: NBartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      da9091ee
  27. 22 6月, 2005 1 次提交
  28. 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