Date: Mon, 31 Jan 2000 15:43:45 -0500 (EST) From: "Matthew N. Dodd" <winter@jurai.net> To: Nikolai Saoukh <nms@ethereal.ru> Cc: freebsd-current@FreeBSD.ORG Subject: Re: kldloaded driver not called at load time Message-ID: <Pine.BSF.4.21.0001311543010.479-200000@sasami.jurai.net> In-Reply-To: <20000131202335.66CFC1F1@Brigada-A.Ethereal.RU>
next in thread | previous 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-285129607-949351425=:479 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 31 Jan 2000, Nikolai Saoukh wrote: > THE PROBLEM is that tok_isa_probe is not called at all, > when driver kldloaded. Return value is irrelevant for this case. Try the attached patch. (cd /sys/isa && patch < isa_common.c.patch) -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | --0-285129607-949351425=:479 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="isa_common.c.patch" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.BSF.4.21.0001311543450.479@sasami.jurai.net> Content-Description: Content-Disposition: attachment; filename="isa_common.c.patch" SW5kZXg6IGlzYV9jb21tb24uYw0KPT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0K UkNTIGZpbGU6IC9jdnMvc3JjL3N5cy9pc2EvaXNhX2NvbW1vbi5jLHYNCnJl dHJpZXZpbmcgcmV2aXNpb24gMS4xNQ0KZGlmZiAtdSAtcjEuMTUgaXNhX2Nv bW1vbi5jDQotLS0gaXNhX2NvbW1vbi5jCTIwMDAvMDEvMTggMDI6MTU6MDUJ MS4xNQ0KKysrIGlzYV9jb21tb24uYwkyMDAwLzAxLzMxIDIwOjQyOjAzDQpA QCAtNzgzLDggKzc4Myw3IEBADQogc3RhdGljIHZvaWQNCiBpc2FfZHJpdmVy X2FkZGVkKGRldmljZV90IGRldiwgZHJpdmVyX3QgKmRyaXZlcikNCiB7DQot CWRldmljZV90ICpjaGlsZHJlbjsNCi0JaW50IG5jaGlsZHJlbiwgaTsNCisJ ZGV2aWNlX3QgY2hpbGQ7DQogDQogCS8qDQogCSAqIERvbid0IGRvIGFueXRo aW5nIGlmIGRyaXZlcnMgYXJlIGR5bmFtaWNhbGx5DQpAQCAtNzk2LDExICs3 OTUsMTAgQEANCiAJCXJldHVybjsNCiANCiAJREVWSUNFX0lERU5USUZZKGRy aXZlciwgZGV2KTsNCi0JaWYgKGRldmljZV9nZXRfY2hpbGRyZW4oZGV2LCAm Y2hpbGRyZW4sICZuY2hpbGRyZW4pKQ0KLQkJcmV0dXJuOw0KIA0KLQlmb3Ig KGkgPSAwOyBpIDwgbmNoaWxkcmVuOyBpKyspIHsNCi0JCWRldmljZV90IGNo aWxkID0gY2hpbGRyZW5baV07DQorCWZvciAoY2hpbGQgPSBUQUlMUV9GSVJT VCgmZGV2LT5jaGlsZHJlbik7DQorCSAgICAgY2hpbGQ7DQorCSAgICAgY2hp bGQgPSBUQUlMUV9ORVhUKGNoaWxkLCBsaW5rKSkgew0KIAkJc3RydWN0IGlz YV9kZXZpY2UgKmlkZXYgPSBERVZUT0lTQShjaGlsZCk7DQogCQlzdHJ1Y3Qg cmVzb3VyY2VfbGlzdCAqcmwgPSAmaWRldi0+aWRfcmVzb3VyY2VzOw0KIAkJ c3RydWN0IHJlc291cmNlX2xpc3RfZW50cnkgKnJsZTsNCkBAIC04MzEsOCAr ODI5LDYgQEANCiAJCQl9DQogCQl9DQogCX0NCi0NCi0JZnJlZShjaGlsZHJl biwgTV9URU1QKTsNCiB9DQogDQogc3RhdGljIGludA0K --0-285129607-949351425=:479-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" 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.4.21.0001311543010.479-200000>