diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-09-16 21:33:26 -0400 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-10-19 02:56:09 -0400 |
commit | 2869da8587604e3fea5f85aeade486a08e8313bf (patch) | |
tree | e5894e5ffbc7eea4c3dc01406abfbbcfd8022467 /drivers/net/wimax/i2400m/i2400m.h | |
parent | 0856ccf29dfbaf957e4be80dd3eb88d97810b633 (diff) |
wimax/i2400m: do bootmode buffer management in i2400m_setup/release()
After the introduction of i2400m->bus_setup/release, there is no more
race condition where the bootmode buffers are needed before
i2400m_setup() is called.
Before, the SDIO driver would setup RX before calling i2400m_setup()
and thus need those buffers; now RX setup is done in
i2400m->bus_setup(), which is called by i2400m_setup().
Thus, all the bootmode buffer management can now be done completely
inside i2400m_setup()/i2400m_release(), removing complexity from the
bus-specific drivers.
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'drivers/net/wimax/i2400m/i2400m.h')
-rw-r--r-- | drivers/net/wimax/i2400m/i2400m.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wimax/i2400m/i2400m.h b/drivers/net/wimax/i2400m/i2400m.h index 407d0972f2f6..1724955e0fe9 100644 --- a/drivers/net/wimax/i2400m/i2400m.h +++ b/drivers/net/wimax/i2400m/i2400m.h | |||
@@ -817,8 +817,6 @@ void i2400m_put(struct i2400m *i2400m) | |||
817 | } | 817 | } |
818 | 818 | ||
819 | extern int i2400m_dev_reset_handle(struct i2400m *, const char *); | 819 | extern int i2400m_dev_reset_handle(struct i2400m *, const char *); |
820 | extern int i2400m_bm_buf_alloc(struct i2400m *i2400m); | ||
821 | extern void i2400m_bm_buf_free(struct i2400m *i2400m); | ||
822 | 820 | ||
823 | /* | 821 | /* |
824 | * _setup()/_release() are called by the probe/disconnect functions of | 822 | * _setup()/_release() are called by the probe/disconnect functions of |