From e141a9231dc8a20e7ba6e2dd0b29b4f1082ed094 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 7 Aug 2007 09:12:49 +0000 Subject: Upgrade rt2x00 to a more recent snapshot, master mode now working, thanks to Daniel Gimpelevich git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8367 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/rt2x00/src/rt2x00pci.h | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'package/rt2x00/src/rt2x00pci.h') diff --git a/package/rt2x00/src/rt2x00pci.h b/package/rt2x00/src/rt2x00pci.h index 291d0c026..8595cbff4 100644 --- a/package/rt2x00/src/rt2x00pci.h +++ b/package/rt2x00/src/rt2x00pci.h @@ -43,12 +43,13 @@ #define REGISTER_BUSY_DELAY 100 /* - * TX descriptor available flag. - * This flag is the combination of the TXD_W0_OWNER_NIC - * and TXD_W0_VALID flag which have the same value on all - * PCI drivers. + * Descriptor availability flags. + * All PCI device descriptors have these 2 flags + * with the exact same definition. */ -#define TXD_ENTRY_AVAILABLE FIELD32(0x00000003) +#define TXD_ENTRY_OWNER_NIC FIELD32(0x00000001) +#define TXD_ENTRY_VALID FIELD32(0x00000002) +#define RXD_ENTRY_OWNER_NIC FIELD32(0x00000001) /* * Register access. @@ -93,6 +94,11 @@ int rt2x00pci_write_tx_data(struct rt2x00_dev *rt2x00dev, struct data_ring *ring, struct sk_buff *skb, struct ieee80211_tx_control *control); +/* + * RX data handlers. + */ +void rt2x00pci_rxdone(struct rt2x00_dev *rt2x00dev); + /* * Device initialization handlers. */ -- cgit v1.2.3