1. 14 3月, 2008 1 次提交
    • I
      rt2x00: Align RX descriptor to 4 bytes · f855c10b
      Ivo van Doorn 提交于
      Some architectures give problems when reading
      RX frame descriptor words when the descriptor
      is not aligned on a 4 byte boundrary.
      
      Due to optimalizations for the ieee80211 payload
      4 byte alignment, it is no longer guarenteed
      that the descriptor is placed on the 4 byte
      boundrary (In fact, for rt73usb it is absolutely
      never aligned to 4 bytes, for rt2500usb it depends
      on the length of the payload).
      
      This will copy the descriptor to a 4 byte aligned
      location before it is read for the first time.
      This will also move the payload data alignment
      in rt2x00usb (instead of inside the driver) where
      it has always belonged.
      Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      f855c10b
  2. 01 3月, 2008 39 次提交