Date: Sun, 19 Jul 1998 20:25:44 +0400 (MSD) From: Maxim Bolotin <max@rsu.ru> To: Mike Smith <mike@smith.net.au> Cc: Oleg Sharoiko <os@rsu.ru>, MIHIRA Sanpei Yoshiro <sanpei@yy.cs.keio.ac.jp>, "Randal S. Masutani" <randal@comtest.com>, hackers@FreeBSD.ORG Subject: cs89x0 driver for 2.2.7 RELEASE Message-ID: <Pine.BSF.3.96.980719201938.25782A-300000@altos.rnd.runnet.ru>
next in thread | raw e-mail | index | archive | help
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. --0-1615265065-900865544=:25782 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi! Here's the latest version of cs89x0 driver. There're if_media and PNP support. I hope it'll be included in 2.2.7 RELEASE. Max. - Rostov State University Computer Center Rostov-on-Don, +7 (8632) 285794 or 357476 Russia, RUNNet, MAB1-RIPE max@rsu.ru --0-1615265065-900865544=:25782 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="if_cs.c" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.BSF.3.96.980719202544.25782B@altos.rnd.runnet.ru> Content-Description: /sys/i386/isa/if_cs.c LyoNCiAqIENvcHlyaWdodCAoYykgMTk5NywxOTk4IE1heGltIEJvbG90aW4g YW5kIE9sZWcgU2hhcm9pa28uDQogKiBBbGwgcmlnaHRzIHJlc2VydmVkLg0K ICoNCiAqIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBi aW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dA0KICogbW9kaWZpY2F0aW9u LCBhcmUgcGVybWl0dGVkIHByb3ZpZGVkIHRoYXQgdGhlIGZvbGxvd2luZyBj b25kaXRpb25zDQogKiBhcmUgbWV0Og0KICogMS4gUmVkaXN0cmlidXRpb25z IG9mIHNvdXJjZSBjb2RlIG11c3QgcmV0YWluIHRoZSBhYm92ZSBjb3B5cmln aHQNCi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RUVQUk9NDQoJICovDQoJaWYoKGNzX3JlYWRyZWco aW9iYXNlLCBQUF9TZWxmU1QpICYgRUVQUk9NX1BSRVNFTlQpID09IDApIHsN CgkJcHJpbnRmKENTX05BTUUiJTFkOiBObyBFRVBST00sIGFzc3VtaW5nIGRl ZmF1bHRzLlxuIiwNCgkJCXVuaXQpOw0KCX0gZWxzZSB7DQoJCWlmIChnZXRf ZWVwcm9tX2RhdGEoc2MsU1RBUlRfRUVQUk9NX0RBVEEsQ0hLU1VNX0xFTiwg ZWVwcm9tX2J1ZmYpPDApIHsNCgkJCSBwcmludGYoQ1NfTkFNRSIlMWQ6IEVF UFJPTSByZWFkIGZhaWxlZCwgIg0KCQkJCSJhc3N1bWluZyBkZWZhdWx0cy4u XG4iLCB1bml0KTsNCgkJfSBlbHNlIHsNCgkJCWlmIChnZXRfZWVwcm9tX2Nr c3VtKFNUQVJUX0VFUFJPTV9EQVRBLENIS1NVTV9MRU4sIGVlcHJvbV9idWZm KTwwKSB7DQoJCQkJcHJpbnRmKCBDU19OQU1FIiUxZDogRUVQUk9NIGNoZWtz dW0gYmFkLCAiDQoJCQkJCSJhc3N1bWluZyBkZWZhdWx0cy4uXG4iLCB1bml0 ICk7DQoJCQl9IGVsc2Ugew0KICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICBzYy0+YXV0b19uZWdfY25mID0NCiAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBlZXByb21fYnVmZltBVVRPX05FR19DTkZf T0ZGU0VULzJdOw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBz Yy0+YWRhcHRlcl9jbmYgPQ0KICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIGVlcHJvbV9idWZmW0FEQVBURVJfQ05GX09GRlNFVC8y XTsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc2MtPmlzYV9j b25maWcgPQ0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIGVlcHJvbV9idWZmW0lTQV9DTkZfT0ZGU0VULzJdOw0KDQogICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIGZvciAoaT0wOyBpPEVUSEVSX0FE RFJfTEVOLzI7IGkrKykgew0KICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIHNjLT5hcnBjb20uYWNfZW5hZGRyW2kqMl09DQogICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBl ZXByb21fYnVmZltpXTsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICBzYy0+YXJwY29tLmFjX2VuYWRkcltpKjIrMV09DQogICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBl ZXByb21fYnVmZltpXSA+PiA4Ow0KICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICB9DQoNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg LyoNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICogSWYgbm8g aW50ZXJydXB0IHNwZWNpZmllZCAob3IgIj8iKSwNCiAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICogdXNlIHdoYXQgdGhlIGJvYXJkIHRlbGxz IHVzLg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKi8NCiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCpkZXZfaXJxIDw9 IDApIHsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICBpcnEgPSBzYy0+aXNhX2NvbmZpZyAmIElOVF9OT19NQVNLOw0KICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjaGlwX3R5 cGU9PUNTODkwMCkgew0KCQkJCQkJc3dpdGNoKGlycSkgew0KICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2FzZSAw OiBpcnE9MTA7IGJyZWFrOw0KICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgY2FzZSAxOiBpcnE9MTE7IGJyZWFrOw0K ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgY2FzZSAyOiBpcnE9MTI7IGJyZWFrOw0KICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2FzZSAzOiBpcnE9NTsg IGJyZWFrOw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgZGVmYXVsdDogcHJpbnRmKENTX05BTUUiJTFkOiBpbnZh bGlkIGlycSBpbiBFRVBST00uXG4iLHVuaXQpOw0KCQkJCQkJfQ0KCQkJCQkJ aWYgKGlycSE9MCkNCgkJCQkJCQkqZGV2X2lycT0odV9zaG9ydCkoMTw8aXJx KTsNCgkJCQkJfSBlbHNlIHsNCgkJCQkJCWlmIChpcnEhPTAgJiYgaXJxPD1D Uzg5MjBfTk9fSU5UUykNCgkJCQkJCQkqZGV2X2lycT0odV9zaG9ydCkoMTw8 aXJxKTsNCgkJCQkJfQ0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICB9DQoJCQl9DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICB9DQoNCiAg ICAgICAgaWYgKChpcnE9ZmZzKCpkZXZfaXJxKSkpIHsNCiAgICAgICAgICAg ICAgICBpcnEtLTsNCiAgICAgICAgICAgICAgICBpZiAoY2hpcF90eXBlID09 IENTODkwMCkgew0KCQkJc3dpdGNoKGlycSkgew0KICAgICAgICAgICAgICAg ICAgICAgICAgY2FzZSAgNTogaXJxID0gMzsgYnJlYWs7DQogICAgICAgICAg ICAgICAgICAgICAgICBjYXNlIDEwOiBpcnEgPSAwOyBicmVhazsNCiAgICAg ICAgICAgICAgICAgICAgICAgIGNhc2UgMTE6IGlycSA9IDE7IGJyZWFrOw0K ICAgICAgICAgICAgICAgICAgICAgICAgY2FzZSAxMjogaXJxID0gMjsgYnJl YWs7DQogICAgICAgICAgICAgICAgICAgICAgICBkZWZhdWx0OiBwcmludGYo Q1NfTkFNRSIlMWQ6IGludmFsaWQgaXJxXG4iLCB1bml0KTsNCiAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDA7DQoJCQl9DQogICAg ICAgICAgICAgICAgfSBlbHNlIHsNCiAgICAgICAgICAgICAgICAgICAgICAg IGlmIChpcnEgPiBDUzg5MjBfTk9fSU5UUykgew0KICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBwcmludGYoQ1NfTkFNRSIlMWQ6IGludmFsaWQg aXJxXG4iLCB1bml0KTsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgcmV0dXJuIDA7DQogICAgICAgICAgICAgICAgICAgICAgICB9DQogICAg ICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGNzX3dyaXRlcmVnKGlv YmFzZSwgcHBfaXNhaW50LCBpcnEpOw0KCX0gZWxzZSB7DQoJICAgICAgIAlw cmludGYoQ1NfTkFNRSIlMWQ6IGludmFsaWQgaXJxXG4iLCB1bml0KTsNCiAg ICAgICAgICAgICAgICByZXR1cm4gMDsNCiAgICAgICAgfQ0KICAgICAgICAN CiAgICAgICAgLyoNCiAgICAgICAgICogVGVtcG9yYXJ5IGRpc2FibGVkDQog ICAgICAgICAqDQogICAgICAgIGlmIChkcnE+MCkNCgkJY3Nfd3JpdGVyZWco aW9iYXNlLCBwcF9pc2FkbWEsIGRycSk7DQoJZWxzZSB7DQoJCXByaW50Zigg Q1NfTkFNRSIlMWQ6IGluY29ycmVjdCBkcnFcbiIsIHVuaXQgKTsNCgkJcmV0 dXJuIDA7DQoJfQ0KICAgICAgICAqLw0KDQoJaWYgKGJvb3R2ZXJib3NlKQ0K CQkgcHJpbnRmKENTX05BTUUiJTFkOiBtb2RlbCBDUzg5JWMwJXMgcmV2ICVj XG4iDQoJCQlDU19OQU1FIiUxZD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VOVDoNCiAgICAgICAgICAgICAgICAg ICAgICAgIGlmIChzdGF0dXMgJiBUWF9PSykNCiAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgaWZwLT5pZl9vcGFja2V0cysrOw0KICAgICAgICAg ICAgICAgICAgICAgICAgZWxzZQ0KICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBpZnAtPmlmX29lcnJvcnMrKzsNCiAgICAgICAgICAgICAgICAg ICAgICAgIGlmcC0+aWZfZmxhZ3MgJj0gfklGRl9PQUNUSVZFOw0KICAgICAg ICAgICAgICAgICAgICAgICAgaWZwLT5pZl90aW1lciA9IDA7DQogICAgICAg ICAgICAgICAgICAgICAgICBicmVhazsNCg0KICAgICAgICAgICAgICAgIGNh c2UgSVNRX0JVRkZFUl9FVkVOVDoNCiAgICAgICAgICAgICAgICAgICAgICAg IGlmIChzdGF0dXMgJiBSRUFEWV9GT1JfVFgpIHsNCiAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgaWZwLT5pZl9mbGFncyAmPSB+SUZGX09BQ1RJ VkU7DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmcC0+aWZf dGltZXIgPSAwOw0KICAgICAgICAgICAgICAgICAgICAgICAgfQ0KDQogICAg ICAgICAgICAgICAgICAgICAgICBpZiAoc3RhdHVzICYgVFhfVU5ERVJSVU4p IHsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWZwLT5pZl9m bGFncyAmPSB+SUZGX09BQ1RJVkU7DQogICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIGlmcC0+aWZfdGltZXIgPSAwOw0KICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBpZnAtPmlmX29lcnJvcnMrKzsNCiAgICAgICAg ICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAgICAgICAgIGJy ZWFrOw0KDQogICAgICAgICAgICAgICAgY2FzZSBJU1FfUlhfTUlTU19FVkVO VDoNCiAgICAgICAgICAg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5nIiBhbmQNCgkJICogInN0b3BwZWQiLCBy ZWZsZWN0aW5nIHRoZSBVUCBmbGFnLg0KICAgICAgICAgICAgICAgICAqLw0K ICAgICAgICAgICAgICAgIGlmIChzYy0+YXJwY29tLmFjX2lmLmlmX2ZsYWdz ICYgSUZGX1VQKSB7DQogICAgICAgICAgICAgICAgICAgICAgICBpZiAoKHNj LT5hcnBjb20uYWNfaWYuaWZfZmxhZ3MgJiBJRkZfUlVOTklORyk9PTApIHsN CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY3NfaW5pdChzYyk7 DQogICAgICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAg fSBlbHNlIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIGlmICgoc2MtPmFy cGNvbS5hY19pZi5pZl9mbGFncyAmIElGRl9SVU5OSU5HKSE9MCkgew0KICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjc19zdG9wKHNjKTsNCiAg ICAgICAgICAgICAgICAgICAgICAgIH0NCgkJfQ0KCQkvKg0KCQkgKiBQcm9t aXNjdW91cyBhbmQvb3IgbXVsdGljYXN0IGZsYWdzIG1heSBoYXZlIGNoYW5n ZWQsDQoJCSAqIHNvIHJlcHJvZ3JhbSB0aGUgbXVsdGljYXN0IGZpbHRlciBh bmQvb3IgcmVjZWl2ZSBtb2RlLg0KCQkgKg0KCQkgKiBTZWUgbm90ZSBhYm91 dCBtdWx0aWNhc3RzIGluIGNzX3NldG1vZGUNCgkJICovDQoJCWNzX3NldG1v ZGUoc2MpOw0KCQlicmVhazsNCg0KCWNhc2UgU0lPQ0FERE1VTFRJOg0KCWNh c2UgU0lPQ0RFTE1VTFRJOg0KCQkvKg0KCQkgKiBVcGRhdGUgb3V0IG11bHRp Y2FzdCBsaXN0Lg0KCQkgKi8NCiAgICAgICAgICAgICAgICBlcnJvciA9IChj b21tYW5kID09IFNJT0NBRERNVUxUSSkNCiAgICAgICAgICAgICAgICAgICAg ICAgID8gZXRoZXJfYWRkbXVsdGkoaWZyLCAmc2MtPmFycGNvbSkNCiAgICAg ICAgICAgICAgICAgICAgICAgIDogZXRoZXJfZGVsbXVsdGkoaWZyLCAmc2Mt PmFycGNvbSk7DQoNCiAgICAgICAgICAgICAgICBpZiAoZXJyb3IgPT0gRU5F VFJFU0VUKSB7DQogICAgICAgICAgICAgICAgICAgICAgICAvKg0KICAgICAg ICAgICAgICAgICAgICAgICAgICogTXVsdGljYXN0IGxpc3QgaGFzIGNoYW5n ZWQ7IHNldCB0aGUgaGFyZHdhcmUgZmlsdGVyDQogICAgICAgICAgICAgICAg ICAgICAgICAgKiBhY2NvcmRpbmdseS4NCiAgICAgICAgICAgICAgICAgICAg ICAgICAqDQogICAgICAgICAgICAgICAgICAgICAgICAgKiBTZWUgbm90ZSBh Ym91dCBtdWx0aWNhc3RzIGluIGNzX3NldG1vZGUNCgkJCSAqLw0KICAgICAg ICAgICAgICAgICAgICAgICAgY3Nfc2V0bW9kZShzYyk7DQogICAgICAgICAg ICAgICAgICAgICAgICBlcnJvciA9IDA7DQogICAgICAgICAgICAgICAgfQ0K ICAgICAgICAgICAgICAgIGJyZWFrOw0KDQogICAgICAgIGNhc2UgU0lPQ1NJ Rk1FRElBOg0KICAgICAgICBjYXNlIFNJT0NHSUZNRURJQToNCiAgICAgICAg ICAgICAgICBlcnJvciA9IGlmbWVkaWFfaW9jdGwoaWZwLCBpZnIsICZzYy0+ bWVkaWEsIGNvbW1hbmQpOw0KICAgICAgICAgICAgICAgIGJyZWFrOw0KDQog ICAgICAgIGRlZmF1bHQ6DQoJCWVycm9yID0gRUlOVkFMOw0KICAgICAgICB9 DQoNCgkodm9pZCkgc3BseChzKTsNCglyZXR1cm4gZXJyb3I7DQp9DQoNCi8q DQogKiBEZXZpY2UgdGltZW91dC93YXRjaGRvZyByb3V0aW5lLiBFbnRlcmVk IGlmIHRoZSBkZXZpY2UgbmVnbGVjdHMgdG8NCiAqIGdlbmVyYXRlIGFuIGlu dGVycnVwdC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PmlkX2lycSkNCgkgICAgfHwgKGRycSAhPSBkZXYtPmlk X2RycSkNCgkgICAgfHwgKGlvYmFzZSAhPSBkZXYtPmlkX2lvYmFzZSkNCgkg ICAgfHwgKHVuaXQgIT0gZGV2LT5pZF91bml0KQ0KCSAgICB8fCAoZmxhZ3Mg IT0gZGV2LT5pZF9mbGFncykNCgkJKSB7DQoJCXByaW50ZigiZmFpbGVkIHRv IHBucCBjYXJkIHBhcmFtZXRhcnNcbiIpOw0KCX0NCiAgICB9DQogICAgY3Np bnRyX3BucF9hZGQoc2MsIGRldi0+aWRfdW5pdCk7DQp9DQojZW5kaWYgLyog TlBOUCAqLw0K --0-1615265065-900865544=:25782 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="if_csreg.h" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.BSF.3.96.980719202544.25782C@altos.rnd.runnet.ru> Content-Description: /sys/i386/isa/if_csreg.h LyoNCiAqIENvcHlyaWdodCAoYykgMTk5NywxOTk4IE1heGltIEJvbG90aW4g YW5kIE9sZWcgU2hhcm9pa28uDQogKiBBbGwgcmlnaHRzIHJlc2VydmVkLg0K ICoNCiAqIFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBi aW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dA0KICogbW9kaWZpY2F0aW9u LCBhcmUgcGVybWl0dGVkIHByb3ZpZGVkIHRoYXQgdGhlIGZvbGxvd2luZyBj b25kaXRpb25zDQogKiBhcmUgbWV0Og0KICogMS4gUmVkaXN0cmlidXRpb25z IG9mIHNvdXJjZSBjb2RlIG11c3QgcmV0YWluIHRoZSBhYm92ZSBjb3B5cmln aHQNCiAqICAgIG5vdGljZSB1bm1vZGlmaWVkLCB0aGlzIGxpc3Qgb2YgY29u ZGl0aW9ucywgYW5kIHRoZSBmb2xsb3dpbmcNCiAqICAgIGRpc2NsYWltZXIu DQogKiAyLiBSZWRpc3RyaWJ1dGlvbnMgaW4gYmluYX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ZmluZSBjc19kdXBsZXhfZnVsbChzYykgXA0KICAg ICAgICAoY3Nfd3JpdGVyZWcoc2MtPm5pY19hZGRyLCBQUF9BdXRvTmVnQ1RM LCBGT1JDRV9GRFgpKQ0KDQojZGVmaW5lIGNzX2R1cGxleF9oYWxmKHNjKSBc DQogICAgICAgIChjc193cml0ZXJlZyhzYy0+bmljX2FkZHIsIFBQX0F1dG9O ZWdDVEwsIE5MUF9FTkFCTEUpKQ0KDQo= --0-1615265065-900865544=:25782-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980719201938.25782A-300000>