summaryrefslogtreecommitdiff
path: root/drivers/smc91111.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-03-25 14:59:05 +0000
committerwdenk <wdenk>2004-03-25 14:59:05 +0000
commit518e2e1ae322251f6452c7b413ecdc70c4605fa1 (patch)
tree9be178211fea069a90485a0ff713b755db3ba197 /drivers/smc91111.h
parent6fb6af6dc9b2f99d2ef728eb3ba71d112479c9f1 (diff)
downloadu-boot-imx-518e2e1ae322251f6452c7b413ecdc70c4605fa1.zip
u-boot-imx-518e2e1ae322251f6452c7b413ecdc70c4605fa1.tar.gz
u-boot-imx-518e2e1ae322251f6452c7b413ecdc70c4605fa1.tar.bz2
* Patch by Pavel Bartusek, 21 Mar 2004
Add Reiserfs support * Patch by Hinko Kocevar, 20 Mar 2004 - Add auto-release for SMSC LAN91c111 driver - Add save/restore of PTR and PNR regs as suggested in datasheet
Diffstat (limited to 'drivers/smc91111.h')
-rw-r--r--drivers/smc91111.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/smc91111.h b/drivers/smc91111.h
index c5d0271..a228036 100644
--- a/drivers/smc91111.h
+++ b/drivers/smc91111.h
@@ -378,7 +378,7 @@ typedef unsigned long int dword;
#define CTL_EEPROM_SELECT 0x0004 /* Controls EEPROM reload & store */
#define CTL_RELOAD 0x0002 /* When set reads EEPROM into registers */
#define CTL_STORE 0x0001 /* When set stores registers into EEPROM */
-#define CTL_DEFAULT (0x1210)
+#define CTL_DEFAULT (0x1A10) /* Autorelease enabled*/
/* MMU Command Register */
/* BANK 2 */
@@ -423,6 +423,7 @@ typedef unsigned long int dword;
#define PTR_RCV 0x8000 /* 1=Receive area, 0=Transmit area */
#define PTR_AUTOINC 0x4000 /* Auto increment the pointer on each access */
#define PTR_READ 0x2000 /* When 1 the operation is a read */
+#define PTR_NOTEMPTY 0x0800 /* When 1 _do not_ write fifo DATA REG */
/* Data Register */