diff options
author | Rod Whitby <rod@whitby.id.au> | 2009-04-28 09:29:52 +0930 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2009-04-28 09:29:52 +0930 |
commit | 694436f22483c9dab39acbadafbdf315441873e4 (patch) | |
tree | db7afe8b913fe98561260ed18e3eb9935dcc8f34 /recipes/ixp425-eth/ixp400-eth-1.5.1/stop-on-rmmod.patch | |
parent | 1a33200c79bb363cb5c7928f0e510919d6a65ea8 (diff) |
ixp4xx: Remove proprietary Intel ethernet driver.
See
http://lists.linuxtogo.org/pipermail/openembedded-devel/2007-January/001279.html
Diffstat (limited to 'recipes/ixp425-eth/ixp400-eth-1.5.1/stop-on-rmmod.patch')
-rw-r--r-- | recipes/ixp425-eth/ixp400-eth-1.5.1/stop-on-rmmod.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/recipes/ixp425-eth/ixp400-eth-1.5.1/stop-on-rmmod.patch b/recipes/ixp425-eth/ixp400-eth-1.5.1/stop-on-rmmod.patch deleted file mode 100644 index 2ddc98938a..0000000000 --- a/recipes/ixp425-eth/ixp400-eth-1.5.1/stop-on-rmmod.patch +++ /dev/null @@ -1,29 +0,0 @@ -devices must be explicitely stopped when -the driver is going do be removed, otherwise -it will simply hang. - - ixp400_eth.c | 13 ++++++++++--- - 1 file changed, 10 insertions(+), 3 deletions(-) - ---- ixp400-eth/ixp400_eth.c 1970-01-01 00:00:00.000000000 +0000 -+++ ixp400-eth/ixp400_eth.c 1970-01-01 00:00:00.000000000 +0000 -@@ -3800,9 +3800,16 @@ void __exit ixp400_eth_exit(void) - - TRACE; - -- /* We can only get here when the module use count is 0, -- * so there's no need to stop devices. -- */ -+ /* stop devices */ -+ -+#if IS_KERNEL26 -+ for (dev_count = 0; -+ dev_count < dev_max_count; /* module parameter */ -+ dev_count++) -+ { -+ do_dev_stop(platform_get_drvdata(&ixp400_eth_devices[dev_count])); -+ } -+#endif - - if (no_ixp400_sw_init == 0) /* module parameter */ - { |