Date: Mon, 28 Jan 2008 04:11:29 +0100 From: Artur =?utf-8?q?Ba=C4=87?= <artur@ebasoft.com.pl> To: freebsd-acpi@freebsd.org Subject: Re: Need info about ACPI - implementing, done .... Message-ID: <200801280411.29358.artur@ebasoft.com.pl> In-Reply-To: <1201387323.7237.2.camel@localhost> References: <200801261837.26708.artur@ebasoft.com.pl> <1201387323.7237.2.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
U2F0dXJkYXkgMjYgb2YgSmFudWFyeSAyMDA4IDIzOjQyOjAzIE1pa2FlbCBJa2l2ZXNpIG5hcGlz YcWCKGEpOgo+IEkgcmVhbGx5IGhvcGUgeW91IGNhbiBtYWtlIGl0LgrCoApJZGlkIGl0ISBhZnRl ciAzIGRheXMgb2YgZGlnaW5nIGFjcGkgc3BlY2lmaWNhdGlvbnMgLCB0aWxsIGkgZm91bmQKCmh0 dHA6Ly93d3cubWljcm9zb2Z0LmNvbS93aGRjL3N5c3RlbS9wbnBwd3Ivd21pL3dtaS1hY3BpLm1z cHgKCkknbSBzbyBoYXBweSBiZWNvdXNlIHRoaXMgaXMgbXkgZmlyc3QgYXQgYWxsIGtlcm5lbCBt b2R1bGUvZHJpdmVyIAppbiBteSBsaWZlIGkgaGF2ZSBldmVyIHdyaXR0ZW4uCgp2ZXJ5IGhvdCB1 bmNsZWFuZWQgY29kZSBhdGFjaGVkIGJlbGxvdy4KClNob3J0IGFic3RyYWN0LCB0b21vcnJvdyBJ IHdpbGwgd3JpdGUgbW9yZSwKVGhlcmUgaXMgbm8gQUNQSSAsIHRoZXJlIGlzIE1pY3Jvc29mdCBp bnZlbnRpb24gY29tYm8gwqBvZiBBQ1BJK1dNSStNT0YKc28gd2UgY2FsbCBhY3BpIMKgbWV0aG9k IHdoaWNoIGNhbGxzIHdtaSBtZXRob2Qgd2l0aCBjb2RlIGxvY2F0ZWQgaW4gYmlvcyBvciAKZW1i YmVkZWQgYXMgTU9GIGRhdGEgaW50byBhY3BpIC4uLgoKwqAg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