Fix hang at init for MagicMedia 256A[VX] chips. [1]

In case this causes trouble for some other chipsets add a comment how to
proceed. If we don't get bugreports, this should be removed after a while
(some releases?).

PR:		56617 [1], 29465, 39260, 40574,	68225
Submitted by:	Matthew E. Gove <mgove@comcast.net> [1]
This commit is contained in:
Alexander Leidinger 2005-09-11 17:30:27 +00:00
parent 4af29928b4
commit df54be7080
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149997

View File

@ -223,7 +223,16 @@ nm_initcd(kobj_t obj, void *devinfo)
struct sc_info *sc = (struct sc_info *)devinfo;
nm_wr(sc, 0x6c0, 0x01, 1);
#if 0
/*
* The following code-line may cause a hang for some chipsets, see
* PR 56617.
* In case of a bugreport without this line have a look at the PR and
* conditionize the code-line based upon the specific version of
* the chip.
*/
nm_wr(sc, 0x6cc, 0x87, 1);
#endif
nm_wr(sc, 0x6cc, 0x80, 1);
nm_wr(sc, 0x6cc, 0x00, 1);
return 1;