1. 11 11月, 2008 1 次提交
    • W
      netdevice libertas: Fix directly reference of netdev->priv · 4ceb7b6a
      Wang Chen 提交于
      We have some reasons to kill netdev->priv:
      1. netdev->priv is equal to netdev_priv().
      2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
         netdev_priv() is more flexible than netdev->priv.
      But we cann't kill netdev->priv, because so many drivers reference to it
      directly.
      
      OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
      and I want to kill netdev->priv later, I decided to convert all the direct
      reference of netdev->priv first.
      
      Different to readonly reference of netdev->priv, in this driver, netdev->priv
      was changed. I use netdev->ml_priv to replace netdev->priv.
      Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4ceb7b6a
  2. 08 11月, 2008 4 次提交
  3. 07 11月, 2008 35 次提交