diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/ixp425-eth/ixp400-eth-1.5/module-param.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/ixp425-eth/ixp400-eth-1.5/module-param.patch')
-rw-r--r-- | recipes/ixp425-eth/ixp400-eth-1.5/module-param.patch | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/recipes/ixp425-eth/ixp400-eth-1.5/module-param.patch b/recipes/ixp425-eth/ixp400-eth-1.5/module-param.patch new file mode 100644 index 0000000000..c54c45d716 --- /dev/null +++ b/recipes/ixp425-eth/ixp400-eth-1.5/module-param.patch @@ -0,0 +1,62 @@ + ixp400_eth.c | 32 ++++++++++++++++++++++++++++++++ + 1 files changed, 32 insertions(+) + +Index: ixp400_eth/ixp400_eth.c +=================================================================== +--- ixp400_eth.orig/ixp400_eth.c ++++ ixp400_eth/ixp400_eth.c +@@ -142,22 +142,54 @@ + + static int datapath_poll = 1; /* default : rx/tx polling, not interrupt driven*/ + ++#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,16) + MODULE_PARM(ixp400_netdev_max_backlog, "i"); ++#else ++module_param(ixp400_netdev_max_backlog, int, 0644); ++#endif + MODULE_PARM_DESC(ixp400_netdev_max_backlog, "Should be set to the value of /proc/sys/net/core/netdev_max_backlog (perf affecting)"); ++#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,16) + MODULE_PARM(datapath_poll, "i"); ++#else ++module_param(datapath_poll, int, 0644); ++#endif + MODULE_PARM_DESC(datapath_poll, "If non-zero, use polling method for datapath instead of interrupts"); + #endif /* CONFIG_IXP400_NAPI */ ++#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,16) + MODULE_PARM(npe_learning, "i"); ++#else ++module_param(npe_learning, int, 0644); ++#endif + MODULE_PARM_DESC(npe_learning, "If non-zero, NPE MAC Address Learning & Filtering feature will be enabled"); ++#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,16) + MODULE_PARM(log_level, "i"); ++#else ++module_param(log_level, int, 0644); ++#endif + MODULE_PARM_DESC(log_level, "Set log level: 0 - None, 1 - Verbose, 2 - Debug"); ++#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,16) + MODULE_PARM(no_ixp400_sw_init, "i"); ++#else ++module_param(no_ixp400_sw_init, int, 0644); ++#endif + MODULE_PARM_DESC(no_ixp400_sw_init, "If non-zero, do not initialise Intel IXP400 Software Release core components"); ++#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,16) + MODULE_PARM(no_phy_scan, "i"); ++#else ++module_param(no_phy_scan, int, 0644); ++#endif + MODULE_PARM_DESC(no_phy_scan, "If non-zero, use hard-coded phy addresses"); ++#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,16) + MODULE_PARM(phy_reset, "i"); ++#else ++module_param(phy_reset, int, 0644); ++#endif + MODULE_PARM_DESC(phy_reset, "If non-zero, reset the phys"); ++#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,16) + MODULE_PARM(dev_max_count, "i"); ++#else ++module_param(dev_max_count, int, 0644); ++#endif + MODULE_PARM_DESC(dev_max_count, "Number of devices to initialize"); + + /* boolean values for PHY link speed, duplex, and autonegotiation */ |