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
..
2006-10-02 07:57:21 -07:00
2006-09-28 18:03:03 -07:00
2006-10-02 07:57:20 -07:00
2006-09-30 20:52:31 +02:00
2006-10-02 07:57:20 -07:00
2006-10-01 00:39:29 -07:00
2006-10-01 00:39:29 -07:00
2006-10-01 00:39:29 -07:00
2006-09-29 17:13:24 -07:00
2006-09-29 17:05:05 -07:00
2006-09-30 20:29:42 +02:00
2006-09-30 20:52:33 +02:00
2006-09-30 20:29:43 +02:00
2006-09-30 20:52:31 +02:00
2006-10-01 00:39:23 -07:00
2006-10-02 14:05:20 -07:00
2006-10-01 00:39:26 -07:00
2006-10-02 07:57:14 -07:00
2006-09-29 09:18:21 -07:00
2006-09-29 09:18:20 -07:00
2006-09-29 09:18:10 -07:00
2006-09-29 09:18:09 -07:00
2006-09-30 20:52:31 +02:00
2006-09-30 20:52:28 +02:00
2006-09-30 20:52:29 +02:00
2006-09-29 09:18:12 -07:00
2006-10-03 08:03:40 -07:00
2006-10-02 07:57:12 -07:00
2006-09-29 09:18:24 -07:00
2006-09-30 20:52:31 +02:00
2006-09-30 01:47:55 +02:00
2006-09-29 09:18:15 -07:00
2006-09-30 09:36:56 -07:00
2006-10-03 08:04:07 -07:00
2006-10-02 07:57:22 -07:00
2006-09-29 09:18:20 -07:00
2006-10-01 00:39:31 -07:00
2006-10-02 07:57:22 -07:00
2006-10-01 00:39:23 -07:00
2006-09-29 09:18:03 -07:00
2006-10-03 08:03:41 -07:00
2006-10-01 00:39:33 -07:00
2006-10-02 07:57:16 -07:00
2006-10-01 00:39:19 -07:00
2006-09-29 09:18:13 -07:00
2006-09-29 09:18:05 -07:00
2006-09-29 09:18:08 -07:00
2006-09-29 09:18:06 -07:00
2006-10-01 00:39:18 -07:00
2006-10-01 00:39:18 -07:00
2006-10-01 00:39:18 -07:00
2006-10-02 07:57:12 -07:00
2006-09-30 20:52:31 +02:00
2006-09-29 09:18:12 -07:00
2006-10-01 00:39:19 -07:00
2006-10-02 07:57:20 -07:00
2006-10-01 00:39:23 -07:00
2006-10-01 00:39:28 -07:00
2006-09-29 09:18:05 -07:00
2006-10-02 07:57:17 -07:00
2006-10-02 07:57:22 -07:00
2006-09-29 09:18:03 -07:00
2006-09-29 17:06:23 -07:00
2006-10-01 00:39:17 -07:00
2006-09-29 09:18:02 -07:00
2006-10-03 08:03:40 -07:00
2006-09-29 09:18:15 -07:00
2006-10-02 07:57:13 -07:00
2006-10-02 07:57:15 -07:00
2006-09-29 09:18:16 -07:00
2006-09-30 20:52:18 +02:00
2006-09-30 20:26:56 +02:00
2006-09-29 09:18:11 -07:00
2006-09-29 09:18:11 -07:00
2006-10-01 00:39:28 -07:00
2006-10-01 00:39:27 -07:00
2006-09-29 09:18:11 -07:00
2006-10-01 00:39:25 -07:00
2006-10-03 08:04:06 -07:00
2006-09-29 09:18:06 -07:00
2006-09-29 09:18:11 -07:00
2006-09-29 09:18:24 -07:00
2006-09-29 09:18:19 -07:00
2006-09-29 09:18:20 -07:00
2006-10-03 08:03:40 -07:00
2006-10-01 00:39:18 -07:00
2006-10-01 00:39:19 -07:00
2006-10-01 00:39:22 -07:00
2006-10-02 07:57:23 -07:00
2006-10-01 00:39:23 -07:00
2006-10-01 00:39:29 -07:00
2006-10-01 00:39:27 -07:00
2006-10-03 08:04:06 -07:00
2006-10-01 00:39:29 -07:00
2006-10-02 07:57:14 -07:00
2006-09-30 20:52:18 +02:00
2006-10-01 00:39:18 -07:00
2006-10-02 07:57:23 -07:00
2006-10-01 00:39:34 -07:00
2006-10-01 00:39:19 -07:00
2006-10-02 07:57:22 -07:00
2006-09-29 09:18:13 -07:00
2006-10-02 07:57:13 -07:00
2006-09-30 20:52:26 +02:00