Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 3 Feb 2001 08:03:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 3 Feb 2001 08:03:15 -0500 Received: from fungus.teststation.com ([212.32.186.211]:46517 "EHLO fungus.svenskatest.se") by vger.kernel.org with ESMTP id ; Sat, 3 Feb 2001 08:03:05 -0500 Date: Sat, 3 Feb 2001 14:02:53 +0100 (CET) From: Urban Widmark To: cc: , Subject: Re: DFE-530TX with no mac address In-Reply-To: <3A7B599F.18307.47A4F1@localhost> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1463780587-1775766346-981202455=:13570" Content-ID: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---1463780587-1775766346-981202455=:13570 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: On Sat, 3 Feb 2001 T.Stewart@student.umist.ac.uk wrote: > VIA VT3065 Rhine-II chip registers at 0xd400 > 0x000: 00000000 00000000 00000804 00000000 00000000 > 00000000 00000000 00000000 > 0x020: 00000400 00000000 00000000 00000000 00000000 > 00000000 00000000 00000000 > 0x040: 00000000 00000000 00000000 00000000 00000000 > 00000000 00000000 feffffff > 0x060: 00000000 00000000 00000000 0e09131f 00008100 > 08000080 02470000 00000000 > No interrupt sources are pending (0000). > Access to the EEPROM has been disabled (0x80). > Direct reading or writing is not possible. > EEPROM contents (Assumed from chip registers): > 0x100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 0x110: 00 00 00 00 00 00 00 00 09 0e 00 00 47 02 73 73 > ***WARNING***: No MII transceivers found! This is intresting. Your card reports that it is stopped while the other report show normal values on most things. Does this change if you try and send something (like a ping)? Common to both reports is that the transceivers don't respond. The functioning card reports a PHY ID of 0016 f880, wonder which chip that is ... ? The attached patch for the via-daig program plays with a few registers. Run it as 'via-diag -aaeemm -I' then do a 'ifconfig eth0 down; ifconfig eth0 up' and see if anything happens. If this doesn't work you may want to play "guess the register". A fun game for all ages, made more fun by using obfuscated english. There is a datasheet here for a chip similar to the ones you have. http://www.via.com.tw/pdf/productinfo/vt86c100a.pdf /Urban ---1463780587-1775766346-981202455=:13570 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="via-diag-reload.patch" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME="via-diag-reload.patch" LS0tIHZpYS1kaWFnLmMub3JpZwlTYXQgRmViICAzIDEwOjE0OjUwIDIwMDEN CisrKyB2aWEtZGlhZy5jCVNhdCBGZWIgIDMgMTM6MDA6NDcgMjAwMQ0KQEAg LTE1MCw2ICsxNTAsOCBAQA0KIHN0YXRpYyBpbnQgZ2V0X21lZGlhX2luZGV4 KGNvbnN0IGNoYXIgKm5hbWUpOw0KIC8qIENoaXAtc3BlY2lmaWMgb3B0aW9u cywgaWYgYW55LCBnbyBoZXJlLiAqLw0KIA0KK3N0YXRpYyBpbnQgdHJ5X3Rv X3N0YXJ0ID0gMCwgdHJ5X3RvX3N0b3AgPSAwOw0KKw0KIAwNCiBpbnQNCiBt YWluKGludCBhcmdjLCBjaGFyICoqYXJndikNCkBAIC0xNjEsNyArMTYzLDcg QEANCiAJaW50IGNhcmRfbnVtID0gMDsNCiAJZXh0ZXJuIGNoYXIgKm9wdGFy ZzsNCiANCi0Jd2hpbGUgKChjID0gZ2V0b3B0X2xvbmcoYXJnYywgYXJndiwg IiM6YUE6RGVFZkY6RzptcDpxclJzdDp2VndXSDpCTDpTOiIsDQorCXdoaWxl ICgoYyA9IGdldG9wdF9sb25nKGFyZ2MsIGFyZ3YsICIjOmFBOkRlRWZGOkc6 bXA6cXJSc3Q6dlZ3V0g6Qkw6UzpJaSIsDQogCQkJCQkJCWxvbmdvcHRzLCAm bG9uZ2luZCkpDQogCQkgIC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QorCS8qIC4uLiBhbmQgdGhlbiBzdGFydGluZyBpdCBh Z2FpbiAqLw0KKwlpZiAodHJ5X3RvX3N0YXJ0KSB7DQorCQkvKiB3ZSBrbm93 IHRoZSBQSFkgaXMgOCAqLw0KKwkJb3V0YigweDA4LCBpb2FkZHIgKyAweDZj KTsNCisNCisJCS8qIHRlbGwgdGhlIGNoaXAgdG8gcmVsb2FkIGZyb20gRUVQ Uk9NICovDQorCQlvdXRiKDB4MjAsIGlvYWRkciArIDB4NzQpOw0KIAl9DQog DQogCS8qIEFsd2F5cyBzaG93IHRoZSBiYXNpYyBzdGF0dXMuICovDQo= ---1463780587-1775766346-981202455=:13570-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/