diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-24 16:53:30 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-24 16:53:30 -0400 |
commit | d83b8b85cd56a083d30df73f3fd5e4714591b910 (patch) | |
tree | 1fac379e8d909361ecbf934645463a00e706dafc /include/asm-parisc | |
parent | 2c9d86438a0104800da2a8ecdc1e27baf38ba6a4 (diff) |
ide: define MAX_HWIFS in <linux/ide.h>
* Now that ide_hwif_t instances are allocated dynamically
the difference between MAX_HWIFS == 2 and MAX_HWIFS == 10
is ~100 bytes (x86-32) so use MAX_HWIFS == 10 on all archs
except these ones that use MAX_HWIFS == 1.
* Define MAX_HWIFS in <linux/ide.h> instead of <asm/ide.h>.
[ Please note that avr32/cris/v850 have no <asm/ide.h>
and alpha/ia64/sh always define CONFIG_IDE_MAX_HWIFS. ]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/asm-parisc')
-rw-r--r-- | include/asm-parisc/ide.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-parisc/ide.h b/include/asm-parisc/ide.h index db0c94410095..c246ef75017d 100644 --- a/include/asm-parisc/ide.h +++ b/include/asm-parisc/ide.h | |||
@@ -13,10 +13,6 @@ | |||
13 | 13 | ||
14 | #ifdef __KERNEL__ | 14 | #ifdef __KERNEL__ |
15 | 15 | ||
16 | #ifndef MAX_HWIFS | ||
17 | #define MAX_HWIFS 2 | ||
18 | #endif | ||
19 | |||
20 | #define ide_request_irq(irq,hand,flg,dev,id) request_irq((irq),(hand),(flg),(dev),(id)) | 16 | #define ide_request_irq(irq,hand,flg,dev,id) request_irq((irq),(hand),(flg),(dev),(id)) |
21 | #define ide_free_irq(irq,dev_id) free_irq((irq), (dev_id)) | 17 | #define ide_free_irq(irq,dev_id) free_irq((irq), (dev_id)) |
22 | #define ide_request_region(from,extent,name) request_region((from), (extent), (name)) | 18 | #define ide_request_region(from,extent,name) request_region((from), (extent), (name)) |