1. 03 Oct, 2006 1 commit
    • Matt Mackall's avatar
      [PATCH] Make number of IDE interfaces configurable · 83d7dbc4
      Matt Mackall authored
      
      
      Make IDE_HWIFS configurable if EMBEDDED
      
      This lets us lop as much as 16k off an x86 build.  It's a little ugly, but
      it's dead simple.  Note the fix for HWIFS < 2.
      
      Sizing interfaces dynamically unfortunately turns out to be pretty
      major surgery.
      
      add/remove: 0/1 grow/shrink: 0/11 up/down: 0/-16182 (-16182)
      function                                     old     new   delta
      ide_hwifs                                  16920    1692  -15228
      init_irq                                    1113     750    -363
      ideprobe_init                                283     138    -145
      ide_pci_setup_ports                         1329    1193    -136
      save_match                                    85       -     -85
      ide_register_hw_with_fixup                   367     287     -80
      ide_setup                                   1364    1308     -56
      is_chipset_set                                40       4     -36
      create_proc_ide_interfaces                   225     205     -20
      init_ide_data                                 84      67     -17
      ide_probe_for_cmd640x                       1198    1183     -15
      ide_unregister                              1452    1451      -1
      
      Signed-off-by: default avatarMatt Mackall <mpm@selenic.com>
      Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
      Acked-by: default avatarAlan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      83d7dbc4
  2. 30 Jun, 2006 1 commit
  3. 20 Jun, 2006 1 commit
    • David S. Miller's avatar
      [SPARC]: Kill __irq_itoa(). · c6387a48
      David S. Miller authored
      
      
      This ugly hack was long overdue to die.
      
      It was a way to print out Sparc interrupts in a more freindly format,
      since IRQ numbers were arbitrary opaque 32-bit integers which vectored
      into PIL levels.  These 32-bit integers were not necessarily in the
      0-->NR_IRQS range, but the PILs they vectored to were.
      
      The idea now is that we will increase NR_IRQS a little bit and use a
      virtual<-->real IRQ number mapping scheme similar to PowerPC.
      
      That makes this IRQ printing hack irrelevant, and furthermore only a
      handful of drivers actually used __irq_itoa() making it even less
      useful.
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c6387a48
  4. 19 Apr, 2006 1 commit
  5. 18 Nov, 2005 1 commit
  6. 10 Nov, 2005 1 commit
    • Laurent riffard's avatar
      [PATCH] PCI: automatically set device_driver.owner · 863b18f4
      Laurent riffard authored
      
      
      A nice feature of sysfs is that it can create the symlink from the
      driver to the module that is contained in it.
      
      It requires that the device_driver.owner is set, what is not the
      case for many PCI drivers.
      
      This patch allows pci_register_driver to set automatically the
      device_driver.owner for any PCI driver.
      
      Credits to Al Viro who suggested the method.
      
      Signed-off-by: default avatarLaurent Riffard <laurent.riffard@free.fr>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      --
      
       drivers/ide/setup-pci.c  |   12 +++++++-----
       drivers/pci/pci-driver.c |    9 +++++----
       include/linux/ide.h      |    3 ++-
       include/linux/pci.h      |   10 ++++++++--
       4 files changed, 22 insertions(+), 12 deletions(-)
      863b18f4
  7. 18 Aug, 2005 1 commit
  8. 01 Jul, 2005 1 commit
    • Greg Kroah-Hartman's avatar
      [PATCH] PCI: clean up dynamic pci id logic · 75865858
      Greg Kroah-Hartman authored
      
      
      The dynamic pci id logic has been bothering me for a while, and now that
      I started to look into how to move some of this to the driver core, I
      thought it was time to clean it all up.
      
      It ends up making the code smaller, and easier to follow, and fixes a
      few bugs at the same time (dynamic ids were not being matched
      everywhere, and so could be missed on some call paths for new devices,
      semaphore not needed to be grabbed when adding a new id and calling the
      driver core, etc.)
      
      I also renamed the function pci_match_device() to pci_match_id() as
      that's what it really does.
      
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      75865858
  9. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      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