Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Add some more RoadRunner bits. Partially from Ry...
details: https://anonhg.NetBSD.org/src/rev/6fc38f598b62
branches: trunk
changeset: 477123:6fc38f598b62
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Oct 11 17:41:56 1999 +0000
description:
Add some more RoadRunner bits. Partially from Ryoji KATO, PR #8331.
diffstat:
sys/dev/ic/elink3reg.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r efe0ba7ec0b5 -r 6fc38f598b62 sys/dev/ic/elink3reg.h
--- a/sys/dev/ic/elink3reg.h Mon Oct 11 17:33:51 1999 +0000
+++ b/sys/dev/ic/elink3reg.h Mon Oct 11 17:41:56 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: elink3reg.h,v 1.20 1999/04/28 22:47:44 jonathan Exp $ */
+/* $NetBSD: elink3reg.h,v 1.21 1999/10/11 17:41:56 thorpej Exp $ */
/*
* Copyright (c) 1995 Herb Peyerl <hpeyerl%beer.org@localhost>
@@ -432,6 +432,7 @@
ELINK_PCI_BNC|ELINK_PCI_AUI| \
ELINK_PCI_100BASE_MII)
+#define ELINK_RUNNER_MII_RESET 0x4000
#define ELINK_RUNNER_ENABLE_MII 0x8000
/*
@@ -485,8 +486,14 @@
/* EEPROM state flags/commands */
#define EEPROM_BUSY (1<<15)
#define EEPROM_TST_MODE (1<<14)
+
#define READ_EEPROM (1<<7)
+ /* For the RoadRunner chips... */
+#define WRITE_EEPROM_RR 0x100
+#define READ_EEPROM_RR 0x200
+#define ERASE_EEPROM_RR 0x300
+
/* window 4, MEDIA_STATUS bits */
#define SQE_ENABLE 0x08 /* Enables SQE on AUI ports */
#define JABBER_GUARD_ENABLE 0x40
Home |
Main Index |
Thread Index |
Old Index