From owner-cvs-all Fri Mar 12 10:17: 4 1999 Delivered-To: cvs-all@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id 19BA1153AA; Fri, 12 Mar 1999 10:17:02 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id KAA78099; Fri, 12 Mar 1999 10:16:44 -0800 (PST) (envelope-from dillon) Date: Fri, 12 Mar 1999 10:16:44 -0800 (PST) From: Matthew Dillon Message-Id: <199903121816.KAA78099@apollo.backplane.com> To: Andreas Klemm Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/pci if_tx.c References: <199903091742.JAA19786@freefall.freebsd.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Andreas, I think using DELAY() here would fix the problem across the board. -Matt Matthew Dillon : :andreas 1999/03/09 09:42:00 PST : : Modified files: (Branch: RELENG_2_2) : sys/pci if_tx.c : Log: : Fix from author of the driver: : : The i++ loop from 1..1000 is too small on very fast machines like : PII 450 MHz. Increasing the loop from 1..100000 lets the machine : access PHY. After this patch it's possible to use a SMC PCI card : on a HP Kayak XA series PC Workstation. Workaround until this fix : was to enable debugging in the driver (#define EPIC_DEBUG 1). : : Without that patch you get an undefined state: : while true : do : ifconfig -a | grep status: : done : The status messages flaps between two values, but not : "connected". : : Revision Changes Path : 1.1.2.7 +3 -3 src/sys/pci/if_tx.c : : To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message