Linux-Hardware Digest #774, Volume #12 Sun, 30 Apr 00 17:13:08 EDT
Contents:
Netzwerkkarte: MII PHY - this device may not operate correctly (level-one
fnc-0500tx, Winbond 840) ("Gerhard Engler")
Reply-To: "Gerhard Engler" [EMAIL PROTECTED]
From: "Gerhard Engler" [EMAIL PROTECTED]
Crossposted-To:
comp.os.linux.networking,de.comp.os.unix.linux.hardware,de.comp.os.unix.linux.newusers,de.comp.os.unix.networking,hannover.uni.comp.linux,hanse.linux,maus.computer.linux,muc.lists.linux,z-netz.alt.linux
Subject: Netzwerkkarte: MII PHY - this device may not operate correctly (level-one
fnc-0500tx, Winbond 840)
Date: Sun, 30 Apr 2000 22:57:36 +0200
Hallo lieber Leser,
zunächst mal entschuldigung für den Cross-Post-Rundumschlag. Aber ich kämpfe
nun schon seit 2 Wochen mit dem gleichen Problem:
Wie kriege ich meine Netzwerkkarte
Level-One fnc-0500tx
(siehe http://www.level-one.net/german/produkte/fnc-0500tx.htm )
sie arbeitet mit einem Winbond 840-Chip
auf meinem PC (Siemens PCD-5H, P90/64MB Ram) unter Linux (Suse 6.2 Kernel
2.2.10) zum laufen.
Beim Booten des PC´s kommt immer folgende Fehlermeldung:
Setting up network device eth0
winbond-840.c:v0.09 8/20/99 Written by Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/ethercard.html
eth: Winbond W89c840 at 0xc4866c00, 00:00:e8:21:85:59, IRQ 9.
eth: MII PHY not found -- this device may not operate correctly
insmod: Note: /etc/conf.modules is more recent than
/lib/modules/2.2.10/modules.dep
...
Was ist denn das device MII PHY?
Der dazugehörige Treiber wurde gemäß der Anleitung von Donald Becker
kompiliert. Dabei trat keine einzige Fehlermeldung auf. Der Support von
Level-One hat mir einen Treiber zugemailt und antwortet seither nicht mehr.
Muß innerhalb des Treibers vielleicht etwas angepaßt werden?
Zum Thema MII PHY steht im Treiber folgendes:
"0x%4.4x advertising %4.4x.\n",
dev-name, phy, mii_status, np-advertising);
}
}
np-mii_cnt = phy_idx;
if (phy_idx == 0) {
printk(KERN_WARNING "%s: MII PHY not found -- this device may "
"not operate correctly.\n", dev-name);
Vielen Dank für Euere Hilfe!
Gerhard
Wenn sich jemand für den gesammten Treiber interessiert hier die
vollständige Version:
/* winbond-840.c: A Linux PCI network adapter skeleton device driver. */
/*
Written 1998-1999 by Donald Becker.
This software may be used and distributed according to the terms
of the GNU Public License (GPL), incorporated herein by reference.
Drivers based on this code fall under the GPL and must retain
this authorship (implicit copyright) notice.
The author may be reached as [EMAIL PROTECTED], or
USRA Center of Excellence in Space Data and Information Sciences
Code 930.5, Goddard Space Flight Center, Greenbelt MD 20771
Support and updates available at
http://cesdis.gsfc.nasa.gov/linux/drivers/index.html
Do not remove the copyright infomation.
Do not change the version information unless an improvement has been made.
Merely removing my name, as Compex has done in the past, does not count
as an improvement.
*/
static const char *version =
"winbond-840.c:v0.12 9/7/99 Written by Donald Becker\n";
static const char *version1 =
" http://cesdis.gsfc.nasa.gov/linux/drivers/ethercard.html\n";
/*
probe-func: winbond840_probe
config-in: tristate 'Winbond W89c840 Ethernet support' CONFIG_WINBOND_840
c-help-name: Winbond W89c840 PCI Ethernet support
c-help-symbol: CONFIG_WINBOND_840
c-help: This driver is for the Winbond W89c840 chip. It also works with
c-help: the TX9882 chip on the Compex RL100-ATX board.
c-help: More specific information and updates are available from
c-help: http://cesdis.gsfc.nasa.gov/linux/drivers/ethercard.html
*/
/* A few user-configurable values. These may be modified when a driver
module is loaded.*/
static int debug = 1; /* 1 normal messages, 0 quiet .. 7 verbose. */
static int max_interrupt_work = 20;
/* Maximum number of multicast addresses to filter (vs. Rx-all-multicast).
The '840 uses a 64 element hash table based on the Ethernet CRC. */
static int multicast_filter_limit = 32;
/* Set the copy breakpoint for the copy-only-tiny-frames scheme.
Setting to 1518 effectively disables this feature. */
static int rx_copybreak = 0;
/* Used to pass the media type, etc.
Both 'options[]' and 'full_duplex[]' should exist for driver
interoperability.
The media type is usually passed in 'options[]'.
*/
#define MAX_UNITS 8 /* More are supported, limit only on options */
static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
/* Operational parameters that are set at compile time. */
/* Keep the ring sizes a power of two for compile efficiency.
The compiler will convert unsigned'%'2^N into a bit mask.
Making the Tx ring too