1. 10 5月, 2007 1 次提交
    • B
      ide: move IDE settings handling to ide-proc.c · 7662d046
      Bartlomiej Zolnierkiewicz 提交于
      * move
      	__ide_add_setting()
      	ide_add_setting()
      	__ide_remove_setting()
      	auto_remove_settings()
      	ide_find_setting_by_name()
      	ide_read_setting()
      	ide_write_setting()
      	set_xfer_rate()
      	ide_add_generic_settings()
      	ide_register_subdriver()
      	ide_unregister_subdriver()
      
        from ide.c to ide-proc.c
      
      * set_{io_32bit,pio_mode,using_dma}() cannot be marked static now, fix it
      
      * rename ide_[un]register_subdriver() to ide_proc_[un]register_driver(),
        update device drivers to use new names
      
      * add CONFIG_IDE_PROC_FS=n versions of ide_proc_[un]register_driver()
        and ide_add_generic_settings()
      
      * make ide_find_setting_by_name(), ide_{read,write}_setting()
        and ide_{add,remove}_proc_entries() static
      
      * cover IDE settings code in device drivers with CONFIG_IDE_PROC_FS #ifdef,
        also while at it cover with CONFIG_IDE_PROC_FS #ifdef ide_driver_t.proc
      
      * remove bogus comment from ide.h
      
      * cover with CONFIG_IDE_PROC_FS #ifdef .proc and .settings in ide_drive_t
      
      Besides saner code this patch results in the IDE core smaller by ~2 kB
      (on x86-32) and IDE disk driver by ~1 kB (ditto) when CONFIG_IDE_PROC_FS=n.
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      7662d046
  2. 28 4月, 2007 1 次提交
  3. 15 2月, 2007 1 次提交
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
  4. 13 2月, 2007 1 次提交
  5. 12 2月, 2007 1 次提交
  6. 03 10月, 2006 1 次提交
  7. 09 9月, 2006 1 次提交
  8. 01 7月, 2006 1 次提交
  9. 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
  10. 26 5月, 2005 1 次提交
    • B
      [PATCH] convert IDE device drivers to driver-model · 8604affd
      Bartlomiej Zolnierkiewicz 提交于
      * add ide_bus_match() and export ide_bus_type
      * split ide_remove_driver_from_hwgroup() out of ide_unregister()
      * move device cleanup from ide_unregister() to drive_release_dev()
      * convert ide_driver_t->name to driver->name
      * convert ide_driver_t->{attach,cleanup} to driver->{probe,remove}
      * remove ide_driver_t->busy as ide_bus_type->subsys.rwsem
        protects against concurrent ->{probe,remove} calls
      * make ide_{un}register_driver() void as it cannot fail now
      * use driver_{un}register() directly, remove ide_{un}register_driver()
      * use device_register() instead of ata_attach(), remove ata_attach()
      * add proc_print_driver() and ide_drivers_show(), remove ide_drivers_op
      * fix ide_replace_subdriver() and move it to ide-proc.c
      * remove ide_driver_t->drives, ide_drives and drives_lock
      * remove ide_driver_t->drivers, drivers and drivers_lock
      * remove ide_drive_t->driver and DRIVER() macro
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
      8604affd
  11. 17 5月, 2005 1 次提交
    • Z
      [PATCH] ide proc destroy error · 643bdc6f
      Zhang, Yanmin 提交于
      Kernel 2.6 has an ide proc destroy error. Run #modprobe ide-core and
      #rmmod ide-core, then kernel will dump stack information like below.
      
      **********Log******************
      Badness in remove_proc_entry at fs/proc/generic.c:693
      
      Call Trace:
       [<a0000001000117e0>] show_stack+0x80/0xa0
                                      sp=3De0000003e05dfbe0 =
      bsp=3De0000003e05d0ea8
       [<a0000001000120b0>] dump_stack+0x30/0x60
                                      sp=3De0000003e05dfdb0 =
      bsp=3De0000003e05d0e90
       [<a000000100183090>] remove_proc_entry+0x530/0x540
                                      sp=3De0000003e05dfdb0 =
      bsp=3De0000003e05d0e20
       [<a000000221cbd280>] proc_ide_destroy+0x120/0x140 [ide_core]
                                      sp=3De0000003e05dfdc0 =
      bsp=3De0000003e05d0df0
       [<a000000221ca65f0>] cleanup_module+0x50/0xa0 [ide_core]
                                      sp=3De0000003e05dfdc0 =
      bsp=3De0000003e05d0dd0
       [<a0000001000a9e10>] sys_delete_module+0x390/0x580
                                      sp=3De0000003e05dfdc0 =
      bsp=3De0000003e05d0d50
       [<a00000010000af40>] ia64_ret_from_syscall+0x0/0x20
                                      sp=3De0000003e05dfe30 =
      bsp=3De0000003e05d0d50
       [<a000000000010640>] _stext+0xffffffff00010640/0x400
                                      sp=3De0000003e05e0000 =
      bsp=3De0000003e05d0d50
      Signed-off-by: NZhang Yanmin <yanmin.zhang@intel.com>
      Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      643bdc6f
  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