linux/drivers/ide
Matt Mackall 83d7dbc409 [PATCH] Make number of IDE interfaces configurable
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: Matt Mackall <mpm@selenic.com>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-03 08:04:07 -07:00
..
arm Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cris Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
h8300 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
legacy [PATCH] Split struct request ->flags into two parts 2006-09-30 20:23:37 +02:00
mips [PATCH] Alchemy: Delete unused pt_regs * argument from au1xxx_dbdma_chan_alloc 2006-09-26 08:48:54 -07:00
pci [PATCH] non-libata driver for Jmicron devices 2006-10-03 08:04:07 -07:00
ppc fix broken/dubious driver suspend() methods 2006-09-25 21:08:37 -07:00
ide-cd.c [PATCH] Split struct request ->flags into two parts 2006-09-30 20:23:37 +02:00
ide-cd.h [PATCH] ide-cd: remove write-only cmd field from struct cdrom_info 2005-12-15 02:20:49 +01:00
ide-disk.c [PATCH] Split struct request ->flags into two parts 2006-09-30 20:23:37 +02:00
ide-dma.c [PATCH] IDE: always release DMA engine 2006-10-03 08:04:07 -07:00
ide-floppy.c [PATCH] Remove ->rq_status from struct request 2006-09-30 20:29:23 +02:00
ide-generic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ide-io.c [PATCH] IDE error handling fixes 2006-10-03 08:04:07 -07:00
ide-iops.c [PATCH] IDE: Touch NMI watchdog during resume from STR 2006-07-31 13:28:39 -07:00
ide-lib.c [PATCH] Split struct request ->flags into two parts 2006-09-30 20:23:37 +02:00
ide-pnp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ide-probe.c [PATCH] irq-flags: ide: Use the new IRQF_ constants 2006-07-02 13:58:49 -07:00
ide-proc.c [PATCH] optical /proc/ide/*/media 2006-09-08 10:22:50 -07:00
ide-tape.c [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
ide-taskfile.c [PATCH] Split struct request ->flags into two parts 2006-09-30 20:23:37 +02:00
ide-timing.h [PATCH] ide: actually honor drive's minimum PIO/DMA cycle times 2006-06-26 09:58:27 -07:00
ide.c [PATCH] IDE: claim extra DMA ports regardless of channel 2006-10-03 08:04:07 -07:00
Kconfig [PATCH] Make number of IDE interfaces configurable 2006-10-03 08:04:07 -07:00
Makefile [IDE] Add driver for Sibyte Swarm evaluation board 2005-11-17 16:23:50 +00:00
setup-pci.c [PATCH] Make number of IDE interfaces configurable 2006-10-03 08:04:07 -07:00