Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2004 16:50:24 -0800 (PST)
From:      "Elias Norberg" <fk03eno@math.su.se>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/60226: ichsmb driver doesn't detects SMB bus on Asus  P4B533/P4PE motherboards
Message-ID:  <200402090050.i190oO3C066678@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/60226; it has been noted by GNATS.

From: "Elias Norberg" <fk03eno@math.su.se>
To: freebsd-gnats-submit@FreeBSD.org
Cc: alexz@visp.ru
Subject: Re: kern/60226: ichsmb driver doesn't detects SMB bus on Asus 
     P4B533/P4PE motherboards
Date: Mon, 9 Feb 2004 01:39:54 +0100 (CET)

 ------=_20040209013954_63796
 Content-Type: text/plain; charset="iso-8859-1"
 Content-Transfer-Encoding: 8bit
 
 Attached is a patch against -CURRENT that solves this issue
 by enabling the i801 SMBus when the bus is scanned.
 
 
 ------=_20040209013954_63796
 Content-Type: application/octet-stream; name="asus_smbus.patch"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="asus_smbus.patch"
 
 ZGlmZiAtdSAtTiAtciBkZXYvcGNpX29sZC9maXh1cF9wY2kuYyBkZXYvcGNpL2ZpeHVwX3BjaS5j
 Ci0tLSBkZXYvcGNpX29sZC9maXh1cF9wY2kuYwlTdW4gQXVnIDI0IDE5OjU0OjE1IDIwMDMKKysr
 IGRldi9wY2kvZml4dXBfcGNpLmMJTW9uIEZlYiAgOSAwMjoyMjoxMCAyMDA0CkBAIC05OSwzICs5
 OSwyMiBAQAogICAgIH0KICNlbmRpZgogfQorCit2b2lkCitwY2lfZml4X2FzdXNfc21idXMoZGV2
 aWNlX3QgZGV2KQoreworCWludAlwbWNjZmc7CisKKwkvKiByZWFkIHN1YnN5c3RlbSB2ZW5kb3It
 aWQgKi8KKwlwbWNjZmcgPSBwY2lfcmVhZF9jb25maWcoZGV2LCAweEYyLCAyKTsgCisJcHJpbnRm
 KCIgWy1dI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IDB4
 MDIwMDExNjYsIFBDSV9RVUlSS19NQVBfUkVHLAkweDkwLAkgMCwgTlVMTCB9LAogCisJLyogVGhl
 IEFTVVMgUDRCLW1vdGhlcmJvYXJkcyBuZWVkcyBhIGhhY2sgdG8gZW5hYmxlIHRoZSBJbnRlbCA4
 MDFTTUJ1cyAqLworCXsgMHgyNDQwODA4NiwgUENJX1FVSVJLX0ZJWFVQX1JPVVRJTkUsICAwLCAg
 ICAgIDAsICZwY2lfZml4X2FzdXNfc21idXMgfSwKKwl7IDB4MjRDMDgwODYsIFBDSV9RVUlSS19G
 SVhVUF9ST1VUSU5FLAkwLAkwLCAmcGNpX2ZpeF9hc3VzX3NtYnVzIH0sCiAJeyAwIH0KIH07CiAK
 QEAgLTgxMCw5ICs4MTYsMTIgQEAKIAl9CiAKIAlmb3IgKHEgPSAmcGNpX3F1aXJrc1swXTsgcS0+
 ZGV2aWQ7IHErKykgewotCQlpZiAocS0+ZGV2aWQgPT0gKChjZmctPmRldmljZSA8PCAxNikgfCBj
 ZmctPnZlbmRvcikKLQkJICAgICYmIHEtPnR5cGUgPT0gUENJX1FVSVJLX01BUF9SRUcpCisJCWlm
 IChxLT5kZXZpZCA9PSAoKGNmZy0+ZGV2aWNlIDw8IDE2KSB8IGNmZy0+dmVuZG9yKSApeworCQkg
 ICAgaWYoIHEtPnR5cGUgPT0gUENJX1FVSVJLX01BUF9SRUcgKQogCQkJcGNpX2FkZF9tYXAocGNp
 YiwgYiwgcywgZiwgcS0+YXJnMSwgcmwpOworCQkgICAgZWxzZSBpZiggcS0+dHlwZSA9PSBQQ0lf
 UVVJUktfRklYVVBfUk9VVElORSApCisJCQlxLT5maXh1cF9mdW5jKGRldik7CisJCX0KIAl9CiAK
 IAlpZiAoY2ZnLT5pbnRwaW4gPiAwICYmIFBDSV9JTlRFUlJVUFRfVkFMSUQoY2ZnLT5pbnRsaW5l
 KSkgewo=
 ------=_20040209013954_63796--
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402090050.i190oO3C066678>