rt2x00: Move all register definitions for rt2800 to rt2800.h.
There is no point on having them separated across 3 files. At the same time rename USB_CYC_CFG to its proper name US_CYC_CNT (as per the datasheet). Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
This commit is contained in:
committed by
Ivo van Doorn
parent
5ed8f4582a
commit
785c3c06fb
@@ -34,25 +34,6 @@
|
||||
#ifndef RT2800PCI_H
|
||||
#define RT2800PCI_H
|
||||
|
||||
/*
|
||||
* PCI registers.
|
||||
*/
|
||||
|
||||
/*
|
||||
* E2PROM_CSR: EEPROM control register.
|
||||
* RELOAD: Write 1 to reload eeprom content.
|
||||
* TYPE: 0: 93c46, 1:93c66.
|
||||
* LOAD_STATUS: 1:loading, 0:done.
|
||||
*/
|
||||
#define E2PROM_CSR 0x0004
|
||||
#define E2PROM_CSR_DATA_CLOCK FIELD32(0x00000001)
|
||||
#define E2PROM_CSR_CHIP_SELECT FIELD32(0x00000002)
|
||||
#define E2PROM_CSR_DATA_IN FIELD32(0x00000004)
|
||||
#define E2PROM_CSR_DATA_OUT FIELD32(0x00000008)
|
||||
#define E2PROM_CSR_TYPE FIELD32(0x00000030)
|
||||
#define E2PROM_CSR_LOAD_STATUS FIELD32(0x00000040)
|
||||
#define E2PROM_CSR_RELOAD FIELD32(0x00000080)
|
||||
|
||||
/*
|
||||
* Queue register offset macros
|
||||
*/
|
||||
|
Reference in New Issue
Block a user