diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2010-04-01 12:05:27 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2010-04-01 12:05:27 +0000 |
commit | 508ed126fce54e34107dc4335fe1639d5f57a098 (patch) | |
tree | a5cda6cdb0bffcdceb04c0066c69647b1bee39a8 /package/ep80579-drivers/patches/701-iegbe_poll_dev.patch | |
parent | 25005baa1279d34b9c485f553f71076651f107e8 (diff) | |
download | upstream-508ed126fce54e34107dc4335fe1639d5f57a098.tar.gz upstream-508ed126fce54e34107dc4335fe1639d5f57a098.tar.bz2 upstream-508ed126fce54e34107dc4335fe1639d5f57a098.zip |
[x86]: add a subtarget and drivers for the Intel Tolapai SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20648 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ep80579-drivers/patches/701-iegbe_poll_dev.patch')
-rw-r--r-- | package/ep80579-drivers/patches/701-iegbe_poll_dev.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/ep80579-drivers/patches/701-iegbe_poll_dev.patch b/package/ep80579-drivers/patches/701-iegbe_poll_dev.patch new file mode 100644 index 0000000000..63a1326853 --- /dev/null +++ b/package/ep80579-drivers/patches/701-iegbe_poll_dev.patch @@ -0,0 +1,11 @@ +--- a/Embedded/src/GbE/iegbe_main.c ++++ b/Embedded/src/GbE/iegbe_main.c +@@ -3534,7 +3534,7 @@ static int iegbe_clean(struct napi_struc + int tx_cleaned = 0, work_done = 0; + + /* Must NOT use netdev_priv macro here. */ +- adapter = poll_dev->priv; ++ adapter = netdev_priv(poll_dev); + + /* iegbe_clean is called per-cpu. This lock protects + * tx_ring[0] from being cleaned by multiple cpus |